/external/iproute2/ip/ |
D | ipmonitor.c | 105 if (preferred_family) { in accept_msg() 108 if (r->ndm_family != preferred_family) in accept_msg() 244 if (!preferred_family || preferred_family == AF_INET) in do_ipmonitor() 246 if (!preferred_family || preferred_family == AF_INET6) in do_ipmonitor() 250 if (!preferred_family || preferred_family == AF_INET) in do_ipmonitor() 252 if (!preferred_family || preferred_family == AF_INET6) in do_ipmonitor() 254 if (!preferred_family || preferred_family == AF_MPLS) in do_ipmonitor() 258 if (!preferred_family || preferred_family == AF_INET) in do_ipmonitor() 260 if (!preferred_family || preferred_family == AF_INET6) in do_ipmonitor() 264 if (!preferred_family || preferred_family == AF_INET6) in do_ipmonitor() [all …]
|
D | ip.c | 28 int preferred_family = AF_UNSPEC; variable 123 int orig_family = preferred_family; in batch() 146 preferred_family = orig_family; in batch() 207 preferred_family = read_family(argv[1]); in main() 208 if (preferred_family == AF_UNSPEC) in main() 211 preferred_family = AF_INET; in main() 213 preferred_family = AF_INET6; in main() 215 preferred_family = AF_PACKET; in main() 217 preferred_family = AF_IPX; in main() 219 preferred_family = AF_DECnet; in main() [all …]
|
D | tunnel.c | 77 fd = socket(preferred_family, SOCK_DGRAM, 0); in tnl_get_ioctl() 104 fd = socket(preferred_family, SOCK_DGRAM, 0); in tnl_add_ioctl() 131 fd = socket(preferred_family, SOCK_DGRAM, 0); in tnl_del_ioctl() 155 fd = socket(preferred_family, SOCK_DGRAM, 0); in tnl_gen_ioctl()
|
D | ipaddrlabel.c | 101 int af = preferred_family; in ipaddrlabel_list() 144 req.ifal.ifal_family = preferred_family; in ipaddrlabel_modify() 156 get_prefix(&prefix, *argv, preferred_family); in ipaddrlabel_modify() 223 int af = preferred_family; in ipaddrlabel_flush()
|
D | tcp_metrics.c | 318 f.daddr.family = preferred_family; in tcpm_do_cmd() 320 f.saddr.family = preferred_family; in tcpm_do_cmd() 322 switch (preferred_family) { in tcpm_do_cmd() 328 fprintf(stderr, "Unsupported protocol family: %d\n", preferred_family); in tcpm_do_cmd() 342 get_prefix(&f.saddr, *argv, preferred_family); in tcpm_do_cmd() 367 get_prefix(&f.daddr, *argv, preferred_family); in tcpm_do_cmd() 392 f.saddr.bitlen <= 0 && preferred_family == AF_UNSPEC) { in tcpm_do_cmd()
|
D | iprule.c | 259 int af = preferred_family; in iprule_list_or_save() 348 req.r.rtm_family = preferred_family; in iprule_modify() 527 int af = preferred_family; in iprule_flush() 577 switch (preferred_family) { in do_multirule() 580 preferred_family = RTNL_FAMILY_IPMR; in do_multirule() 583 preferred_family = RTNL_FAMILY_IP6MR; in do_multirule() 590 preferred_family); in do_multirule()
|
D | ipnetconf.c | 148 filter.family = preferred_family; in do_show() 191 if (preferred_family == AF_UNSPEC) { in do_show() 192 preferred_family = AF_INET6; in do_show()
|
D | xfrm_state.c | 303 req.xsinfo.family = preferred_family; in xfrm_state_modify() 350 preferred_family = AF_UNSPEC; in xfrm_state_modify() 352 preferred_family = req.xsinfo.sel.family; in xfrm_state_modify() 384 get_prefix(&coa, *argv, preferred_family); in xfrm_state_modify() 524 if (preferred_family == AF_UNSPEC) in xfrm_state_modify() 525 preferred_family = req.xsinfo.family; in xfrm_state_modify() 720 req.xspi.info.family = preferred_family; in xfrm_state_allocspi() 772 if (preferred_family == AF_UNSPEC) in xfrm_state_allocspi() 773 preferred_family = req.xspi.info.family; in xfrm_state_allocspi() 972 req.xsid.family = preferred_family; in xfrm_state_get_or_delete() [all …]
|
D | xfrm_policy.c | 207 preferred_family = AF_UNSPEC; in xfrm_tmpl_parse() 210 preferred_family = tmpl->family; in xfrm_tmpl_parse() 273 req.xpinfo.sel.family = preferred_family; in xfrm_policy_modify() 338 tmpl->family = preferred_family; in xfrm_policy_modify() 353 if (preferred_family == AF_UNSPEC) in xfrm_policy_modify() 354 preferred_family = req.xpinfo.sel.family; in xfrm_policy_modify() 629 if (preferred_family == AF_UNSPEC) in xfrm_policy_get_or_delete() 630 preferred_family = req.xpid.sel.family; in xfrm_policy_get_or_delete() 776 filter.xpinfo.sel.family = preferred_family; in xfrm_policy_list_or_deleteall() 829 if (preferred_family == AF_UNSPEC) in xfrm_policy_list_or_deleteall() [all …]
|
D | ip6tunnel.c | 167 get_prefix(&raddr, *argv, preferred_family); in parse_args() 174 get_prefix(&laddr, *argv, preferred_family); in parse_args() 449 switch (preferred_family) { in do_ip6tunnel() 451 preferred_family = AF_INET6; in do_ip6tunnel() 456 fprintf(stderr, "Unsupported protocol family: %d\n", preferred_family); in do_ip6tunnel()
|
D | ipntable.c | 83 req.ndtm.ndtm_family = preferred_family; in ipntable_modify() 372 if (preferred_family && preferred_family != ndtm->ndtm_family) in print_ntable() 613 filter.family = preferred_family; in ipntable_show() 633 if (rtnl_wilddump_request(&rth, preferred_family, RTM_GETNEIGHTBL) < 0) { in ipntable_show()
|
D | link_ip6tnl.c | 89 req.i.ifi_family = preferred_family; in ip6tunnel_parse_opt() 163 get_prefix(&addr, *argv, preferred_family); in ip6tunnel_parse_opt() 170 get_prefix(&addr, *argv, preferred_family); in ip6tunnel_parse_opt()
|
D | ipneigh.c | 115 req.ndm.ndm_family = preferred_family; in ipneigh_modify() 137 get_addr(&dst, *argv, preferred_family); in ipneigh_modify() 154 get_addr(&dst, *argv, preferred_family); in ipneigh_modify() 359 filter.family = preferred_family; in do_show_or_flush()
|
D | link_gre6.c | 91 req.i.ifi_family = preferred_family; in gre_parse_opt() 219 get_prefix(&addr, *argv, preferred_family); in gre_parse_opt() 226 get_prefix(&addr, *argv, preferred_family); in gre_parse_opt()
|
D | iptunnel.c | 595 preferred_family = AF_INET6; in do_iptunnel() 599 switch (preferred_family) { in do_iptunnel() 601 preferred_family = AF_INET; in do_iptunnel() 613 fprintf(stderr, "Unsupported protocol family: %d\n", preferred_family); in do_iptunnel()
|
D | ipprefix.c | 44 int family = preferred_family; in print_prefix()
|
D | ipxfrm.c | 451 f = preferred_family; in xfrm_selector_print() 970 xfrm_selector_print(&xpinfo->sel, preferred_family, fp, title); in xfrm_policy_info_print() 1079 get_prefix(&src, *argv, preferred_family); in xfrm_id_parse() 1092 get_prefix(&dst, *argv, preferred_family); in xfrm_id_parse() 1395 get_prefix(&src, *argv, preferred_family); in xfrm_selector_parse() 1408 get_prefix(&dst, *argv, preferred_family); in xfrm_selector_parse()
|
D | xfrm_monitor.c | 67 family = preferred_family; in xfrm_acquire_print() 192 family = preferred_family; in xfrm_report_print()
|
D | link_vti6.c | 67 req.i.ifi_family = preferred_family; in vti6_parse_opt()
|
D | link_vti.c | 71 req.i.ifi_family = preferred_family; in vti_parse_opt()
|
D | ipmroute.c | 202 if (preferred_family == AF_UNSPEC) in mroute_list()
|
D | ipmaddr.c | 253 filter.family = preferred_family; in multiaddr_list()
|
/external/iproute2/bridge/ |
D | bridge.c | 20 int preferred_family = AF_UNSPEC; variable 157 preferred_family = AF_INET; in main() 159 preferred_family = AF_INET6; in main() 165 preferred_family = AF_INET; in main() 167 preferred_family = AF_INET6; in main()
|
D | br_common.h | 15 extern int preferred_family;
|
/external/iproute2/include/ |
D | utils.h | 14 extern int preferred_family;
|