Home
last modified time | relevance | path

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

12

/external/iproute2/ip/
Diplink_hsr.c69 ifindex = ll_name_to_index(*argv); in hsr_parse_opt()
75 ifindex = ll_name_to_index(*argv); in hsr_parse_opt()
Diptoken.c97 if ((da.ifindex = ll_name_to_index(*argv)) == 0) in iptoken_list()
138 ll_name_to_index(*argv)) == 0) in iptoken_set()
Dipneigh.c182 if (dev && (req.ndm.ndm_ifindex = ll_name_to_index(dev)) == 0) { in ipneigh_modify()
378 ifindex = ll_name_to_index(*argv); in do_show_or_flush()
387 ifindex = ll_name_to_index(*argv); in do_show_or_flush()
432 if ((filter.index = ll_name_to_index(filter_dev)) == 0) { in do_show_or_flush()
Dip6tunnel.c290 p->link = ll_name_to_index(medium); in parse_args()
364 index = ll_name_to_index(name); in do_tunnels_list()
378 p1.link = ll_name_to_index(p1.name); in do_tunnels_list()
Diplink.c726 ifindex = ll_name_to_index(*argv); in iplink_parse()
735 ifindex = ll_name_to_index(*argv); in iplink_parse()
856 dev_index = ll_name_to_index(*dev); in iplink_parse()
937 req.i.ifi_index = ll_name_to_index(dev); in iplink_modify()
950 ifindex = ll_name_to_index(link); in iplink_modify()
1530 ctx.ifindex = ll_name_to_index(filter_dev); in iplink_afstats()
Dipila.c180 ifindex = ll_name_to_index(*argv); in ila_parse_opt()
Dipnetconf.c181 filter.ifindex = ll_name_to_index(*argv); in do_show()
Dipaddrlabel.c153 if ((req.ifal.ifal_index = ll_name_to_index(*argv)) == 0) in ipaddrlabel_modify()
Dipntable.c141 ifindex = ll_name_to_index(*argv); in ipntable_modify()
629 else if ((filter.index = ll_name_to_index(*argv)) == 0) in ipntable_show()
Diptunnel.c221 p->link = ll_name_to_index(medium); in parse_args()
415 index = ll_name_to_index(name); in do_tunnels_list()
Dipmroute.c252 if ((idx = ll_name_to_index(id)) == 0) { in mroute_list()
Diproute.c770 if ((rtnh->rtnh_ifindex = ll_name_to_index(*argv)) == 0) { in parse_one_nh()
1254 if ((idx = ll_name_to_index(d)) == 0) { in iproute_modify()
1574 if ((idx = ll_name_to_index(id)) == 0) { in iproute_list_flush_or_save()
1582 if ((idx = ll_name_to_index(od)) == 0) { in iproute_list_flush_or_save()
1779 if ((idx = ll_name_to_index(idev)) == 0) { in iproute_get()
1786 if ((idx = ll_name_to_index(odev)) == 0) { in iproute_get()
Dipmonitor.c225 ifindex = ll_name_to_index(*argv); in do_ipmonitor()
Dipmacsec.c512 ifindex = ll_name_to_index(*argv); in do_modify()
978 ifindex = ll_name_to_index(*argv); in do_show()
/external/iproute2/include/
Dll_map.h8 unsigned ll_name_to_index(const char *name);
/external/iproute2/tc/
Dtc_filter.c190 req.t.tcm_ifindex = ll_name_to_index(d); in tc_filter_modify()
476 req.t.tcm_ifindex = ll_name_to_index(d); in tc_filter_get()
603 req.t.tcm_ifindex = ll_name_to_index(d); in tc_filter_list()
Dtc_qdisc.c185 idx = ll_name_to_index(d); in tc_qdisc_modify()
333 t.tcm_ifindex = ll_name_to_index(d); in tc_qdisc_list()
Df_route.c85 if ((id = ll_name_to_index(*argv)) <= 0) { in route_parse_opt()
Dtc_class.c146 if ((req.t.tcm_ifindex = ll_name_to_index(d)) == 0) { in tc_class_modify()
444 if ((t.tcm_ifindex = ll_name_to_index(d)) == 0) { in tc_class_list()
Dm_mirred.c164 if ((idx = ll_name_to_index(d)) == 0) { in parse_direction()
/external/iproute2/bridge/
Dmdb.c419 req.bpm.ifindex = ll_name_to_index(d); in mdb_modify()
425 entry.ifindex = ll_name_to_index(p); in mdb_modify()
Dlink.c376 req.ifm.ifi_index = ll_name_to_index(d); in brlink_modify()
457 if ((filter_index = ll_name_to_index(filter_dev)) == 0) { in brlink_show()
Dfdb.c356 int br_ifindex = ll_name_to_index(br); in fdb_show()
533 req.ndm.ndm_ifindex = ll_name_to_index(d); in fdb_modify()
Dvlan.c88 req.ifm.ifi_index = ll_name_to_index(d); in vlan_modify()
/external/iproute2/lib/
Dll_map.c186 unsigned ll_name_to_index(const char *name) in ll_name_to_index() function

12