Home
last modified time | relevance | path

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

12

/external/android-clat/
Dsetif.c49 if (!(ifa.ifa_index = if_nametoindex(ifname))) { in add_address()
104 if (!(ifi.ifi_index = if_nametoindex(ifname))) { in if_up()
Dsetroute.c58 if (!(ifindex = if_nametoindex(ifname))) { in if_route()
Dgetaddr.c105 targ.ifindex = if_nametoindex(interface); in getinterface_ip()
/external/dhcpcd/
Dlpf.c89 if (!(su.sll.sll_ifindex = if_nametoindex(iface->name))) { in open_socket()
145 if (!(su.sll.sll_ifindex = if_nametoindex(iface->name))) { in send_raw_packet()
Dif-linux.c508 if (!(nlm->ifa.ifa_index = if_nametoindex(iface->name))) { in if_address()
537 if (!(ifindex = if_nametoindex(rt->iface->name))) { in if_route()
Dnet.c80 if_nametoindex(const char *ifname) in if_nametoindex() function
216 iface->metric = 200 + if_nametoindex(iface->name); in init_interface()
Dipv6rs.c211 pi.ipi6_ifindex = if_nametoindex(ifp->name); in ipv6rs_sendprobe()
347 if (if_nametoindex(ifp->name) == (unsigned int)pkt.ipi6_ifindex) in ipv6rs_handledata()
/external/iproute2/lib/
Dll_map.c26 extern unsigned int if_nametoindex (const char *);
189 idx = if_nametoindex(name); in ll_name_to_index()
/external/wpa_supplicant_8/src/drivers/
Dlinux_ioctl.c165 ifindex = if_nametoindex(ifname); in linux_br_add_if()
187 ifindex = if_nametoindex(ifname); in linux_br_del_if()
Ddriver_wired.c566 if_nametoindex(drv->ifname), in wpa_driver_wired_init()
616 if_nametoindex(drv->ifname), in wpa_driver_wired_deinit()
Ddriver_nl80211.c1024 if (if_nametoindex(drv->first_bss.ifname) == 0) { in wpa_driver_nl80211_event_link()
1153 } else if (if_nametoindex(drv->first_bss.ifname) == 0) { in wpa_driver_nl80211_event_rtm_newlink()
4042 drv->ifindex = if_nametoindex(bss->ifname); in wpa_driver_nl80211_finish_drv_init()
4916 ifindex = if_nametoindex(ifname); in wpa_driver_nl80211_set_key()
6234 NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, if_nametoindex(bss->ifname)); in nl80211_set_bss()
6306 int ifindex = if_nametoindex(bss->ifname); in wpa_driver_nl80211_set_ap()
6609 NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, if_nametoindex(bss->ifname)); in wpa_driver_nl80211_sta_add()
6713 if_nametoindex(bss->ifname)); in wpa_driver_nl80211_sta_remove()
6835 ifidx = if_nametoindex(ifname); in nl80211_create_iface_once()
6867 if (ret == -ENFILE && if_nametoindex(ifname)) { in nl80211_create_iface()
[all …]
Ddriver_wext.c578 if (if_nametoindex(drv->ifname) == 0) { in wpa_driver_wext_event_link()
630 drv->ifindex = if_nametoindex(drv->ifname); in wpa_driver_wext_own_ifindex()
675 } else if (if_nametoindex(drv->ifname) == 0) { in wpa_driver_wext_event_rtm_newlink()
929 drv->ifindex = if_nametoindex(drv->ifname); in wpa_driver_wext_finish_drv_init()
2305 drv->ifindex2 = if_nametoindex(ifname); in wpa_driver_wext_alternative_ifindex()
/external/dnsmasq/src/
Dbpf.c97 (int)if_nametoindex(ifr->ifr_name), in iface_enumerate()
114 (int)if_nametoindex(ifr->ifr_name), in iface_enumerate()
Dnetwork.c71 if (!(newindex = if_nametoindex(bridge->iface))) in iface_check()
/external/chromium_org/net/base/
Dnet_util_posix.cc153 NetworkInterface(name, if_nametoindex(name.c_str()), in GetNetworkList()
/external/dnsmasq/contrib/wrt/
Ddhcp_release.c286 server = find_interface(lease, nl, if_nametoindex(argv[1])); in main()
/external/iproute2/ip/
Dlink_gre.c209 link = if_nametoindex(*argv); in gre_parse_opt()
Diptunnel.c234 p->link = if_nametoindex(medium); in parse_args()
/external/wpa_supplicant_8/src/ap/
Dvlan_init.c125 if_index = if_nametoindex(if_name); in br_delif()
176 if_index = if_nametoindex(if_name); in br_addif()
/external/mdnsresponder/mDNSPosix/
DmDNSUNP.c317 ifi->ifi_index = if_nametoindex(ifr->ifr_name); in get_ifi_info()
/external/mdnsresponder/Clients/
Ddns-sd.c105 #define if_nametoindex if_nametoindex_win macro
1086 opinterface = if_nametoindex(argv[2]); in main()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c399 if_nametoindex(ifap->ifa_name); in grab_myaddrs()
/external/tcpdump/missing/
Dgetaddrinfo.c877 scope = if_nametoindex(cp);
/external/iputils/
Darping.c630 device.ifindex = if_nametoindex(device.ifa->ifa_name); in find_device_by_ifaddrs()
Dping6.c235 unsigned int i = if_nametoindex(ifname); in if_name2index()

12