Home
last modified time | relevance | path

Searched refs:preferred_family (Results 1 – 25 of 32) sorted by relevance

12

/external/iproute2/ip/
Dipmonitor.c105 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 …]
Dip.c28 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 …]
Dtunnel.c77 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()
Dipaddrlabel.c101 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()
Dtcp_metrics.c318 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()
Diprule.c259 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()
Dipnetconf.c148 filter.family = preferred_family; in do_show()
191 if (preferred_family == AF_UNSPEC) { in do_show()
192 preferred_family = AF_INET6; in do_show()
Dxfrm_state.c303 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 …]
Dxfrm_policy.c207 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 …]
Dip6tunnel.c167 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()
Dipntable.c83 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()
Dlink_ip6tnl.c89 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()
Dipneigh.c115 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()
Dlink_gre6.c91 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()
Diptunnel.c595 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()
Dipprefix.c44 int family = preferred_family; in print_prefix()
Dipxfrm.c451 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()
Dxfrm_monitor.c67 family = preferred_family; in xfrm_acquire_print()
192 family = preferred_family; in xfrm_report_print()
Dlink_vti6.c67 req.i.ifi_family = preferred_family; in vti6_parse_opt()
Dlink_vti.c71 req.i.ifi_family = preferred_family; in vti_parse_opt()
Dipmroute.c202 if (preferred_family == AF_UNSPEC) in mroute_list()
Dipmaddr.c253 filter.family = preferred_family; in multiaddr_list()
/external/iproute2/bridge/
Dbridge.c20 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()
Dbr_common.h15 extern int preferred_family;
/external/iproute2/include/
Dutils.h14 extern int preferred_family;

12