Lines Matching refs:ifa_family
995 dst.family = ifa->ifa_family; in print_addrinfo()
1002 if (filter.family && filter.family != ifa->ifa_family) in print_addrinfo()
1028 if (ifa->ifa_family == AF_INET) in print_addrinfo()
1030 else if (ifa->ifa_family == AF_INET6) in print_addrinfo()
1032 else if (ifa->ifa_family == AF_DECnet) in print_addrinfo()
1034 else if (ifa->ifa_family == AF_IPX) in print_addrinfo()
1037 fprintf(fp, " family %d ", ifa->ifa_family); in print_addrinfo()
1041 if (ifa->ifa_family == AF_INET) in print_addrinfo()
1042 color_fprintf(fp, COLOR_INET, "%s", format_host(ifa->ifa_family, in print_addrinfo()
1046 else if (ifa->ifa_family == AF_INET6) in print_addrinfo()
1047 color_fprintf(fp, COLOR_INET6, "%s", format_host(ifa->ifa_family, in print_addrinfo()
1052 fprintf(fp, "%s", format_host(ifa->ifa_family, in print_addrinfo()
1059 ifa->ifa_family == AF_INET ? 4 : 16) == 0) { in print_addrinfo()
1063 format_host(ifa->ifa_family, in print_addrinfo()
1076 format_host(ifa->ifa_family, in print_addrinfo()
1083 format_host(ifa->ifa_family, in print_addrinfo()
1091 if (ifa->ifa_family == AF_INET6) in print_addrinfo()
1187 (filter.family && filter.family != ifa->ifa_family)) in print_selected_addrinfo()
1353 if (filter.family && filter.family != ifa->ifa_family) in ipaddr_filter()
1370 dst.family = ifa->ifa_family; in ipaddr_filter()
1788 req.ifa.ifa_family = preferred_family; in ipaddr_modify()
1797 get_prefix(&peer, *argv, req.ifa.ifa_family); in ipaddr_modify()
1799 if (req.ifa.ifa_family == AF_UNSPEC) in ipaddr_modify()
1800 req.ifa.ifa_family = peer.family; in ipaddr_modify()
1814 get_addr(&addr, *argv, req.ifa.ifa_family); in ipaddr_modify()
1815 if (req.ifa.ifa_family == AF_UNSPEC) in ipaddr_modify()
1816 req.ifa.ifa_family = addr.family; in ipaddr_modify()
1825 get_addr(&addr, *argv, req.ifa.ifa_family); in ipaddr_modify()
1826 if (req.ifa.ifa_family == AF_UNSPEC) in ipaddr_modify()
1827 req.ifa.ifa_family = addr.family; in ipaddr_modify()
1877 get_prefix(&lcl, *argv, req.ifa.ifa_family); in ipaddr_modify()
1878 if (req.ifa.ifa_family == AF_UNSPEC) in ipaddr_modify()
1879 req.ifa.ifa_family = lcl.family; in ipaddr_modify()
1917 if (req.ifa.ifa_family != AF_INET) { in ipaddr_modify()