Searched refs:FAMILY_ADDRESS_SIZE (Results 1 - 14 of 14) sorted by relevance

/systemd/src/basic/
H A Din-addr-util.h54 static inline size_t FAMILY_ADDRESS_SIZE(int family) { function
/systemd/src/nss-myhostname/
H A Dnss-myhostname.c209 alen = FAMILY_ADDRESS_SIZE(af);
429 if (len != FAMILY_ADDRESS_SIZE(af)) {
461 if (memcmp(addr, &a->address, FAMILY_ADDRESS_SIZE(af)) == 0)
474 if (memcmp(addr, &a->address, FAMILY_ADDRESS_SIZE(af)) == 0) {
/systemd/src/nss-resolve/
H A Dnss-resolve.c241 if (sz != FAMILY_ADDRESS_SIZE(family)) {
386 alen = FAMILY_ADDRESS_SIZE(af);
540 if (len != FAMILY_ADDRESS_SIZE(af)) {
/systemd/src/libsystemd/sd-netlink/
H A Dlocal-addresses.c53 return memcmp(&a->address, &b->address, FAMILY_ADDRESS_SIZE(a->family));
/systemd/src/nss-mymachines/
H A Dnss-mymachines.c187 if (sz != FAMILY_ADDRESS_SIZE(family)) {
302 alen = FAMILY_ADDRESS_SIZE(af);
/systemd/src/resolve/
H A Dresolved-dns-server.c572 siphash24_compress(&s->address, FAMILY_ADDRESS_SIZE(s->family), state);
583 return memcmp(&x->address, &y->address, FAMILY_ADDRESS_SIZE(x->family));
H A Dresolve-tool.c151 if (sz != FAMILY_ADDRESS_SIZE(family)) {
237 r = sd_bus_message_append_array(req, 'y', address, FAMILY_ADDRESS_SIZE(family));
674 if (sz != FAMILY_ADDRESS_SIZE(family)) {
H A Dresolved-link-bus.c197 if (sz != FAMILY_ADDRESS_SIZE(family))
H A Dresolved-dns-zone.c513 we_lost = memcmp(&i->probe_transaction->received->sender, &i->probe_transaction->received->destination, FAMILY_ADDRESS_SIZE(i->probe_transaction->received->family)) < 0;
H A Dresolved-bus.c400 if (sz != FAMILY_ADDRESS_SIZE(family))
1143 r = sd_bus_message_append_array(reply, 'y', &s->address, FAMILY_ADDRESS_SIZE(s->family));
H A Dresolved-dns-transaction.c261 if (memcmp(&p->sender, &p->destination, FAMILY_ADDRESS_SIZE(p->family)) >= 0) {
/systemd/src/network/
H A Dnetworkd-address.c132 siphash24_compress(&a->in_addr, FAMILY_ADDRESS_SIZE(a->family), state);
181 return memcmp(&a1->in_addr, &a2->in_addr, FAMILY_ADDRESS_SIZE(a1->family));
H A Dnetworkd-route.c120 siphash24_compress(&route->dst, FAMILY_ADDRESS_SIZE(route->family), state);
164 return memcmp(&a->dst, &b->dst, FAMILY_ADDRESS_SIZE(a->family));
/systemd/src/machine/
H A Dmachine-dbus.c229 r = sd_bus_message_append_array(reply, 'y', &addresses[i].address, FAMILY_ADDRESS_SIZE(addresses[i].family));
290 { .iov_base = &a->address, .iov_len = FAMILY_ADDRESS_SIZE(a->family) },

Completed in 3968 milliseconds