Lines Matching defs:af
189 int af,
209 alen = FAMILY_ADDRESS_SIZE(af);
212 if (af == a->family)
258 if (af != a->family)
268 if (af == AF_INET)
298 result->h_addrtype = af;
318 int af,
339 if (af == AF_UNSPEC)
340 af = AF_INET;
342 if (af != AF_INET && af != AF_INET6) {
354 n_addresses = local_gateways(NULL, 0, af, &addresses);
377 n_addresses = local_addresses(NULL, 0, af, &addresses);
382 additional = n_addresses <= 0 && af == AF_INET6 ? "localhost" : NULL;
388 af,
400 int af,
423 if (!IN_SET(af, AF_INET, AF_INET6)) {
429 if (len != FAMILY_ADDRESS_SIZE(af)) {
435 if (af == AF_INET) {
446 assert(af == AF_INET6);
458 if (af != a->family)
461 if (memcmp(addr, &a->address, FAMILY_ADDRESS_SIZE(af)) == 0)
471 if (af != a->family)
474 if (memcmp(addr, &a->address, FAMILY_ADDRESS_SIZE(af)) == 0) {
504 af,