Lines Matching refs:addressfamily
43 int8_t addressfamily, is_addr;
774 if (TT.is_addr && TT.singleline && TT.addressfamily) in print_link_output()
781 if (!TT.addressfamily || TT.addressfamily == AF_PACKET) in print_link_output()
1078 req.ifadd.ifa_family = TT.addressfamily; in ipaddrupdate()
1237 if (TT.addressfamily == AF_PACKET) in ipaddr_listflush()
1251 parse_prefix(addr, &netmask, &len, *argv, TT.addressfamily); in ipaddr_listflush()
1253 TT.addressfamily = ((len == 4) ? AF_INET : AF_INET6); in ipaddr_listflush()
1320 if (!TT.addressfamily && ! TT.flush ) print_link_output(tmp); in ipaddr_listflush()
1338 if (TT.addressfamily == AF_PACKET) print_link_output(link); in ipaddr_print()
1357 if (TT.addressfamily && TT.addressfamily != addressInfo->ifa_family) in ipaddr_print()
1370 if (!inet_ntop(TT.addressfamily, RTA_DATA(rta_tb[IFA_LOCAL]), in ipaddr_print()
1381 if (addrinfo.scope != -1 && TT.addressfamily && TT.addressfamily == in ipaddr_print()
1390 if (TT.addressfamily && in ipaddr_print()
1765 int family = TT.addressfamily, idx; in route_show_flush()
2092 request.msg.rtm_family = TT.addressfamily; in ruleupdate()
2293 ((TT.addressfamily != AF_UNSPEC) ? TT.addressfamily : AF_INET), NULL, 0); in rulelist()
2749 if (num == 4) TT.addressfamily = AF_INET; in ip_main()
2750 else if (num == 6) TT.addressfamily = AF_INET6; in ip_main()
2751 else TT.addressfamily = AF_PACKET; in ip_main()
2757 if ((TT.addressfamily = string_to_idx(*optargv, ip_aflist)) == -1) in ip_main()