Searched defs:a1 (Results 1 - 3 of 3) sorted by relevance

/systemd/src/network/
H A Dtest-network.c143 _cleanup_address_free_ Address *a1 = NULL, *a2 = NULL; local
145 assert_se(address_new(&a1) >= 0);
149 assert_se(!address_equal(a1, NULL));
151 assert_se(address_equal(a1, a2));
153 a1->family = AF_INET;
154 assert_se(!address_equal(a1, a2));
157 assert_se(address_equal(a1, a2));
159 assert_se(inet_pton(AF_INET, "192.168.3.9", &a1->in_addr.in));
160 assert_se(!address_equal(a1, a2));
162 assert_se(address_equal(a1, a
[all...]
H A Dnetworkd-address.c142 const Address *a1 = c1, *a2 = c2; local
144 if (a1->family < a2->family)
146 if (a1->family > a2->family)
149 switch (a1->family) {
152 if (a1->prefixlen < a2->prefixlen)
154 if (a1->prefixlen > a2->prefixlen)
158 if (a1->prefixlen != 0) {
163 if (a1->in_addr_peer.in.s_addr != 0)
164 b1 = be32toh(a1->in_addr_peer.in.s_addr) >> (32 - a1
193 address_equal(Address *a1, Address *a2) argument
[all...]
/systemd/src/udev/
H A Dudev-builtin-net_id.c448 unsigned int a1, a2, a3, a4, a5, a6; local
461 if (sscanf(s, "%x:%x:%x:%x:%x:%x", &a1, &a2, &a3, &a4, &a5, &a6) != 6)
465 if (a1 + a2 + a3 + a4 + a5 + a6 == 0)
468 names->mac[0] = a1;

Completed in 98 milliseconds