Searched refs:if_nametoindex (Results 1 – 25 of 29) sorted by relevance
12
/external/android-clat/ |
D | setif.c | 49 if (!(ifa.ifa_index = if_nametoindex(ifname))) { in add_address() 104 if (!(ifi.ifi_index = if_nametoindex(ifname))) { in if_up()
|
D | setroute.c | 58 if (!(ifindex = if_nametoindex(ifname))) { in if_route()
|
D | getaddr.c | 105 targ.ifindex = if_nametoindex(interface); in getinterface_ip()
|
/external/dhcpcd/ |
D | lpf.c | 89 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()
|
D | if-linux.c | 508 if (!(nlm->ifa.ifa_index = if_nametoindex(iface->name))) { in if_address() 537 if (!(ifindex = if_nametoindex(rt->iface->name))) { in if_route()
|
D | net.c | 80 if_nametoindex(const char *ifname) in if_nametoindex() function 216 iface->metric = 200 + if_nametoindex(iface->name); in init_interface()
|
D | ipv6rs.c | 211 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/ |
D | ll_map.c | 26 extern unsigned int if_nametoindex (const char *); 189 idx = if_nametoindex(name); in ll_name_to_index()
|
/external/wpa_supplicant_8/src/drivers/ |
D | linux_ioctl.c | 165 ifindex = if_nametoindex(ifname); in linux_br_add_if() 187 ifindex = if_nametoindex(ifname); in linux_br_del_if()
|
D | driver_wired.c | 566 if_nametoindex(drv->ifname), in wpa_driver_wired_init() 616 if_nametoindex(drv->ifname), in wpa_driver_wired_deinit()
|
D | driver_nl80211.c | 1024 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 …]
|
D | driver_wext.c | 578 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/ |
D | bpf.c | 97 (int)if_nametoindex(ifr->ifr_name), in iface_enumerate() 114 (int)if_nametoindex(ifr->ifr_name), in iface_enumerate()
|
D | network.c | 71 if (!(newindex = if_nametoindex(bridge->iface))) in iface_check()
|
/external/chromium_org/net/base/ |
D | net_util_posix.cc | 153 NetworkInterface(name, if_nametoindex(name.c_str()), in GetNetworkList()
|
/external/dnsmasq/contrib/wrt/ |
D | dhcp_release.c | 286 server = find_interface(lease, nl, if_nametoindex(argv[1])); in main()
|
/external/iproute2/ip/ |
D | link_gre.c | 209 link = if_nametoindex(*argv); in gre_parse_opt()
|
D | iptunnel.c | 234 p->link = if_nametoindex(medium); in parse_args()
|
/external/wpa_supplicant_8/src/ap/ |
D | vlan_init.c | 125 if_index = if_nametoindex(if_name); in br_delif() 176 if_index = if_nametoindex(if_name); in br_addif()
|
/external/mdnsresponder/mDNSPosix/ |
D | mDNSUNP.c | 317 ifi->ifi_index = if_nametoindex(ifr->ifr_name); in get_ifi_info()
|
/external/mdnsresponder/Clients/ |
D | dns-sd.c | 105 #define if_nametoindex if_nametoindex_win macro 1086 opinterface = if_nametoindex(argv[2]); in main()
|
/external/ipsec-tools/src/racoon/ |
D | grabmyaddr.c | 399 if_nametoindex(ifap->ifa_name); in grab_myaddrs()
|
/external/tcpdump/missing/ |
D | getaddrinfo.c | 877 scope = if_nametoindex(cp);
|
/external/iputils/ |
D | arping.c | 630 device.ifindex = if_nametoindex(device.ifa->ifa_name); in find_device_by_ifaddrs()
|
D | ping6.c | 235 unsigned int i = if_nametoindex(ifname); in if_name2index()
|
12