Home
last modified time | relevance | path

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

123

/external/strace/tests/
Dip_mreq.expected7 …BERSHIP, \{ipv6mr_multiaddr=inet_pton\("ff01::c"\), ipv6mr_interface=if_nametoindex\("lo"\)\}, 20\…
8 …BERSHIP, \{ipv6mr_multiaddr=inet_pton\("ff01::c"\), ipv6mr_interface=if_nametoindex\("lo"\)\}, 20\…
11 …ANYCAST, \{ipv6mr_multiaddr=inet_pton\("ff01::c"\), ipv6mr_interface=if_nametoindex\("lo"\)\}, 20\…
12 …ANYCAST, \{ipv6mr_multiaddr=inet_pton\("ff01::c"\), ipv6mr_interface=if_nametoindex\("lo"\)\}, 20\…
/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(Global_Clatd_Config.default_pdp_interface), in configure_packet_socket()
/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()
Ddhcp6.c251 sockll.sll_ifindex = if_nametoindex(TT.interface_name); in mode_raw()
573 sinaddr6.sin6_scope_id = if_nametoindex(TT.interface_name); in dhcp6_main()
/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.c585 if_nametoindex(drv->ifname), in wpa_driver_wired_init()
635 if_nametoindex(drv->ifname), in wpa_driver_wired_deinit()
Ddriver_nl80211.c804 if (if_nametoindex(drv->first_bss->ifname) == 0) { in wpa_driver_nl80211_event_newlink()
1021 } else if (if_nametoindex(drv->first_bss->ifname) == 0) { in wpa_driver_nl80211_event_rtm_newlink()
2250 drv->ifindex = if_nametoindex(bss->ifname); in wpa_driver_nl80211_finish_drv_init()
2608 ifindex = if_nametoindex(ifname); in wpa_driver_nl80211_set_key()
4195 ifidx = if_nametoindex(ifname); in nl80211_create_iface_once()
4236 if (ret == -ENFILE && if_nametoindex(ifname)) { in nl80211_create_iface()
4255 nl80211_remove_iface(drv, if_nametoindex(ifname)); in nl80211_create_iface()
5311 msg = nl80211_ifindex_msg(drv, if_nametoindex(iface), 0, in i802_get_seqnum()
5562 bss->ifname, if_nametoindex(bss->ifname), in i802_set_sta_vlan()
5563 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/wpa_supplicant_8/src/ap/
Dvlan_ifconfig.c68 return if_nametoindex(ifname); in iface_exists()
Dvlan_full.c146 if_index = if_nametoindex(if_name); in br_delif()
197 if_index = if_nametoindex(if_name); in br_addif()
571 if (if_nametoindex(vlan->ifname) && vlan_if_remove(hapd, vlan)) in vlan_dellink()
626 if (del && if_nametoindex(ifname)) { in vlan_read_ifnames()
/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/iproute2/bridge/
Dfdb.c213 filter_index = if_nametoindex(filter_dev); in fdb_show()
292 via = if_nametoindex(*argv); in fdb_modify()
Dvlan.c218 if ((filter_index = if_nametoindex(filter_dev)) == 0) { in vlan_show()
Dmdb.c158 filter_index = if_nametoindex(filter_dev); in mdb_show()
/external/iw/
Diw.c332 devidx = if_nametoindex(*argv); in __handle_cmd()
549 if ((idx = if_nametoindex(argv[0])) != 0) in main()
/external/iproute2/ip/
Diplink_bond.c180 ifindex = if_nametoindex(*argv); in bond_parse_opt()
242 ifindex = if_nametoindex(*argv); in bond_parse_opt()
Dlink_vti6.c178 link = if_nametoindex(*argv); in vti6_parse_opt()
Dlink_vti.c178 link = if_nametoindex(*argv); in vti_parse_opt()
Dlink_ip6tnl.c176 link = if_nametoindex(*argv); in ip6tunnel_parse_opt()
Dlink_gre6.c232 link = if_nametoindex(*argv); in gre_parse_opt()
/external/iproute2/lib/
Dll_map.c199 idx = if_nametoindex(name); in ll_name_to_index()
/external/dnsmasq/contrib/wrt/
Ddhcp_release.c286 server = find_interface(lease, nl, if_nametoindex(argv[1])); in main()

123