Home
last modified time | relevance | path

Searched refs:if_addr (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/webrtc/base/
Dnetwork_unittest.cc117 struct ifaddrs* if_addr = new struct ifaddrs; in AddIpv6Address() local
118 memset(if_addr, 0, sizeof(struct ifaddrs)); in AddIpv6Address()
119 if_addr->ifa_name = if_name; in AddIpv6Address()
120 if_addr->ifa_addr = reinterpret_cast<struct sockaddr*>( in AddIpv6Address()
122 if_addr->ifa_netmask = in AddIpv6Address()
124 if_addr->ifa_next = list; in AddIpv6Address()
125 if_addr->ifa_flags = IFF_RUNNING; in AddIpv6Address()
126 return if_addr; in AddIpv6Address()
130 struct ifaddrs* if_addr = list; in ReleaseIfAddrs() local
131 while (if_addr != nullptr) { in ReleaseIfAddrs()
[all …]
/external/wpa_supplicant_8/src/ap/
Dap_drv_ops.c302 u8 if_addr[ETH_ALEN]; in hostapd_vlan_if_add() local
304 NULL, NULL, force_ifname, if_addr, NULL, 0); in hostapd_vlan_if_add()
437 void **drv_priv, char *force_ifname, u8 *if_addr, in hostapd_if_add() argument
443 bss_ctx, drv_priv, force_ifname, if_addr, in hostapd_if_add()
Dap_drv_ops.h52 void **drv_priv, char *force_ifname, u8 *if_addr,
Dhostapd.c890 u8 if_addr[ETH_ALEN]; in hostapd_setup_bss() local
937 &hapd->drv_priv, force_ifname, if_addr, in hostapd_setup_bss()
947 os_memcpy(hapd->own_addr, if_addr, ETH_ALEN); in hostapd_setup_bss()
/external/wpa_supplicant_8/wpa_supplicant/
Ddriver_i.h397 u8 *if_addr, const char *bridge) in wpa_drv_if_add() argument
402 if_addr, bridge, 0, 0); in wpa_drv_if_add()
Dp2p_supplicant.c5325 const u8 *if_addr; in wpas_p2p_connect() local
5433 if_addr = wpa_s->pending_interface_addr; in wpas_p2p_connect()
5436 if_addr = wpa_s->parent->own_addr; in wpas_p2p_connect()
5438 if_addr = wpa_s->own_addr; in wpas_p2p_connect()
5444 go_intent, if_addr, in wpas_p2p_connect()
5452 go_intent, if_addr, force_freq, in wpas_p2p_connect()
8664 const u8 *if_addr; in wpas_p2p_nfc_tag_enabled() local
8731 if_addr = wpa_s->pending_interface_addr; in wpas_p2p_nfc_tag_enabled()
8733 if_addr = wpa_s->parent->own_addr; in wpas_p2p_nfc_tag_enabled()
8735 if_addr = wpa_s->own_addr; in wpas_p2p_nfc_tag_enabled()
[all …]
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211.c6158 char *force_ifname, u8 *if_addr, in wpa_driver_nl80211_if_add() argument
6169 os_memcpy(if_addr, addr, ETH_ALEN); in wpa_driver_nl80211_if_add()
6187 os_memcpy(if_addr, p2pdev_info.macaddr, ETH_ALEN); in wpa_driver_nl80211_if_add()
6204 os_memcpy(if_addr, bss->addr, ETH_ALEN); in wpa_driver_nl80211_if_add()
6206 ifname, if_addr) < 0) { in wpa_driver_nl80211_if_add()
6241 os_memcpy(if_addr, new_addr, ETH_ALEN); in wpa_driver_nl80211_if_add()
6271 os_memcpy(new_bss->addr, if_addr, ETH_ALEN); in wpa_driver_nl80211_if_add()
Ddriver.h2499 void **drv_priv, char *force_ifname, u8 *if_addr,