Searched refs:ptksa (Results 1 - 12 of 12) sorted by relevance

/freebsd-current/contrib/wpa/src/common/
H A Dptksa_cache.c18 struct dl_list ptksa; member in struct:ptksa_cache
22 static void ptksa_cache_set_expiration(struct ptksa_cache *ptksa);
25 static void ptksa_cache_free_entry(struct ptksa_cache *ptksa, argument
28 ptksa->n_ptksa--;
37 struct ptksa_cache *ptksa = eloop_ctx; local
41 if (!ptksa)
46 dl_list_for_each_safe(e, next, &ptksa->ptksa,
54 ptksa_cache_free_entry(ptksa, e);
57 ptksa_cache_set_expiration(ptksa);
61 ptksa_cache_set_expiration(struct ptksa_cache *ptksa) argument
92 struct ptksa_cache *ptksa = os_zalloc(sizeof(struct ptksa_cache)); local
107 ptksa_cache_deinit(struct ptksa_cache *ptksa) argument
132 ptksa_cache_get(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher) argument
160 ptksa_cache_list(struct ptksa_cache *ptksa, char *buf, size_t len) argument
228 ptksa_cache_flush(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher) argument
267 ptksa_cache_add(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher, u32 life_time, const struct wpa_ptk *ptk) argument
[all...]
H A Dptksa_cache.h33 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) argument
55 ptksa_cache_get(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher) argument
60 static inline int ptksa_cache_list(struct ptksa_cache *ptksa, argument
67 ptksa_cache_add(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher, argument
73 static inline void ptksa_cache_flush(struct ptksa_cache *ptksa, argument
[all...]
/freebsd-current/contrib/wpa/wpa_supplicant/
H A Dwpas_glue.c1357 ptksa_cache_add(wpa_s->ptksa, addr, cipher, life_time, ptk);
1368 wpa_s->ptksa = ptksa_cache_init();
1369 if (!wpa_s->ptksa) {
1378 ptksa_cache_deinit(wpa_s->ptksa);
1379 wpa_s->ptksa = NULL;
1431 ptksa_cache_deinit(wpa_s->ptksa);
1432 wpa_s->ptksa = NULL;
H A Dpasn_supplicant.c1568 ptksa_cache_add(wpa_s->ptksa, pasn->bssid, pasn->cipher,
1676 ptksa_cache_flush(wpa_s->ptksa, bssid, WPA_CIPHER_NONE);
H A Dwpa_supplicant_i.h808 struct ptksa_cache *ptksa; member in struct:wpa_supplicant
H A Dctrl_iface.c8482 ptksa_cache_flush(wpa_s->ptksa, NULL, WPA_CIPHER_NONE);
10434 ptksa_cache_flush(wpa_s->ptksa, NULL, WPA_CIPHER_NONE);
12369 reply_len = ptksa_cache_list(wpa_s->ptksa, reply, reply_size);
H A Dwpa_supplicant.c583 ptksa_cache_deinit(wpa_s->ptksa);
584 wpa_s->ptksa = NULL;
H A Devents.c3694 ptksa_cache_flush(wpa_s->ptksa, wpa_s->bssid, WPA_CIPHER_NONE);
/freebsd-current/contrib/wpa/src/ap/
H A Dwpa_auth_glue.c928 ptksa_cache_add(hapd->ptksa, addr, cipher, life_time, ptk);
936 ptksa_cache_flush(hapd->ptksa, addr, cipher);
1556 if (!hapd->ptksa)
1557 hapd->ptksa = ptksa_cache_init();
1558 if (!hapd->ptksa) {
1602 ptksa_cache_deinit(hapd->ptksa);
1603 hapd->ptksa = NULL;
H A Dhostapd.h377 struct ptksa_cache *ptksa; member in struct:hostapd_data
H A Dieee802_11.c3485 ptksa_cache_add(hapd->ptksa, sta->addr, sta->pasn->cipher, 43200,
5922 ptksa_cache_flush(hapd->ptksa, mgmt->sa, WPA_CIPHER_NONE);
/freebsd-current/contrib/wpa/hostapd/
H A Dctrl_iface.c4012 reply_len = ptksa_cache_list(hapd->ptksa, reply, reply_size);

Completed in 380 milliseconds