Home
last modified time | relevance | path

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

1234

/third_party/musl/libc-test/src/functionalext/supplement/network/network_gtest/
Dnet_if_test.cpp23 unsigned index = if_nametoindex(ifAddr->ifa_name);
38 unsigned index = if_nametoindex(ifAddr->ifa_name);
62 unsigned int result1 = if_nametoindex(it->if_name);
/third_party/ltp/testcases/network/lib6/
Din6_02.c54 TEST(if_nametoindex(test_case[i].name)); in if_nametoindex_test()
95 idx = if_nametoindex(ifname); in sub_if_indextoname_test()
177 idx = if_nametoindex(pini[i].if_name); in if_nameindex_test()
/third_party/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/lwip/src/include/lwip/
Dif_api.h62 #define if_nametoindex(ifname) lwip_if_nametoindex(ifname) macro
/third_party/rust/crates/nix/test/
Dtest_net.rs18 if_nametoindex(LOOPBACK).expect("assertion failed"); in test_if_nametoindex()
/third_party/musl/src/network/
Dif_nametoindex.c8 unsigned if_nametoindex(const char *name) in if_nametoindex() function
Dlookup_ipliteral.c48 scopeid = if_nametoindex(p); in __lookup_ipliteral()
/third_party/musl/porting/liteos_a/user/src/network/
Dif_nametoindex.c8 unsigned if_nametoindex(const char *name) in if_nametoindex() function
/third_party/musl/libc-test/src/api/
Dnet_if.c15 {unsigned(*p)(const char*) = if_nametoindex;} in f()
/third_party/musl/libc-test/src/functionalext/supplement/network/
Dif_nametoindex.c37 unsigned int result = if_nametoindex(name); in if_nametoindex_0100()
Dtest_src_functionalext_supplement_network.gni26 "if_nametoindex",
/third_party/curl/docs/examples/
Dipv6.c47 my_scope_id = if_nametoindex("eth0"); in main()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/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()
/third_party/musl/ndk_musl_include/net/
Dif.h17 unsigned int if_nametoindex (const char *);
/third_party/musl/include/net/
Dif.h17 unsigned int if_nametoindex (const char *);
/third_party/musl/porting/liteos_m/kernel/include/net/
Dif.h17 unsigned int if_nametoindex (const char *);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/net/
Dif.h17 unsigned int if_nametoindex (const char *);

1234