/external/iproute2/ip/ |
D | ipmonitor.c | 104 if (preferred_family) { in accept_msg() 107 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 127 int orig_family = preferred_family; in batch() 150 preferred_family = orig_family; in batch() 208 preferred_family = read_family(argv[1]); in main() 209 if (preferred_family == AF_UNSPEC) in main() 212 preferred_family = AF_INET; in main() 214 preferred_family = AF_INET6; in main() 216 preferred_family = AF_PACKET; in main() 218 preferred_family = AF_IPX; in main() 220 preferred_family = AF_DECnet; in main() [all …]
|
D | tunnel.c | 80 fd = socket(preferred_family, SOCK_DGRAM, 0); in tnl_get_ioctl() 107 fd = socket(preferred_family, SOCK_DGRAM, 0); in tnl_add_ioctl() 134 fd = socket(preferred_family, SOCK_DGRAM, 0); in tnl_del_ioctl() 158 fd = socket(preferred_family, SOCK_DGRAM, 0); in tnl_gen_ioctl()
|
D | ipaddrlabel.c | 100 int af = preferred_family; in ipaddrlabel_list() 134 .ifal.ifal_family = preferred_family, in ipaddrlabel_modify() 150 get_prefix(&prefix, *argv, preferred_family); in ipaddrlabel_modify() 217 int af = preferred_family; in ipaddrlabel_flush()
|
D | tcp_metrics.c | 314 f.daddr.family = preferred_family; in tcpm_do_cmd() 316 f.saddr.family = preferred_family; in tcpm_do_cmd() 318 switch (preferred_family) { in tcpm_do_cmd() 324 fprintf(stderr, "Unsupported protocol family: %d\n", preferred_family); in tcpm_do_cmd() 339 get_prefix(&f.saddr, *argv, preferred_family); in tcpm_do_cmd() 365 get_prefix(&f.daddr, *argv, preferred_family); in tcpm_do_cmd() 390 f.saddr.bitlen <= 0 && preferred_family == AF_UNSPEC) { in tcpm_do_cmd()
|
D | ipnetconf.c | 176 filter.family = preferred_family; in do_show() 223 if (preferred_family == AF_UNSPEC && filter.family == AF_INET) { in do_show() 224 preferred_family = AF_INET6; in do_show()
|
D | iprule.c | 84 if (preferred_family != AF_UNSPEC && r->rtm_family != preferred_family) in filter_nlmsg() 408 int af = preferred_family; in iprule_list_flush_or_save() 587 .r.rtm_family = preferred_family, in iprule_modify() 803 switch (preferred_family) { in do_multirule() 806 preferred_family = RTNL_FAMILY_IPMR; in do_multirule() 809 preferred_family = RTNL_FAMILY_IP6MR; in do_multirule() 817 preferred_family); in do_multirule()
|
D | xfrm_state.c | 299 .xsinfo.family = preferred_family, in xfrm_state_modify() 368 preferred_family = AF_UNSPEC; in xfrm_state_modify() 370 preferred_family = req.xsinfo.sel.family; in xfrm_state_modify() 400 get_prefix(&coa, *argv, preferred_family); in xfrm_state_modify() 563 if (preferred_family == AF_UNSPEC) in xfrm_state_modify() 564 preferred_family = req.xsinfo.family; in xfrm_state_modify() 757 .xspi.info.family = preferred_family, in xfrm_state_allocspi() 815 if (preferred_family == AF_UNSPEC) in xfrm_state_allocspi() 816 preferred_family = req.xspi.info.family; in xfrm_state_allocspi() 1009 .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() 255 .xpinfo.sel.family = preferred_family, in xfrm_policy_modify() 332 tmpl->family = preferred_family; in xfrm_policy_modify() 347 if (preferred_family == AF_UNSPEC) in xfrm_policy_modify() 348 preferred_family = req.xpinfo.sel.family; in xfrm_policy_modify() 622 if (preferred_family == AF_UNSPEC) in xfrm_policy_get_or_delete() 623 preferred_family = req.xpid.sel.family; in xfrm_policy_get_or_delete() 778 filter.xpinfo.sel.family = preferred_family; in xfrm_policy_list_or_deleteall() 834 if (preferred_family == AF_UNSPEC) in xfrm_policy_list_or_deleteall() [all …]
|
D | ip6tunnel.c | 169 get_prefix(&raddr, *argv, preferred_family); in parse_args() 177 get_prefix(&laddr, *argv, preferred_family); in parse_args() 457 switch (preferred_family) { in do_ip6tunnel() 459 preferred_family = AF_INET6; in do_ip6tunnel() 464 fprintf(stderr, "Unsupported protocol family: %d\n", preferred_family); in do_ip6tunnel()
|
D | ipntable.c | 73 .ndtm.ndtm_family = preferred_family, in ipntable_modify() 361 if (preferred_family && preferred_family != ndtm->ndtm_family) in print_ntable() 621 filter.family = preferred_family; in ipntable_show() 641 if (rtnl_wilddump_request(&rth, preferred_family, RTM_GETNEIGHTBL) < 0) { in ipntable_show()
|
D | iplink_vrf.c | 119 .ifi_family = preferred_family, in ipvrf_get_table() 189 .ifi_family = preferred_family, in name_is_vrf()
|
D | ipneigh.c | 108 .ndm.ndm_family = preferred_family, in ipneigh_modify() 138 get_addr(&dst, *argv, preferred_family); in ipneigh_modify() 155 get_addr(&dst, *argv, preferred_family); in ipneigh_modify() 357 filter.family = preferred_family; in do_show_or_flush()
|
D | iptunnel.c | 583 preferred_family = AF_INET6; in do_iptunnel() 587 switch (preferred_family) { in do_iptunnel() 589 preferred_family = AF_INET; in do_iptunnel() 601 fprintf(stderr, "Unsupported protocol family: %d\n", preferred_family); in do_iptunnel()
|
D | link_ip6tnl.c | 83 .i.ifi_family = preferred_family, in ip6tunnel_parse_opt() 183 get_prefix(&addr, *argv, preferred_family); in ip6tunnel_parse_opt() 191 get_prefix(&addr, *argv, preferred_family); in ip6tunnel_parse_opt()
|
D | ipprefix.c | 44 int family = preferred_family; in print_prefix()
|
D | link_gre6.c | 86 .i.ifi_family = preferred_family, in gre_parse_opt() 252 get_prefix(&addr, *argv, preferred_family); in gre_parse_opt() 260 get_prefix(&addr, *argv, preferred_family); in gre_parse_opt()
|
D | ipxfrm.c | 439 f = preferred_family; in xfrm_selector_print() 982 xfrm_selector_print(&xpinfo->sel, preferred_family, fp, title); in xfrm_policy_info_print() 1088 get_prefix(&src, *argv, preferred_family); in xfrm_id_parse() 1101 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() 193 family = preferred_family; in xfrm_report_print()
|
D | iplink.c | 248 .ifi_family = preferred_family, in nl_get_ll_addr_len() 888 .i.ifi_family = preferred_family, in iplink_modify() 1021 .i.ifi_family = preferred_family, in iplink_get() 1448 if (preferred_family != AF_UNSPEC && in print_af_stats_attr() 1449 i->rta_type != preferred_family) in print_af_stats_attr()
|
D | link_vti.c | 61 .i.ifi_family = preferred_family, in vti_parse_opt()
|
D | link_vti6.c | 56 .i.ifi_family = preferred_family, in vti6_parse_opt()
|
D | iplink_vxlan.c | 379 else if (preferred_family == AF_INET) in vxlan_parse_opt() 381 else if (preferred_family == AF_INET6) in vxlan_parse_opt()
|
/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 | 22 extern int preferred_family;
|