Lines Matching refs:addressfamily
47 int8_t addressfamily, is_addr;
825 if (TT.is_addr && TT.singleline && TT.addressfamily) in print_link_output()
832 if (!TT.addressfamily || TT.addressfamily == AF_PACKET) in print_link_output()
1129 req.ifadd.ifa_family = TT.addressfamily; in ipaddrupdate()
1288 if (TT.addressfamily == AF_PACKET) in ipaddr_listflush()
1302 parse_prefix(addr, &netmask, &len, *argv, TT.addressfamily); in ipaddr_listflush()
1304 TT.addressfamily = ((len == 4) ? AF_INET : AF_INET6); in ipaddr_listflush()
1371 if (!TT.addressfamily && ! TT.flush ) print_link_output(tmp); in ipaddr_listflush()
1389 if (TT.addressfamily == AF_PACKET) print_link_output(link); in ipaddr_print()
1408 if (TT.addressfamily && TT.addressfamily != addressInfo->ifa_family) in ipaddr_print()
1421 if (!inet_ntop(TT.addressfamily, RTA_DATA(rta_tb[IFA_LOCAL]), in ipaddr_print()
1432 if (addrinfo.scope != -1 && TT.addressfamily && TT.addressfamily == in ipaddr_print()
1441 if (TT.addressfamily && in ipaddr_print()
1877 int family = TT.addressfamily, idx; in route_show_flush()
2200 request.msg.rtm_family = TT.addressfamily; in ruleupdate()
2401 ((TT.addressfamily != AF_UNSPEC) ? TT.addressfamily : AF_INET), NULL, 0); in rulelist()
2855 if (num == 4) TT.addressfamily = AF_INET; in ip_main()
2856 else if (num == 6) TT.addressfamily = AF_INET6; in ip_main()
2857 else TT.addressfamily = AF_PACKET; in ip_main()
2863 if ((TT.addressfamily = string_to_idx(*optargv, ip_aflist)) == -1) in ip_main()