/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | bss.c | 482 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 D | sme.c | 93 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 D | bss.h | 128 u8 mld_addr[ETH_ALEN]; member
|
H A D | wnm_sta.c | 2064 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 D | wpa_supplicant.c | 1095 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 D | mld6.c | 619 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 D | mld6.h | 48 struct in6_addr mld_addr; /* address being queried */ member
|
/freebsd/contrib/wpa/src/ap/ |
H A D | ieee802_11_eht.c | 492 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 D | wpa_auth.c | 93 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 D | wpa_auth_i.h | 265 u8 mld_addr[ETH_ALEN]; member
|
H A D | sta_info.h | 78 u8 mld_addr[ETH_ALEN]; member
|
H A D | ap_drv_ops.c | 877 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 D | drv_callbacks.c | 368 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 D | ieee802_11_shared.c | 124 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 D | ieee802_11.h | 109 u8 *mld_addr);
|
H A D | wnm_ap.c | 54 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 D | wpa_auth_glue.c | 1708 _conf.mld_addr = NULL; in hostapd_setup_wpa() 1715 _conf.mld_addr = hapd->mld->mld_addr; in hostapd_setup_wpa()
|
H A D | hostapd.h | 509 u8 mld_addr[ETH_ALEN]; member
|
H A D | ieee802_11.c | 619 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 D | wpa_auth.h | 292 const u8 *mld_addr; member
|
H A D | ap_config.h | 974 u8 mld_addr[ETH_ALEN]; member
|
/freebsd/usr.sbin/mld6query/ |
H A D | mld6.c | 69 #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 D | main.c | 187 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 D | driver_nl80211_event.c | 3498 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 D | driver.h | 941 const u8 *mld_addr; member 2919 const u8 *mld_addr; member
|