Home
last modified time | relevance | path

Searched refs:peer_addr (Results 1 – 25 of 41) sorted by relevance

12

/hostap-3.6.0/src/fst/
Dfst_group.c180 const u8 *peer_addr = NULL; in fst_mbie_get_peer_addr() local
184 peer_addr = mbie->bssid; in fst_mbie_get_peer_addr()
189 peer_addr = (const u8 *) &mbie[1]; in fst_mbie_get_peer_addr()
195 return peer_addr; in fst_mbie_get_peer_addr()
281 const u8 *peer_addr, u8 band_id, in fst_group_get_peer_other_connection_1() argument
289 mbies = fst_iface_get_peer_mb_ie(iface, peer_addr); in fst_group_get_peer_other_connection_1()
336 const u8 *peer_addr, u8 band_id, in fst_group_get_peer_other_connection_2() argument
362 if (os_memcmp(this_peer_addr, peer_addr, ETH_ALEN) == in fst_group_get_peer_other_connection_2()
392 const u8 *peer_addr, u8 band_id, in fst_group_get_peer_other_connection() argument
398 fst_iface_get_name(iface), MAC2STR(peer_addr), band_id); in fst_group_get_peer_other_connection()
[all …]
Dfst_ctrl_iface.c561 u8 peer_addr[ETH_ALEN]; in get_peer_mbies() local
572 if (fst_read_peer_addr(endp, peer_addr)) in get_peer_mbies()
583 mbies = fst_iface_get_peer_mb_ie(iface, peer_addr); in get_peer_mbies()
866 int fst_read_peer_addr(const char *mac, u8 *peer_addr) in fst_read_peer_addr() argument
868 if (hwaddr_aton(mac, peer_addr)) { in fst_read_peer_addr()
874 if (is_zero_ether_addr(peer_addr) || in fst_read_peer_addr()
875 is_multicast_ether_addr(peer_addr)) { in fst_read_peer_addr()
Dfst.c24 const u8 *peer_addr) in fst_ctrl_iface_notify_peer_state_change() argument
31 os_memcpy(extra.peer_state.addr, peer_addr, ETH_ALEN); in fst_ctrl_iface_notify_peer_state_change()
Dfst_ctrl_iface.h36 int fst_read_peer_addr(const char *mac, u8 *peer_addr);
Dfst_group.h52 const u8 *peer_addr, u8 band_id,
Dfst_session.c235 fst_find_session_in_progress(const u8 *peer_addr, struct fst_group *g) in fst_find_session_in_progress() argument
241 (os_memcmp(s->data.old_peer_addr, peer_addr, in fst_find_session_in_progress()
243 os_memcmp(s->data.new_peer_addr, peer_addr, in fst_find_session_in_progress()
1257 u8 peer_addr[ETH_ALEN]; in fst_session_set_str_peer_addr() local
1258 int res = fst_read_peer_addr(mac, peer_addr); in fst_session_set_str_peer_addr()
1263 fst_session_set_peer_addr(s, peer_addr, is_old); in fst_session_set_str_peer_addr()
/hostap-3.6.0/wlantest/
Drx_ip.c47 const u8 *data, size_t len, const u8 *peer_addr) in rx_data_icmp() argument
76 peer_addr ? " [DL]" : ""); in rx_data_icmp()
96 if (peer_addr && (sta = sta_find(bss, peer_addr))) in rx_data_icmp()
121 const u8 *peer_addr) in rx_data_ip() argument
180 ip.ip_src.s_addr, payload, plen, peer_addr); in rx_data_ip()
Drx_data.c58 const u8 *peer_addr);
63 const u8 *peer_addr) in rx_data_vlan() argument
74 data + 4, len - 4, prot, peer_addr); in rx_data_vlan()
81 const u8 *peer_addr) in rx_data_eth() argument
89 peer_addr); in rx_data_eth()
96 peer_addr); in rx_data_eth()
107 const u8 *peer_addr, const u8 *qos) in rx_data_process() argument
145 peer_addr); in rx_data_process()
672 const u8 *peer_addr = NULL; in rx_data_bss_prot() local
674 peer_addr = hdr->addr1; in rx_data_bss_prot()
[all …]
/hostap-3.6.0/wpa_supplicant/
Dwpas_kay.h17 const u8 *peer_addr);
33 const u8 *peer_addr) in ieee802_1x_notify_create_actor() argument
Dp2p_supplicant.h35 int wpas_p2p_connect(struct wpa_supplicant *wpa_s, const u8 *peer_addr,
64 int wpas_p2p_prov_disc(struct wpa_supplicant *wpa_s, const u8 *peer_addr,
120 int wpas_p2p_invite(struct wpa_supplicant *wpa_s, const u8 *peer_addr,
125 const u8 *peer_addr, const u8 *go_dev_addr,
188 void wpas_p2p_wps_success(struct wpa_supplicant *wpa_s, const u8 *peer_addr,
255 const u8 *peer_addr, int registrar) in wpas_p2p_wps_success() argument
Dwpas_kay.c321 const u8 *peer_addr) in ieee802_1x_notify_create_actor() argument
335 MACSTR, MAC2STR(peer_addr)); in ieee802_1x_notify_create_actor()
360 peer_addr, cak->key, cak->len)) { in ieee802_1x_notify_create_actor()
370 peer_addr, sid, sid_len, ckn->name)) { in ieee802_1x_notify_create_actor()
Dnotify.c932 const u8 *peer_addr) in wpas_notify_mesh_peer_connected() argument
937 wpas_dbus_signal_mesh_peer_connected(wpa_s, peer_addr); in wpas_notify_mesh_peer_connected()
942 const u8 *peer_addr, u16 reason_code) in wpas_notify_mesh_peer_disconnected() argument
947 wpas_dbus_signal_mesh_peer_disconnected(wpa_s, peer_addr, reason_code); in wpas_notify_mesh_peer_disconnected()
Dnotify.h157 const u8 *peer_addr);
159 const u8 *peer_addr, u16 reason_code);
Dp2p_supplicant.c5079 const u8 *peer_addr, in wpas_p2p_start_go_neg() argument
5095 return p2p_connect(wpa_s->global->p2p, peer_addr, wps_method, in wpas_p2p_start_go_neg()
5106 const u8 *peer_addr, in wpas_p2p_auth_go_neg() argument
5115 return p2p_authorize(wpa_s->global->p2p, peer_addr, wps_method, in wpas_p2p_auth_go_neg()
5834 const u8 *peer_addr) in is_p2p_6ghz_supported() argument
5843 if (peer_addr && !p2p_peer_wfd_enabled(wpa_s->global->p2p, peer_addr)) in is_p2p_6ghz_supported()
5851 const u8 *peer_addr, bool allow_6ghz, int freq) in wpas_p2p_check_6ghz() argument
5853 if (allow_6ghz && is_p2p_6ghz_supported(wpa_s, peer_addr)) { in wpas_p2p_check_6ghz()
5896 int wpas_p2p_connect(struct wpa_supplicant *wpa_s, const u8 *peer_addr, in wpas_p2p_connect() argument
5922 if (wpas_p2p_check_6ghz(wpa_s, peer_addr, allow_6ghz, freq)) in wpas_p2p_connect()
[all …]
/hostap-3.6.0/tests/hwsim/
Dfst_module_aux.py211 def set_old_peer_addr(self, peer_addr=None): argument
213 if peer_addr is not None:
214 self.old_peer_addr = peer_addr
218 def set_new_peer_addr(self, peer_addr=None): argument
220 if peer_addr is not None:
221 self.new_peer_addr = peer_addr
292 def get_peer_mbies(self, ifname, peer_addr): argument
293 return self.grequest("FST-MANAGER GET_PEER_MBIES %s %s" % (ifname, peer_addr))
/hostap-3.6.0/src/eap_server/
Deap_server.c272 MACSTR, MAC2STR(sm->peer_addr)); in SM_STATE()
329 MAC2STR(sm->peer_addr)); in SM_STATE()
646 WPA_EVENT_EAP_TIMEOUT_FAILURE MACSTR, MAC2STR(sm->peer_addr)); in SM_STATE()
661 MACSTR, MAC2STR(sm->peer_addr)); in SM_STATE()
678 MACSTR, MAC2STR(sm->peer_addr)); in SM_STATE()
765 MACSTR, MAC2STR(sm->peer_addr)); in erp_send_finish_reauth()
793 MACSTR, MAC2STR(sm->peer_addr)); in erp_send_finish_reauth()
1028 MAC2STR(sm->peer_addr)); in SM_STATE()
1121 WPA_EVENT_EAP_TIMEOUT_FAILURE2 MACSTR, MAC2STR(sm->peer_addr)); in SM_STATE()
1133 MAC2STR(sm->peer_addr)); in SM_STATE()
[all …]
Deap_i.h187 u8 peer_addr[ETH_ALEN]; member
Deap_server_wsc.c132 cfg.peer_addr = sm->peer_addr; in eap_wsc_init()
Deap.h266 const u8 *peer_addr; member
/hostap-3.6.0/wpa_supplicant/dbus/
Ddbus_new.h269 const u8 *peer_addr);
271 const u8 *peer_addr, int reason);
621 const u8 *peer_addr) in wpas_dbus_signal_mesh_peer_connected() argument
627 const u8 *peer_addr, int reason) in wpas_dbus_signal_mesh_peer_disconnected() argument
Ddbus_new_handlers_p2p.c210 u8 peer_addr[ETH_ALEN]; in wpas_dbus_handler_p2p_rejectpeer() local
215 if (parse_peer_object_path(peer_object_path, peer_addr) < 0) in wpas_dbus_handler_p2p_rejectpeer()
222 if (wpas_p2p_reject(wpa_s, peer_addr) < 0) in wpas_dbus_handler_p2p_rejectpeer()
497 u8 peer_addr[ETH_ALEN]; in wpas_dbus_handler_p2p_remove_client() local
529 (parse_peer_object_path(peer_object_path, peer_addr) < 0 || in wpas_dbus_handler_p2p_remove_client()
530 !p2p_peer_known(wpa_s->global->p2p, peer_addr))) || in wpas_dbus_handler_p2p_remove_client()
531 (interface_addr && hwaddr_aton(interface_addr, peer_addr) < 0)) in wpas_dbus_handler_p2p_remove_client()
534 wpas_p2p_remove_client(wpa_s, peer_addr, interface_addr != NULL); in wpas_dbus_handler_p2p_remove_client()
743 u8 peer_addr[ETH_ALEN]; in wpas_dbus_handler_p2p_invite() local
777 if (parse_peer_object_path(peer_object_path, peer_addr) < 0 || in wpas_dbus_handler_p2p_invite()
[all …]
Ddbus_new.c873 const u8 *peer_addr) in wpas_dbus_signal_mesh_peer_connected() argument
894 (const char *) peer_addr, in wpas_dbus_signal_mesh_peer_connected()
905 const u8 *peer_addr, int reason) in wpas_dbus_signal_mesh_peer_disconnected() argument
926 (const char *) peer_addr, in wpas_dbus_signal_mesh_peer_disconnected()
1801 const u8 *peer_addr) in wpas_dbus_signal_p2p_peer_joined() argument
1827 parent->dbus_new_path, MAC2STR(peer_addr)); in wpas_dbus_signal_p2p_peer_joined()
1842 wpas_dbus_signal_peer_groups_changed(parent, peer_addr); in wpas_dbus_signal_p2p_peer_joined()
1858 const u8 *peer_addr) in wpas_dbus_signal_p2p_peer_disconnected() argument
1884 parent->dbus_new_path, MAC2STR(peer_addr)); in wpas_dbus_signal_p2p_peer_disconnected()
1900 wpas_dbus_signal_peer_groups_changed(parent, peer_addr); in wpas_dbus_signal_p2p_peer_disconnected()
/hostap-3.6.0/src/p2p/
Dp2p.h1321 int p2p_connect(struct p2p_data *p2p, const u8 *peer_addr,
1349 int p2p_authorize(struct p2p_data *p2p, const u8 *peer_addr,
1362 int p2p_reject(struct p2p_data *p2p, const u8 *peer_addr);
1383 int p2p_prov_disc_req(struct p2p_data *p2p, const u8 *peer_addr,
2421 bool p2p_peer_wfd_enabled(struct p2p_data *p2p, const u8 *peer_addr);
Dp2p_pd.c1672 int p2p_prov_disc_req(struct p2p_data *p2p, const u8 *peer_addr, in p2p_prov_disc_req() argument
1679 dev = p2p_get_device(p2p, peer_addr); in p2p_prov_disc_req()
1681 dev = p2p_get_device_interface(p2p, peer_addr); in p2p_prov_disc_req()
1684 " not yet known", MAC2STR(peer_addr)); in p2p_prov_disc_req()
1691 MAC2STR(peer_addr), config_methods); in p2p_prov_disc_req()
1718 MAC2STR(peer_addr), config_methods); in p2p_prov_disc_req()
Dp2p.c1568 int p2p_connect(struct p2p_data *p2p, const u8 *peer_addr, in p2p_connect() argument
1581 MAC2STR(peer_addr), go_intent, MAC2STR(own_interface_addr), in p2p_connect()
1585 dev = p2p_get_device(p2p, peer_addr); in p2p_connect()
1588 MAC2STR(peer_addr)); in p2p_connect()
1601 MAC2STR(peer_addr)); in p2p_connect()
1607 MAC2STR(peer_addr)); in p2p_connect()
1662 os_memcpy(p2p->after_scan_peer, peer_addr, ETH_ALEN); in p2p_connect()
1670 int p2p_authorize(struct p2p_data *p2p, const u8 *peer_addr, in p2p_authorize() argument
1682 MAC2STR(peer_addr), go_intent, MAC2STR(own_interface_addr), in p2p_authorize()
1685 dev = p2p_get_device(p2p, peer_addr); in p2p_authorize()
[all …]

12