Lines Matching refs:family
400 dst->family = AF_INET;
423 * If the interface has an unsupported address family, or if
432 int family;
459 family = ifreq.ifr_addr.sa_family;
461 if (family != AF_INET && family != AF_INET6)
463 if (family != AF_INET)
468 iter->current.af = family;
474 get_addr(family, &iter->current.address,
480 switch (family) {
522 if (family == AF_INET)
555 iter->current.netmask.family = family;
569 if (family != AF_INET)
593 get_addr(family, &iter->current.dstaddress,
618 get_addr(family, &iter->current.netmask,
628 int family;
642 family = lifreq.lifr_addr.ss_family;
644 if (family != AF_INET && family != AF_INET6)
646 if (family != AF_INET)
651 iter->current.af = family;
657 get_addr(family, &iter->current.address,
663 switch (family) {
681 if (family == AF_INET6)
732 get_addr(family, &iter->current.dstaddress,
750 if (family == AF_INET6) {
753 iter->current.netmask.family = family;
780 get_addr(family, &iter->current.netmask,