Searched refs:if_nametoindex (Results 1 – 25 of 70) sorted by relevance
123
57 if (!(ifa.ifa_index = if_nametoindex(ifname))) { in add_address()112 if (!(ifi.ifi_index = if_nametoindex(ifname))) { in if_up()168 ifindex = if_nametoindex(ifname); in add_anycast_address()
107 targ.ifindex = if_nametoindex(interface); in getinterface_ip()
68 TEST(if_nametoindex(test_case[i].name)); in if_nametoindex_test()109 idx = if_nametoindex(ifname); in sub_if_indextoname_test()191 idx = if_nametoindex(pini[i].if_name); in if_nameindex_test()
145 if (!(index = if_nametoindex(argv[1]))) perror_exit("interface %s", argv[1]); in br_addif()163 if (!(index = if_nametoindex(argv[1]))) perror_exit("interface %s",argv[1]); in br_delif()264 if (!(index = if_nametoindex(port))) error_exit("invalid port"); in set_cost_prio()
42 index = if_nametoindex("lo"); in ifindex_lo()
155 ifindex = if_nametoindex(ifname); in linux_br_add_if()180 ifindex = if_nametoindex(ifname); in linux_br_del_if()
241 if_nametoindex(common->ifname), in driver_wired_init_common()290 if_nametoindex(common->ifname), in driver_wired_deinit_common()
38 if_nametoindex( const char * ifname );
27 if_nametoindex( const char * ifname ) in if_nametoindex() function
150 if_index = if_nametoindex(if_name); in br_delif()210 if_index = if_nametoindex(if_name); in br_addif()620 if (if_nametoindex(vlan->ifname) && vlan_if_remove(hapd, vlan)) in vlan_dellink()675 if (del && if_nametoindex(ifname)) { in vlan_read_ifnames()
68 return if_nametoindex(ifname); in iface_exists()
35 idx = if_nametoindex(argv[1]); in main()
193 lladdr_p->sll_ifindex = if_nametoindex(ifname); in specify_hw_addr()450 if (if_nametoindex(optarg) == 0) { in parse_options()620 info_p->daddr_ll.sll_ifindex = if_nametoindex(ifname); in parse_options()
188 ifindex = if_nametoindex(optarg); in parse_options()
176 laddr.sll_ifindex = if_nametoindex(cfg_ifname); in do_bind()203 laddr.sll_ifindex = if_nametoindex(cfg_ifname); in do_send()
40 dst->sin6_scope_id = if_nametoindex(iface); in mk_dst_addr()
332 devidx = if_nametoindex(*argv); in __handle_cmd()549 if ((idx = if_nametoindex(argv[0])) != 0) in main()
81 nl.nla_put_u32(m, nl80211.NL80211_ATTR_IFINDEX, nl.if_nametoindex('wlan0'))
198 idx = if_nametoindex(name); in ll_name_to_index()
180 ifindex = if_nametoindex(*argv); in bond_parse_opt()243 ifindex = if_nametoindex(*argv); in bond_parse_opt()
183 link = if_nametoindex(*argv); in vti_parse_opt()
368 filter_index = if_nametoindex(filter_dev); in fdb_show()457 via = if_nametoindex(*argv); in fdb_modify()
42 device->sll_ifindex = if_nametoindex(ifname); in _raw_packet_start()