Home
last modified time | relevance | path

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

12

/external/android-clat/
Dsetif.c52 if (!(ifa.ifa_index = if_nametoindex(ifname))) { in add_address()
107 if (!(ifi.ifi_index = if_nametoindex(ifname))) { in if_up()
164 ifindex = if_nametoindex(ifname); in add_anycast_address()
Dgetaddr.c107 targ.ifindex = if_nametoindex(interface); in getinterface_ip()
Dclatd.c78 .sll_ifindex = if_nametoindex((char *) &Global_Clatd_Config.default_pdp_interface), in configure_packet_socket()
/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.c510 if (!(nlm->ifa.ifa_index = if_nametoindex(iface->name))) { in if_address()
539 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/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/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.c584 if_nametoindex(drv->ifname), in wpa_driver_wired_init()
634 if_nametoindex(drv->ifname), in wpa_driver_wired_deinit()
Ddriver_nl80211.c788 if (if_nametoindex(drv->first_bss->ifname) == 0) { in wpa_driver_nl80211_event_newlink()
997 } else if (if_nametoindex(drv->first_bss->ifname) == 0) { in wpa_driver_nl80211_event_rtm_newlink()
2172 drv->ifindex = if_nametoindex(bss->ifname); in wpa_driver_nl80211_finish_drv_init()
2511 ifindex = if_nametoindex(ifname); in wpa_driver_nl80211_set_key()
4020 ifidx = if_nametoindex(ifname); in nl80211_create_iface_once()
4061 if (ret == -ENFILE && if_nametoindex(ifname)) { in nl80211_create_iface()
4080 nl80211_remove_iface(drv, if_nametoindex(ifname)); in nl80211_create_iface()
5124 msg = nl80211_ifindex_msg(drv, if_nametoindex(iface), 0, in i802_get_seqnum()
5360 bss->ifname, if_nametoindex(bss->ifname), in i802_set_sta_vlan()
5361 MAC2STR(addr), ifname, if_nametoindex(ifname), vlan_id); in i802_set_sta_vlan()
[all …]
Ddriver_macsec_qca.c342 if_nametoindex(drv->ifname), in macsec_qca_init()
393 if_nametoindex(drv->ifname), in macsec_qca_deinit()
Ddriver_wext.c570 if (if_nametoindex(drv->ifname) == 0) { in wpa_driver_wext_event_link()
622 drv->ifindex = if_nametoindex(drv->ifname); in wpa_driver_wext_own_ifindex()
667 } else if (if_nametoindex(drv->ifname) == 0) { in wpa_driver_wext_event_rtm_newlink()
1015 drv->ifindex = if_nametoindex(drv->ifname); in wpa_driver_wext_finish_drv_init()
2396 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()
/external/wpa_supplicant_8/src/ap/
Dvlan_init.c204 if_index = if_nametoindex(if_name); in br_delif()
255 if_index = if_nametoindex(if_name); in br_addif()
753 if (del && if_nametoindex(ifname)) { in vlan_read_ifnames()
/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/l2_packet/
Dl2_packet_linux.c337 ll.sll_ifindex = if_nametoindex(ifname); in l2_packet_init_bridge()
/external/wpa_supplicant_8/src/common/
Dwpa_ctrl.c364 scope_id = if_nametoindex(&scope[1]); in wpa_ctrl_open()
/external/mdnsresponder/Clients/
Ddns-sd.c105 #define if_nametoindex if_nametoindex_win macro
1086 opinterface = if_nametoindex(argv[2]); in main()
/external/mdnsresponder/mDNSPosix/
DmDNSUNP.c324 ifi->ifi_index = if_nametoindex(ifr->ifr_name); in get_ifi_info()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c399 if_nametoindex(ifap->ifa_name); in grab_myaddrs()
/external/libpcap/Win32/Src/
Dgetaddrinfo.c889 scope = if_nametoindex(cp);

12