Home
last modified time | relevance | path

Searched refs:spa (Results 1 - 25 of 39) sorted by relevance

12

/third_party/libwebsockets/lib/roles/http/server/
H A Dlws-spa.c56 typedef int (*lws_urldecode_stateful_cb)(struct lws_spa *spa,
98 lws_urldecode_s_create(struct lws_spa *spa, struct lws *wsi, char *out, in lws_urldecode_s_create() argument
105 if (spa->i.ac) in lws_urldecode_s_create()
106 s = lwsac_use_zero(spa->i.ac, sizeof(*s), spa->i.ac_chunk_size); in lws_urldecode_s_create()
121 s->data = spa; in lws_urldecode_s_create()
457 lws_urldecode_s_destroy(struct lws_spa *spa, struct lws_urldecode_stateful *s) in lws_urldecode_s_destroy() argument
472 if (!spa->i.ac) in lws_urldecode_s_destroy()
479 lws_urldecode_spa_lookup(struct lws_spa *spa, const char *name) in lws_urldecode_spa_lookup() argument
481 const char * const *pp = spa in lws_urldecode_spa_lookup()
498 lws_urldecode_spa_cb(struct lws_spa *spa, const char *name, char **buf, int len, int final) lws_urldecode_spa_cb() argument
550 struct lws_spa *spa; lws_spa_create_via_info() local
642 lws_spa_process(struct lws_spa *spa, const char *in, int len) lws_spa_process() argument
656 lws_spa_get_length(struct lws_spa *spa, int n) lws_spa_get_length() argument
665 lws_spa_get_string(struct lws_spa *spa, int n) lws_spa_get_string() argument
674 lws_spa_finalize(struct lws_spa *spa) lws_spa_finalize() argument
690 lws_spa_destroy(struct lws_spa *spa) lws_spa_destroy() argument
[all...]
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-form-post/
H A Dminimal-http-server-form-post.c24 struct lws_spa *spa; member
70 if (!pss->spa) { in callback_http()
71 pss->spa = lws_spa_create(wsi, param_names, in callback_http()
74 if (!pss->spa) in callback_http()
80 if (lws_spa_process(pss->spa, in, (int)len)) in callback_http()
85 if (pss->spa && lws_spa_destroy(pss->spa)) in callback_http()
91 /* inform the spa no more payload data coming */ in callback_http()
94 lws_spa_finalize(pss->spa); in callback_http()
98 if (pss->spa) in callback_http()
[all...]
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-form-post-lwsac/
H A Dminimal-http-server-form-post.c24 struct lws_spa *spa; member
71 if (!pss->spa) { in callback_http()
80 pss->spa = lws_spa_create_via_info(wsi, &i); /* no file upload */ in callback_http()
81 if (!pss->spa) in callback_http()
87 if (lws_spa_process(pss->spa, in, (int)len)) in callback_http()
93 /* inform the spa no more payload data coming */ in callback_http()
96 lws_spa_finalize(pss->spa); in callback_http()
101 if (!lws_spa_get_string(pss->spa, n)) in callback_http()
106 lws_spa_get_length(pss->spa, n), in callback_http()
107 lws_spa_get_string(pss->spa, in callback_http()
[all...]
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-form-post-file/
H A Dminimal-http-server-form-post-file.c31 struct lws_spa *spa; /* lws helper decodes multipart form */ member
131 if (!pss->spa) { in callback_http()
132 pss->spa = lws_spa_create(wsi, param_names, in callback_http()
135 if (!pss->spa) in callback_http()
141 if (lws_spa_process(pss->spa, in, (int)len)) in callback_http()
147 /* inform the spa no more payload data coming */ in callback_http()
149 lws_spa_finalize(pss->spa); in callback_http()
154 if (!lws_spa_get_string(pss->spa, n)) in callback_http()
159 lws_spa_get_length(pss->spa, n), in callback_http()
160 lws_spa_get_string(pss->spa, in callback_http()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dpmksa_cache_auth.c103 MACSTR_SEC, MAC2STR_SEC(pmksa->pmksa->spa)); in pmksa_cache_auth_flush()
117 MACSTR_SEC, MAC2STR_SEC(pmksa->pmksa->spa)); in pmksa_cache_expire()
253 MAC2STR_SEC(entry->spa)); in pmksa_cache_link_entry()
267 * @spa: Supplicant address
282 const u8 *aa, const u8 *spa, int session_timeout, in pmksa_cache_auth_add()
288 aa, spa, session_timeout, eapol, in pmksa_cache_auth_add()
306 * @spa: Supplicant address
317 const u8 *spa, int session_timeout, in pmksa_cache_auth_create_entry()
337 rsn_pmkid_suite_b_192(kck, kck_len, aa, spa, entry->pmkid); in pmksa_cache_auth_create_entry()
339 rsn_pmkid_suite_b(kck, kck_len, aa, spa, entr in pmksa_cache_auth_create_entry()
279 pmksa_cache_auth_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len, const u8 *pmkid, const u8 *kck, size_t kck_len, const u8 *aa, const u8 *spa, int session_timeout, struct eapol_state_machine *eapol, int akmp) pmksa_cache_auth_add() argument
315 pmksa_cache_auth_create_entry(const u8 *pmk, size_t pmk_len, const u8 *pmkid, const u8 *kck, size_t kck_len, const u8 *aa, const u8 *spa, int session_timeout, struct eapol_state_machine *eapol, int akmp) pmksa_cache_auth_create_entry() argument
474 pmksa_cache_auth_get(struct rsn_pmksa_cache *pmksa, const u8 *spa, const u8 *pmkid) pmksa_cache_auth_get() argument
509 pmksa_cache_get_okc( struct rsn_pmksa_cache *pmksa, const u8 *aa, const u8 *spa, const u8 *pmkid) pmksa_cache_get_okc() argument
[all...]
H A Dpmksa_cache_auth.h24 u8 spa[ETH_ALEN]; member
46 const u8 *spa, const u8 *pmkid);
48 struct rsn_pmksa_cache *pmksa, const u8 *spa, const u8 *aa,
54 const u8 *aa, const u8 *spa, int session_timeout,
59 const u8 *spa, int session_timeout,
H A Dctrl_iface_ap.c953 u8 spa[ETH_ALEN]; in hostapd_ctrl_iface_pmksa_add() local
965 if (hwaddr_aton(cmd, spa)) in hostapd_ctrl_iface_pmksa_add()
994 return wpa_auth_pmksa_add2(hapd->wpa_auth, spa, pmk, pmk_len, in hostapd_ctrl_iface_pmksa_add()
1011 u8 spa[ETH_ALEN]; in hostapd_ctrl_iface_pmksa_create_entry() local
1022 if (hwaddr_aton(cmd, spa)) in hostapd_ctrl_iface_pmksa_create_entry()
1049 return wpa_auth_pmksa_create_entry(aa, spa, pmk, PMK_LEN, in hostapd_ctrl_iface_pmksa_create_entry()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dpmksa_cache_auth.c103 MACSTR, MAC2STR(pmksa->pmksa->spa)); in pmksa_cache_auth_flush()
117 MACSTR, MAC2STR(pmksa->pmksa->spa)); in pmksa_cache_expire()
253 MAC2STR(entry->spa)); in pmksa_cache_link_entry()
267 * @spa: Supplicant address
282 const u8 *aa, const u8 *spa, int session_timeout, in pmksa_cache_auth_add()
288 aa, spa, session_timeout, eapol, in pmksa_cache_auth_add()
306 * @spa: Supplicant address
317 const u8 *spa, int session_timeout, in pmksa_cache_auth_create_entry()
337 rsn_pmkid_suite_b_192(kck, kck_len, aa, spa, entry->pmkid); in pmksa_cache_auth_create_entry()
339 rsn_pmkid_suite_b(kck, kck_len, aa, spa, entr in pmksa_cache_auth_create_entry()
279 pmksa_cache_auth_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len, const u8 *pmkid, const u8 *kck, size_t kck_len, const u8 *aa, const u8 *spa, int session_timeout, struct eapol_state_machine *eapol, int akmp) pmksa_cache_auth_add() argument
315 pmksa_cache_auth_create_entry(const u8 *pmk, size_t pmk_len, const u8 *pmkid, const u8 *kck, size_t kck_len, const u8 *aa, const u8 *spa, int session_timeout, struct eapol_state_machine *eapol, int akmp) pmksa_cache_auth_create_entry() argument
474 pmksa_cache_auth_get(struct rsn_pmksa_cache *pmksa, const u8 *spa, const u8 *pmkid) pmksa_cache_auth_get() argument
509 pmksa_cache_get_okc( struct rsn_pmksa_cache *pmksa, const u8 *aa, const u8 *spa, const u8 *pmkid) pmksa_cache_get_okc() argument
[all...]
H A Dpmksa_cache_auth.h24 u8 spa[ETH_ALEN]; member
46 const u8 *spa, const u8 *pmkid);
48 struct rsn_pmksa_cache *pmksa, const u8 *spa, const u8 *aa,
54 const u8 *aa, const u8 *spa, int session_timeout,
59 const u8 *spa, int session_timeout,
H A Dctrl_iface_ap.c896 u8 spa[ETH_ALEN]; in hostapd_ctrl_iface_pmksa_add() local
908 if (hwaddr_aton(cmd, spa)) in hostapd_ctrl_iface_pmksa_add()
937 return wpa_auth_pmksa_add2(hapd->wpa_auth, spa, pmk, pmk_len, in hostapd_ctrl_iface_pmksa_add()
954 u8 spa[ETH_ALEN]; in hostapd_ctrl_iface_pmksa_create_entry() local
965 if (hwaddr_aton(cmd, spa)) in hostapd_ctrl_iface_pmksa_create_entry()
992 return wpa_auth_pmksa_create_entry(aa, spa, pmk, pmkid, expiration); in hostapd_ctrl_iface_pmksa_create_entry()
/third_party/libwebsockets/plugins/
H A Dprotocol_post_demo.c42 struct lws_spa *spa; member
135 if (!pss->spa) { in format_result()
137 "pss->spa already NULL"); in format_result()
150 if (!lws_spa_get_string(pss->spa, n)) in format_result()
160 lws_spa_get_length(pss->spa, n), in format_result()
161 lws_spa_get_string(pss->spa, n)); in format_result()
187 if (!pss->spa) { in callback_post_demo()
188 pss->spa = lws_spa_create(wsi, param_names, in callback_post_demo()
191 if (!pss->spa) in callback_post_demo()
199 if (lws_spa_process(pss->spa, i in callback_post_demo()
[all...]
/third_party/libwebsockets/include/libwebsockets/
H A Dlws-spa.h137 * \param spa: the parser object previously created
142 lws_spa_process(struct lws_spa *spa, const char *in, int len);
147 * \param spa: the parser object previously created
150 lws_spa_finalize(struct lws_spa *spa);
155 * \param spa: the parser object previously created
159 lws_spa_get_length(struct lws_spa *spa, int n);
163 * \param spa: the parser object previously created
167 lws_spa_get_string(struct lws_spa *spa, int n);
172 * \param spa: the parser object previously created
175 lws_spa_destroy(struct lws_spa *spa);
[all...]
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/
H A Dthreads_scenarii.c46 #define CASE(det,expl,scp,spa,sco,sta,gua,ssi,desc,res) \
51 .schedparam=spa, \
59 #define CASE_POS(det,expl,scp,spa,sco,sta,gua,ssi,desc) CASE(det,expl,scp,spa,sco,sta,gua,ssi,desc,0)
60 #define CASE_NEG(det,expl,scp,spa,sco,sta,gua,ssi,desc) CASE(det,expl,scp,spa,sco,sta,gua,ssi,desc,1)
61 #define CASE_UNK(det,expl,scp,spa,sco,sta,gua,ssi,desc) CASE(det,expl,scp,spa,sco,sta,gua,ssi,desc,2)
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_exit/
H A Dthreads_scenarii.c46 #define CASE(det,expl,scp,spa,sco,sta,gua,ssi,desc,res) \
51 .schedparam=spa, \
59 #define CASE_POS(det,expl,scp,spa,sco,sta,gua,ssi,desc) CASE(det,expl,scp,spa,sco,sta,gua,ssi,desc,0)
60 #define CASE_NEG(det,expl,scp,spa,sco,sta,gua,ssi,desc) CASE(det,expl,scp,spa,sco,sta,gua,ssi,desc,1)
61 #define CASE_UNK(det,expl,scp,spa,sco,sta,gua,ssi,desc) CASE(det,expl,scp,spa,sco,sta,gua,ssi,desc,2)
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/testfrmw/
H A Dthreads_scenarii.c89 #define CASE(det, expl, scp, spa, sco, sta, gua, ssi, desc, res) \
94 .schedparam = spa, \
103 #define CASE_POS(det, expl, scp, spa, sco, sta, gua, ssi, desc) \
104 CASE(det, expl, scp, spa, sco, sta, gua, ssi, desc, 0)
105 #define CASE_NEG(det, expl, scp, spa, sco, sta, gua, ssi, desc) \
106 CASE(det, expl, scp, spa, sco, sta, gua, ssi, desc, 1)
107 #define CASE_UNK(det, expl, scp, spa, sco, sta, gua, ssi, desc) \
108 CASE(det, expl, scp, spa, sco, sta, gua, ssi, desc, 2)
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_self/
H A Dthreads_scenarii.c46 #define CASE(det,expl,scp,spa,sco,sta,gua,ssi,desc,res) \
51 .schedparam=spa, \
59 #define CASE_POS(det,expl,scp,spa,sco,sta,gua,ssi,desc) CASE(det,expl,scp,spa,sco,sta,gua,ssi,desc,0)
60 #define CASE_NEG(det,expl,scp,spa,sco,sta,gua,ssi,desc) CASE(det,expl,scp,spa,sco,sta,gua,ssi,desc,1)
61 #define CASE_UNK(det,expl,scp,spa,sco,sta,gua,ssi,desc) CASE(det,expl,scp,spa,sco,sta,gua,ssi,desc,2)
/third_party/libwebsockets/plugins/deaddrop/
H A Dprotocol_lws_deaddrop.c76 struct lws_spa *spa; member
569 if (!pss->spa) { in callback_deaddrop()
572 pss->spa = lws_spa_create(wsi, param_names, in callback_deaddrop()
575 if (!pss->spa) in callback_deaddrop()
592 if (lws_spa_process(pss->spa, in, (int)len)) { in callback_deaddrop()
593 lwsl_notice("spa saw a problem\n"); in callback_deaddrop()
595 lws_spa_finalize(pss->spa); in callback_deaddrop()
604 lws_spa_finalize(pss->spa); in callback_deaddrop()
664 if (pss->spa) { in callback_deaddrop()
665 lws_spa_destroy(pss->spa); in callback_deaddrop()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
H A Dwpa_common.h357 int fils_pmk_to_ptk(const u8 *pmk, size_t pmk_len, const u8 *spa, const u8 *aa,
413 void rsn_pmkid(const u8 *pmk, size_t pmk_len, const u8 *aa, const u8 *spa,
417 const u8 *spa, u8 *pmkid);
420 const u8 *spa, u8 *pmkid) in rsn_pmkid_suite_b()
427 const u8 *spa, u8 *pmkid);
430 const u8 *aa, const u8 *spa, u8 *pmkid) in rsn_pmkid_suite_b_192()
419 rsn_pmkid_suite_b(const u8 *kck, size_t kck_len, const u8 *aa, const u8 *spa, u8 *pmkid) rsn_pmkid_suite_b() argument
429 rsn_pmkid_suite_b_192(const u8 *kck, size_t kck_len, const u8 *aa, const u8 *spa, u8 *pmkid) rsn_pmkid_suite_b_192() argument
H A Dwpa_common.c551 int fils_pmk_to_ptk(const u8 *pmk, size_t pmk_len, const u8 *spa, const u8 *aa, in fils_pmk_to_ptk() argument
580 os_memcpy(pos, spa, ETH_ALEN); in fils_pmk_to_ptk()
627 " AA=" MACSTR, MAC2STR(spa), MAC2STR(aa)); in fils_pmk_to_ptk()
1821 * @spa: Supplicant address
1837 void rsn_pmkid(const u8 *pmk, size_t pmk_len, const u8 *aa, const u8 *spa, in rsn_pmkid() argument
1847 addr[2] = spa; in rsn_pmkid()
1875 * @spa: Supplicant address
1883 const u8 *spa, u8 *pmkid) in rsn_pmkid_suite_b()
1892 addr[2] = spa; in rsn_pmkid_suite_b()
1908 * @spa
1882 rsn_pmkid_suite_b(const u8 *kck, size_t kck_len, const u8 *aa, const u8 *spa, u8 *pmkid) rsn_pmkid_suite_b() argument
1915 rsn_pmkid_suite_b_192(const u8 *kck, size_t kck_len, const u8 *aa, const u8 *spa, u8 *pmkid) rsn_pmkid_suite_b_192() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
H A Dpmksa_cache.h71 const u8 *aa, const u8 *spa, void *network_ctx, int akmp,
137 const u8 *aa, const u8 *spa, void *network_ctx, int akmp, in pmksa_cache_add()
135 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len, const u8 *pmkid, const u8 *kck, size_t kck_len, const u8 *aa, const u8 *spa, void *network_ctx, int akmp, const u8 *cache_id) pmksa_cache_add() argument
H A Dpmksa_cache.c119 * @spa: Supplicant address
133 const u8 *aa, const u8 *spa, void *network_ctx, int akmp, in pmksa_cache_add()
153 rsn_pmkid_suite_b_192(kck, kck_len, aa, spa, entry->pmkid); in pmksa_cache_add()
155 rsn_pmkid_suite_b(kck, kck_len, aa, spa, entry->pmkid); in pmksa_cache_add()
157 rsn_pmkid(pmk, pmk_len, aa, spa, entry->pmkid, akmp); in pmksa_cache_add()
131 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len, const u8 *pmkid, const u8 *kck, size_t kck_len, const u8 *aa, const u8 *spa, void *network_ctx, int akmp, const u8 *cache_id) pmksa_cache_add() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
H A Dpmksa_cache.h75 const u8 *aa, const u8 *spa, void *network_ctx, int akmp,
144 const u8 *aa, const u8 *spa, void *network_ctx, int akmp, in pmksa_cache_add()
142 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len, const u8 *pmkid, const u8 *kck, size_t kck_len, const u8 *aa, const u8 *spa, void *network_ctx, int akmp, const u8 *cache_id) pmksa_cache_add() argument
H A Dpmksa_cache.c161 * @spa: Supplicant address
175 const u8 *aa, const u8 *spa, void *network_ctx, int akmp, in pmksa_cache_add()
195 rsn_pmkid_suite_b_192(kck, kck_len, aa, spa, entry->pmkid); in pmksa_cache_add()
197 rsn_pmkid_suite_b(kck, kck_len, aa, spa, entry->pmkid); in pmksa_cache_add()
199 rsn_pmkid(pmk, pmk_len, aa, spa, entry->pmkid, akmp); in pmksa_cache_add()
173 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len, const u8 *pmkid, const u8 *kck, size_t kck_len, const u8 *aa, const u8 *spa, void *network_ctx, int akmp, const u8 *cache_id) pmksa_cache_add() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
H A Dwpa_common.h451 int fils_pmk_to_ptk(const u8 *pmk, size_t pmk_len, const u8 *spa, const u8 *aa,
510 void rsn_pmkid(const u8 *pmk, size_t pmk_len, const u8 *aa, const u8 *spa,
514 const u8 *spa, u8 *pmkid);
517 const u8 *spa, u8 *pmkid) in rsn_pmkid_suite_b()
524 const u8 *spa, u8 *pmkid);
527 const u8 *aa, const u8 *spa, u8 *pmkid) in rsn_pmkid_suite_b_192()
710 const u8 *spa, const u8 *bssid,
516 rsn_pmkid_suite_b(const u8 *kck, size_t kck_len, const u8 *aa, const u8 *spa, u8 *pmkid) rsn_pmkid_suite_b() argument
526 rsn_pmkid_suite_b_192(const u8 *kck, size_t kck_len, const u8 *aa, const u8 *spa, u8 *pmkid) rsn_pmkid_suite_b_192() argument
H A Dwpa_common.c657 int fils_pmk_to_ptk(const u8 *pmk, size_t pmk_len, const u8 *spa, const u8 *aa, in fils_pmk_to_ptk() argument
690 os_memcpy(pos, spa, ETH_ALEN); in fils_pmk_to_ptk()
750 " AA=" MACSTR_SEC, MAC2STR_SEC(spa), MAC2STR_SEC(aa)); in fils_pmk_to_ptk()
1264 * @spa: Suppplicant address
1276 const u8 *spa, const u8 *bssid, in pasn_pmk_to_ptk()
1309 os_memcpy(data, spa, ETH_ALEN); in pasn_pmk_to_ptk()
1347 MAC2STR_SEC(spa), MAC2STR_SEC(bssid)); in pasn_pmk_to_ptk()
2246 * @spa: Supplicant address
2262 void rsn_pmkid(const u8 *pmk, size_t pmk_len, const u8 *aa, const u8 *spa, in rsn_pmkid() argument
2272 addr[2] = spa; in rsn_pmkid()
1275 pasn_pmk_to_ptk(const u8 *pmk, size_t pmk_len, const u8 *spa, const u8 *bssid, const u8 *dhss, size_t dhss_len, struct wpa_ptk *ptk, int akmp, int cipher, size_t kdk_len) pasn_pmk_to_ptk() argument
2305 rsn_pmkid_suite_b(const u8 *kck, size_t kck_len, const u8 *aa, const u8 *spa, u8 *pmkid) rsn_pmkid_suite_b() argument
2338 rsn_pmkid_suite_b_192(const u8 *kck, size_t kck_len, const u8 *aa, const u8 *spa, u8 *pmkid) rsn_pmkid_suite_b_192() argument
[all...]

Completed in 23 milliseconds

12