Home
last modified time | relevance | path

Searched refs:ll_name_to_index (Results 1 – 25 of 26) sorted by relevance

12

/external/iproute2/ip/
Diplink_hsr.c59 ifindex = ll_name_to_index(*argv); in hsr_parse_opt()
65 ifindex = ll_name_to_index(*argv); in hsr_parse_opt()
Diptoken.c105 if ((da.ifindex = ll_name_to_index(*argv)) == 0) in iptoken_list()
149 ll_name_to_index(*argv)) == 0) in iptoken_set()
Dip6tunnel.c282 p->link = ll_name_to_index(medium); in parse_args()
355 index = ll_name_to_index(name); in do_tunnels_list()
370 p1.link = ll_name_to_index(p1.name); in do_tunnels_list()
Dipneigh.c181 if (dev && (req.ndm.ndm_ifindex = ll_name_to_index(dev)) == 0) { in ipneigh_modify()
379 ifindex = ll_name_to_index(*argv); in do_show_or_flush()
421 if ((filter.index = ll_name_to_index(filter_dev)) == 0) { in do_show_or_flush()
Dipnetconf.c155 filter.ifindex = ll_name_to_index(*argv); in do_show()
Diplink.c550 ifindex = ll_name_to_index(*argv); in iplink_parse()
662 dev_index = ll_name_to_index(*dev); in iplink_parse()
734 req.i.ifi_index = ll_name_to_index(dev); in iplink_modify()
747 ifindex = ll_name_to_index(link); in iplink_modify()
Dipaddrlabel.c159 if ((req.ifal.ifal_index = ll_name_to_index(*argv)) == 0) in ipaddrlabel_modify()
Dipntable.c148 ifindex = ll_name_to_index(*argv); in ipntable_modify()
621 else if ((filter.index = ll_name_to_index(*argv)) == 0) in ipntable_show()
Diproute.c753 if ((rtnh->rtnh_ifindex = ll_name_to_index(*argv)) == 0) { in parse_one_nh()
1172 if ((idx = ll_name_to_index(d)) == 0) { in iproute_modify()
1481 if ((idx = ll_name_to_index(id)) == 0) { in iproute_list_flush_or_save()
1489 if ((idx = ll_name_to_index(od)) == 0) { in iproute_list_flush_or_save()
1671 if ((idx = ll_name_to_index(idev)) == 0) { in iproute_get()
1678 if ((idx = ll_name_to_index(odev)) == 0) { in iproute_get()
Diptunnel.c223 p->link = ll_name_to_index(medium); in parse_args()
420 index = ll_name_to_index(name); in do_tunnels_list()
Dipmroute.c248 if ((idx = ll_name_to_index(id)) == 0) { in mroute_list()
Dipmonitor.c225 ifindex = ll_name_to_index(*argv); in do_ipmonitor()
Dipaddress.c1554 ifindex = ll_name_to_index(*argv); in ipaddr_list_flush_or_save()
1575 filter.ifindex = ll_name_to_index(filter_dev); in ipaddr_list_flush_or_save()
1936 if ((req.ifa.ifa_index = ll_name_to_index(d)) == 0) { in ipaddr_modify()
Dipxfrm.c1426 ifindex = ll_name_to_index(*argv); in xfrm_selector_parse()
/external/iproute2/include/
Dll_map.h8 unsigned ll_name_to_index(const char *name);
/external/iproute2/bridge/
Dmdb.c228 req.bpm.ifindex = ll_name_to_index(d); in mdb_modify()
234 entry.ifindex = ll_name_to_index(p); in mdb_modify()
Dfdb.c202 int br_ifindex = ll_name_to_index(br); in fdb_show()
364 req.ndm.ndm_ifindex = ll_name_to_index(d); in fdb_modify()
Dlink.c361 req.ifm.ifi_index = ll_name_to_index(d); in brlink_modify()
439 if ((filter_index = ll_name_to_index(filter_dev)) == 0) { in brlink_show()
Dvlan.c86 req.ifm.ifi_index = ll_name_to_index(d); in vlan_modify()
/external/iproute2/tc/
Dtc_qdisc.c189 if ((idx = ll_name_to_index(d)) == 0) { in tc_qdisc_modify()
319 if ((t.tcm_ifindex = ll_name_to_index(d)) == 0) { in tc_qdisc_list()
Dtc_filter.c174 if ((req.t.tcm_ifindex = ll_name_to_index(d)) == 0) { in tc_filter_modify()
362 if ((t.tcm_ifindex = ll_name_to_index(d)) == 0) { in tc_filter_list()
Df_route.c85 if ((id=ll_name_to_index(*argv)) <= 0) { in route_parse_opt()
Dtc_class.c150 if ((req.t.tcm_ifindex = ll_name_to_index(d)) == 0) { in tc_class_modify()
452 if ((t.tcm_ifindex = ll_name_to_index(d)) == 0) { in tc_class_list()
Dm_mirred.c150 if ((idx = ll_name_to_index(d)) == 0) { in parse_egress()
/external/iproute2/lib/
Dll_map.c187 unsigned ll_name_to_index(const char *name) in ll_name_to_index() function

12