/freebsd/contrib/wpa/src/common/ |
H A D | ptksa_cache.c | 41 if (!ptksa) in ptksa_cache_expire() 46 dl_list_for_each_safe(e, next, &ptksa->ptksa, in ptksa_cache_expire() 69 if (!ptksa || !ptksa->n_ptksa) in ptksa_cache_set_expiration() 96 if (ptksa) in ptksa_cache_init() 97 dl_list_init(&ptksa->ptksa); in ptksa_cache_init() 111 if (!ptksa) in ptksa_cache_deinit() 116 dl_list_for_each_safe(e, next, &ptksa->ptksa, in ptksa_cache_deinit() 137 if (!ptksa) in ptksa_cache_get() 167 if (!ptksa) in ptksa_cache_list() 233 if (!ptksa) in ptksa_cache_flush() [all …]
|
H A D | ptksa_cache.h | 33 void ptksa_cache_deinit(struct ptksa_cache *ptksa); 34 struct ptksa_cache_entry * ptksa_cache_get(struct ptksa_cache *ptksa, 36 int ptksa_cache_list(struct ptksa_cache *ptksa, char *buf, size_t len); 37 struct ptksa_cache_entry * ptksa_cache_add(struct ptksa_cache *ptksa, 41 void ptksa_cache_flush(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher); 50 static inline void ptksa_cache_deinit(struct ptksa_cache *ptksa) in ptksa_cache_deinit() argument 55 ptksa_cache_get(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher) in ptksa_cache_get() argument 60 static inline int ptksa_cache_list(struct ptksa_cache *ptksa, in ptksa_cache_list() argument 67 ptksa_cache_add(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher, in ptksa_cache_add() argument 73 static inline void ptksa_cache_flush(struct ptksa_cache *ptksa, in ptksa_cache_flush() argument
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | wpas_glue.c | 1357 ptksa_cache_add(wpa_s->ptksa, addr, cipher, life_time, ptk); in wpa_supplicant_store_ptk() 1368 wpa_s->ptksa = ptksa_cache_init(); in wpa_supplicant_init_wpa() 1369 if (!wpa_s->ptksa) { in wpa_supplicant_init_wpa() 1378 ptksa_cache_deinit(wpa_s->ptksa); in wpa_supplicant_init_wpa() 1379 wpa_s->ptksa = NULL; in wpa_supplicant_init_wpa() 1431 ptksa_cache_deinit(wpa_s->ptksa); in wpa_supplicant_init_wpa() 1432 wpa_s->ptksa = NULL; in wpa_supplicant_init_wpa()
|
H A D | pasn_supplicant.c | 1568 ptksa_cache_add(wpa_s->ptksa, pasn->bssid, pasn->cipher, in wpas_pasn_auth_rx() 1676 ptksa_cache_flush(wpa_s->ptksa, bssid, WPA_CIPHER_NONE); in wpas_pasn_deauthenticate()
|
H A D | wpa_supplicant_i.h | 808 struct ptksa_cache *ptksa; member
|
H A D | wpa_supplicant.c | 583 ptksa_cache_deinit(wpa_s->ptksa); in wpa_supplicant_cleanup() 584 wpa_s->ptksa = NULL; in wpa_supplicant_cleanup()
|
H A D | ctrl_iface.c | 8482 ptksa_cache_flush(wpa_s->ptksa, NULL, WPA_CIPHER_NONE); in wpa_supplicant_ctrl_iface_flush() 10434 ptksa_cache_flush(wpa_s->ptksa, NULL, WPA_CIPHER_NONE); in wpas_ctrl_iface_pmksa_flush() 12369 reply_len = ptksa_cache_list(wpa_s->ptksa, reply, reply_size); in wpa_supplicant_ctrl_iface_process()
|
H A D | events.c | 3694 ptksa_cache_flush(wpa_s->ptksa, wpa_s->bssid, WPA_CIPHER_NONE); in wpa_supplicant_event_disassoc_finish()
|
/freebsd/contrib/wpa/src/ap/ |
H A D | wpa_auth_glue.c | 928 ptksa_cache_add(hapd->ptksa, addr, cipher, life_time, ptk); in hostapd_store_ptksa() 936 ptksa_cache_flush(hapd->ptksa, addr, cipher); in hostapd_clear_ptksa() 1556 if (!hapd->ptksa) in hostapd_setup_wpa() 1557 hapd->ptksa = ptksa_cache_init(); in hostapd_setup_wpa() 1558 if (!hapd->ptksa) { in hostapd_setup_wpa() 1602 ptksa_cache_deinit(hapd->ptksa); in hostapd_deinit_wpa() 1603 hapd->ptksa = NULL; in hostapd_deinit_wpa()
|
H A D | hostapd.h | 377 struct ptksa_cache *ptksa; member
|
H A D | ieee802_11.c | 3485 ptksa_cache_add(hapd->ptksa, sta->addr, sta->pasn->cipher, 43200, in handle_auth_pasn_3() 5922 ptksa_cache_flush(hapd->ptksa, mgmt->sa, WPA_CIPHER_NONE); in handle_deauth()
|
/freebsd/contrib/wpa/hostapd/ |
H A D | ctrl_iface.c | 4012 reply_len = ptksa_cache_list(hapd->ptksa, reply, reply_size); in hostapd_ctrl_iface_receive_process()
|