Home
last modified time | relevance | path

Searched refs:if_nametoindex (Results 1 – 25 of 70) sorted by relevance

123

/external/android-clat/
Dsetif.c57 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()
Dgetaddr.c107 targ.ifindex = if_nametoindex(interface); in getinterface_ip()
/external/ltp/testcases/network/lib6/
Din6_02.c68 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()
/external/toybox/toys/pending/
Dbrctl.c145 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()
/external/strace/tests-m32/
Difindex.c42 index = if_nametoindex("lo"); in ifindex_lo()
/external/strace/tests/
Difindex.c42 index = if_nametoindex("lo"); in ifindex_lo()
/external/strace/tests-mx32/
Difindex.c42 index = if_nametoindex("lo"); in ifindex_lo()
/external/wpa_supplicant_8/src/drivers/
Dlinux_ioctl.c155 ifindex = if_nametoindex(ifname); in linux_br_add_if()
180 ifindex = if_nametoindex(ifname); in linux_br_del_if()
Ddriver_wired_common.c241 if_nametoindex(common->ifname), in driver_wired_init_common()
290 if_nametoindex(common->ifname), in driver_wired_deinit_common()
/external/mdnsresponder/mDNSWindows/
DPosixCompat.h38 if_nametoindex( const char * ifname );
DPosixCompat.c27 if_nametoindex( const char * ifname ) in if_nametoindex() function
/external/wpa_supplicant_8/src/ap/
Dvlan_full.c150 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()
Dvlan_ifconfig.c68 return if_nametoindex(ifname); in iface_exists()
/external/libnfnetlink/utils/
Diftest.c35 idx = if_nametoindex(argv[1]); in main()
/external/ltp/testcases/network/stress/ns-tools/
Dns-icmpv6_sender.c193 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()
Dns-mcast_receiver.c188 ifindex = if_nametoindex(optarg); in parse_options()
/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_snd.c176 laddr.sll_ifindex = if_nametoindex(cfg_ifname); in do_bind()
203 laddr.sll_ifindex = if_nametoindex(cfg_ifname); in do_send()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_skb_cgroup_id_user.c40 dst->sin6_scope_id = if_nametoindex(iface); in mk_dst_addr()
/external/iw/
Diw.c332 devidx = if_nametoindex(*argv); in __handle_cmd()
549 if ((idx = if_nametoindex(argv[0])) != 0) in main()
/external/libnl/python/examples/
Diface.py81 nl.nla_put_u32(m, nl80211.NL80211_ATTR_IFINDEX, nl.if_nametoindex('wlan0'))
/external/iproute2/lib/
Dll_map.c198 idx = if_nametoindex(name); in ll_name_to_index()
/external/iproute2/ip/
Diplink_bond.c180 ifindex = if_nametoindex(*argv); in bond_parse_opt()
243 ifindex = if_nametoindex(*argv); in bond_parse_opt()
Dlink_vti.c183 link = if_nametoindex(*argv); in vti_parse_opt()
/external/iproute2/bridge/
Dfdb.c368 filter_index = if_nametoindex(filter_dev); in fdb_show()
457 via = if_nametoindex(*argv); in fdb_modify()
/external/u-boot/arch/sandbox/cpu/
Deth-raw-os.c42 device->sll_ifindex = if_nametoindex(ifname); in _raw_packet_start()

123