/freebsd/contrib/wpa/src/common/ |
H A D | ptksa_cache.c | 18 struct dl_list ptksa; member 24 static void ptksa_cache_set_expiration(struct ptksa_cache *ptksa); 27 static void ptksa_cache_free_entry(struct ptksa_cache *ptksa, in ptksa_cache_free_entry() argument 30 ptksa->n_ptksa--; in ptksa_cache_free_entry() 39 struct ptksa_cache *ptksa = eloop_ctx; in ptksa_cache_expire() local 43 if (!ptksa) in ptksa_cache_expire() 48 dl_list_for_each_safe(e, next, &ptksa->ptksa, in ptksa_cache_expire() 59 ptksa_cache_free_entry(ptksa, e); in ptksa_cache_expire() 62 ptksa_cache_set_expiration(ptksa); in ptksa_cache_expire() 66 static void ptksa_cache_set_expiration(struct ptksa_cache *ptksa) in ptksa_cache_set_expiration() argument [all …]
|
H A D | ptksa_cache.h | 36 void ptksa_cache_deinit(struct ptksa_cache *ptksa); 37 struct ptksa_cache_entry * ptksa_cache_get(struct ptksa_cache *ptksa, 39 int ptksa_cache_list(struct ptksa_cache *ptksa, char *buf, size_t len); 40 struct ptksa_cache_entry * ptksa_cache_add(struct ptksa_cache *ptksa, 48 void ptksa_cache_flush(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher);
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | wpas_glue.c | 1388 ptksa_cache_add(wpa_s->ptksa, wpa_s->own_addr, addr, cipher, life_time, in wpa_supplicant_store_ptk() 1434 wpa_s->ptksa = ptksa_cache_init(); in wpa_supplicant_init_wpa() 1435 if (!wpa_s->ptksa) { in wpa_supplicant_init_wpa() 1444 ptksa_cache_deinit(wpa_s->ptksa); in wpa_supplicant_init_wpa() 1445 wpa_s->ptksa = NULL; in wpa_supplicant_init_wpa() 1502 ptksa_cache_deinit(wpa_s->ptksa); in wpa_supplicant_init_wpa() 1503 wpa_s->ptksa = NULL; in wpa_supplicant_init_wpa()
|
H A D | pasn_supplicant.c | 316 entry = ptksa_cache_get(wpa_s->ptksa, peer_addr, cipher); in wpas_pasn_set_keys_from_cache() 423 ptksa_cache_flush(wpa_s->ptksa, peer->peer_addr, in wpas_pasn_delete_peers() 812 ptksa_cache_add(wpa_s->ptksa, pasn->own_addr, pasn->peer_addr, in wpas_pasn_auth_rx() 942 ptksa_cache_flush(wpa_s->ptksa, peer_addr, WPA_CIPHER_NONE); in wpas_pasn_deauthenticate()
|
H A D | wpa_supplicant_i.h | 813 struct ptksa_cache *ptksa; member
|
H A D | wpa_supplicant.c | 592 ptksa_cache_deinit(wpa_s->ptksa); in wpa_supplicant_cleanup() 593 wpa_s->ptksa = NULL; in wpa_supplicant_cleanup()
|
H A D | ctrl_iface.c | 8869 ptksa_cache_flush(wpa_s->ptksa, NULL, WPA_CIPHER_NONE); in wpa_supplicant_ctrl_iface_flush() 10826 ptksa_cache_flush(wpa_s->ptksa, NULL, WPA_CIPHER_NONE); in wpas_ctrl_iface_pmksa_flush() 13543 reply_len = ptksa_cache_list(wpa_s->ptksa, reply, reply_size); in wpa_supplicant_ctrl_iface_process()
|
H A D | events.c | 4615 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 | 974 ptksa_cache_add(hapd->ptksa, hapd->own_addr, addr, cipher, life_time, in hostapd_store_ptksa() 983 ptksa_cache_flush(hapd->ptksa, addr, cipher); in hostapd_clear_ptksa() 1753 if (!hapd->ptksa) in hostapd_setup_wpa() 1754 hapd->ptksa = ptksa_cache_init(); in hostapd_setup_wpa() 1755 if (!hapd->ptksa) { in hostapd_setup_wpa() 1799 ptksa_cache_deinit(hapd->ptksa); in hostapd_deinit_wpa() 1800 hapd->ptksa = NULL; in hostapd_deinit_wpa()
|
H A D | hostapd.h | 415 struct ptksa_cache *ptksa; member
|
H A D | ieee802_11.c | 2681 entry = ptksa_cache_get(hapd->ptksa, sta_addr, cipher); in pasn_set_keys_from_cache() 2850 ptksa_cache_add(hapd->ptksa, hapd->own_addr, sta->addr, in handle_auth_pasn() 5935 ptksa_cache_flush(hapd->ptksa, mgmt->sa, WPA_CIPHER_NONE); in handle_deauth()
|
/freebsd/contrib/wpa/hostapd/ |
H A D | ctrl_iface.c | 4564 reply_len = ptksa_cache_list(hapd->ptksa, reply, reply_size); in hostapd_ctrl_iface_receive_process()
|