Home
last modified time | relevance | path

Searched refs:mld_addr (Results 1 – 25 of 33) sorted by relevance

12

/freebsd/contrib/wpa/wpa_supplicant/
H A Dbss.c482 const u8 *mld_addr; in wpa_bss_add() local
497 os_memset(bss->mld_addr, 0, ETH_ALEN); in wpa_bss_add()
500 mld_addr = get_basic_mle_mld_addr(&ml_ie[3], ml_ie[1] - 1); in wpa_bss_add()
501 if (mld_addr) in wpa_bss_add()
502 os_memcpy(bss->mld_addr, mld_addr, ETH_ALEN); in wpa_bss_add()
524 if (!is_zero_ether_addr(bss->mld_addr) && in wpa_bss_add()
528 MAC2STR(bss->mld_addr)); in wpa_bss_add()
783 const u8 *ml_ie, *mld_addr; in wpa_bss_update() local
786 os_memset(bss->mld_addr, 0, ETH_ALEN); in wpa_bss_update()
789 mld_addr = get_basic_mle_mld_addr(&ml_ie[3], in wpa_bss_update()
[all …]
H A Dsme.c93 const u8 *mld_addr, in sme_auth_build_sae_commit() argument
107 const u8 *addr = mld_addr ? mld_addr : bssid; in sme_auth_build_sae_commit()
479 const u8 *mld_addr; in wpas_sme_ml_auth() local
504 mld_addr = get_basic_mle_mld_addr(elems.basic_mle, elems.basic_mle_len); in wpas_sme_ml_auth()
505 if (!mld_addr) in wpas_sme_ml_auth()
508 wpa_printf(MSG_DEBUG, "MLD: mld_address=" MACSTR, MAC2STR(mld_addr)); in wpas_sme_ml_auth()
510 if (!ether_addr_equal(wpa_s->ap_mld_addr, mld_addr)) { in wpas_sme_ml_auth()
1322 static void wpa_auth_ml_ie(struct wpabuf *buf, const u8 *mld_addr) in wpa_auth_ml_ie() argument
1335 wpabuf_put_data(buf, mld_addr, ETH_ALEN); in wpa_auth_ml_ie()
1343 u16 status_code, const u8 *mld_addr) in sme_external_auth_build_buf() argument
[all …]
H A Dbss.h128 u8 mld_addr[ETH_ALEN]; member
H A Dwnm_sta.c2064 is_zero_ether_addr(bss->mld_addr)) { in wnm_is_bss_excluded()
2068 if (ether_addr_equal(bss->mld_addr, wpa_s->wnm_dissoc_addr)) in wnm_is_bss_excluded()
H A Dwpa_supplicant.c1095 char mld_addr[50]; in wpa_supplicant_set_state() local
1097 mld_addr[0] = '\0'; in wpa_supplicant_set_state()
1099 os_snprintf(mld_addr, sizeof(mld_addr), in wpa_supplicant_set_state()
1118 fils_hlp_sent ? " FILS_HLP_SENT" : "", mld_addr); in wpa_supplicant_set_state()
3467 !is_zero_ether_addr(bss->mld_addr)) in wpas_populate_assoc_ies()
3468 addr = bss->mld_addr; in wpas_populate_assoc_ies()
/freebsd/sys/netinet6/
H A Dmld6.c619 ip6_sprintf(ip6tbuf, &mld->mld_addr), in mld_v1_input_query()
639 if (IN6_IS_ADDR_UNSPECIFIED(&mld->mld_addr)) { in mld_v1_input_query()
656 in6_setscope(&mld->mld_addr, ifp, NULL); in mld_v1_input_query()
692 inm = in6m_lookup_locked(ifp, &mld->mld_addr); in mld_v1_input_query()
695 ip6_sprintf(ip6tbuf, &mld->mld_addr), in mld_v1_input_query()
700 in6_clearscope(&mld->mld_addr); in mld_v1_input_query()
848 if (IN6_IS_ADDR_UNSPECIFIED(&mld->mld_addr)) { in mld_v2_input_query()
862 in6_setscope(&mld->mld_addr, ifp, NULL); in mld_v2_input_query()
914 inm = in6m_lookup_locked(ifp, &mld->mld_addr); in mld_v2_input_query()
938 in6_clearscope(&mld->mld_addr); in mld_v2_input_query()
[all …]
H A Dmld6.h48 struct in6_addr mld_addr; /* address being queried */ member
/freebsd/contrib/wpa/src/ap/
H A Dieee802_11_eht.c492 wpabuf_put_data(buf, hapd->mld->mld_addr, ETH_ALEN); in hostapd_eid_eht_basic_ml_common()
827 wpabuf_put_data(buf, hapd->mld->mld_addr, ETH_ALEN); in hostapd_ml_auth_resp()
1073 u8 *mld_addr) in hostapd_process_ml_assoc_req_addr() argument
1141 os_memcpy(mld_addr, common_info->mld_addr, ETH_ALEN); in hostapd_process_ml_assoc_req_addr()
1242 MAC2STR(info->common_info.mld_addr), in hostapd_process_ml_assoc_req()
1246 if (!ether_addr_equal(info->common_info.mld_addr, in hostapd_process_ml_assoc_req()
1247 common_info->mld_addr)) { in hostapd_process_ml_assoc_req()
1251 MAC2STR(info->common_info.mld_addr), in hostapd_process_ml_assoc_req()
1252 MAC2STR(common_info->mld_addr)); in hostapd_process_ml_assoc_req()
H A Dwpa_auth.c93 return sm->wpa_auth->mld_addr; in wpa_auth_get_aa()
150 const u8 *mld_addr; member
162 if (ctx->mld_addr && in wpa_get_link_sta_auth()
163 !ether_addr_equal(wpa_auth->mld_addr, ctx->mld_addr)) in wpa_get_link_sta_auth()
183 ctx.mld_addr = wpa_auth->mld_addr; in wpa_get_link_auth()
197 !ether_addr_equal(wpa_auth->mld_addr, ctx->addr) || in wpa_get_primary_auth_cb()
217 ctx.addr = wpa_auth->mld_addr; in wpa_get_primary_auth()
538 const u8 *mld_addr = ctx; in wpa_update_all_gtks_cb() local
540 if (!ether_addr_equal(wpa_auth->mld_addr, mld_addr)) in wpa_update_all_gtks_cb()
551 const u8 *mld_addr = ctx; in wpa_rekey_all_groups_cb() local
[all …]
H A Dwpa_auth_i.h265 u8 mld_addr[ETH_ALEN]; member
H A Dsta_info.h78 u8 mld_addr[ETH_ALEN]; member
H A Dap_drv_ops.c877 own_addr = hapd->mld->mld_addr; in hostapd_drv_sta_deauth()
898 own_addr = hapd->mld->mld_addr; in hostapd_drv_sta_disassoc()
956 own_addr = hapd->mld->mld_addr; in hapd_drv_send_action()
H A Ddrv_callbacks.c368 os_memcpy(info->common_info.mld_addr, addr, ETH_ALEN); in hostapd_notif_assoc()
1805 ether_addr_equal(bssid, hapd->mld->mld_addr) && in get_hapd_bssid()
1817 (ether_addr_equal(bssid, p_hapd->mld->mld_addr) && in get_hapd_bssid()
1934 ether_addr_equal(hapd->mld->mld_addr, in hostapd_mgmt_tx_cb()
2341 os_memcpy(info->common_info.mld_addr, peer, ETH_ALEN); in hostapd_notif_update_dh_ie()
H A Dieee802_11_shared.c124 own_addr = hapd->mld->mld_addr; in ieee802_11_send_sa_query_req()
222 own_addr = hapd->mld->mld_addr; in ieee802_11_send_sa_query_resp()
H A Dieee802_11.h109 u8 *mld_addr);
H A Dwnm_ap.c54 own_addr = hapd->mld->mld_addr; in wnm_ap_get_own_addr()
1046 MAC2STR(sta->mld_info.common_info.mld_addr)); in wnm_send_bss_tm_req()
H A Dwpa_auth_glue.c1708 _conf.mld_addr = NULL; in hostapd_setup_wpa()
1715 _conf.mld_addr = hapd->mld->mld_addr; in hostapd_setup_wpa()
H A Dhostapd.h509 u8 mld_addr[ETH_ALEN]; member
H A Dieee802_11.c619 own_addr = hapd->mld->mld_addr; in auth_build_sae_commit()
3008 ether_addr_equal(sa, hapd->mld->mld_addr))) { in handle_auth()
3171 os_memcpy(sta->mld_info.common_info.mld_addr, sa, in handle_auth()
5291 u8 mld_addr[ETH_ALEN]; in handle_mlo_translate() local
5310 mld_addr)) in handle_mlo_translate()
5313 sta = ap_get_sta(hapd, mld_addr); in handle_mlo_translate()
5318 MAC2STR(mld_addr), MAC2STR(mgmt->sa)); in handle_mlo_translate()
6280 ether_addr_equal(hapd->mld->mld_addr, mgmt->bssid)) && in ieee802_11_mgmt()
6303 ether_addr_equal(hapd->mld->mld_addr, mgmt->bssid)) && in ieee802_11_mgmt()
H A Dwpa_auth.h292 const u8 *mld_addr; member
H A Dap_config.h974 u8 mld_addr[ETH_ALEN]; member
/freebsd/usr.sbin/mld6query/
H A Dmld6.c69 #define mld_addr mld6_addr macro
224 mldh.mld_addr = *qaddr; in make_msg()
324 printf("addr=%s\n", inet_ntop(AF_INET6, &mld->mld_addr, in dump()
/freebsd/contrib/wpa/hostapd/
H A Dmain.c187 os_memcpy(hapd->own_addr, h_hapd->mld->mld_addr, in hostapd_driver_init()
234 if (!is_zero_ether_addr(hapd->conf->mld_addr)) in hostapd_driver_init()
235 params.bssid = hapd->conf->mld_addr; in hostapd_driver_init()
274 os_memcpy(hapd->mld->mld_addr, hapd->own_addr, ETH_ALEN); in hostapd_driver_init()
338 hapd->mld_link_id, MAC2STR(hapd->mld->mld_addr), in hostapd_driver_init()
/freebsd/contrib/wpa/src/drivers/
H A Ddriver_nl80211_event.c3498 char mld_addr[50]; in nl80211_external_auth() local
3529 mld_addr[0] = '\0'; in nl80211_external_auth()
3531 event.external_auth.mld_addr = in nl80211_external_auth()
3533 os_snprintf(mld_addr, sizeof(mld_addr), ", MLD ADDR: " MACSTR, in nl80211_external_auth()
3534 MAC2STR(event.external_auth.mld_addr)); in nl80211_external_auth()
3543 MAC2STR(event.external_auth.bssid), mld_addr); in nl80211_external_auth()
H A Ddriver.h941 const u8 *mld_addr; member
2919 const u8 *mld_addr; member

12