Home
last modified time | relevance | path

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

12

/external/iproute2/ip/
Dipmonitor.c104 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 …]
Dip.c28 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 …]
Dtunnel.c80 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()
Dipaddrlabel.c100 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()
Dtcp_metrics.c314 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()
Dipnetconf.c176 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()
Diprule.c84 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()
Dxfrm_state.c299 .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 …]
Dxfrm_policy.c207 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 …]
Dip6tunnel.c169 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()
Dipntable.c73 .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()
Diplink_vrf.c119 .ifi_family = preferred_family, in ipvrf_get_table()
189 .ifi_family = preferred_family, in name_is_vrf()
Dipneigh.c108 .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()
Diptunnel.c583 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()
Dlink_ip6tnl.c83 .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()
Dipprefix.c44 int family = preferred_family; in print_prefix()
Dlink_gre6.c86 .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()
Dipxfrm.c439 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()
Dxfrm_monitor.c67 family = preferred_family; in xfrm_acquire_print()
193 family = preferred_family; in xfrm_report_print()
Diplink.c248 .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()
Dlink_vti.c61 .i.ifi_family = preferred_family, in vti_parse_opt()
Dlink_vti6.c56 .i.ifi_family = preferred_family, in vti6_parse_opt()
Diplink_vxlan.c379 else if (preferred_family == AF_INET) in vxlan_parse_opt()
381 else if (preferred_family == AF_INET6) in vxlan_parse_opt()
/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.h22 extern int preferred_family;

12