Searched refs:wpabuf_head (Results 1 - 25 of 98) sorted by relevance

1234

/freebsd-10.3-release/contrib/wpa/wpa_supplicant/
H A Dnfc_pw_token.c28 pos = wpabuf_head(buf);
61 wpa_snprintf_hex_uppercase(txt, sizeof(txt), wpabuf_head(buf),
65 wpa_snprintf_hex_uppercase(txt, sizeof(txt), wpabuf_head(ndef),
H A Doffchannel.c116 wpabuf_head(wpa_s->pending_action_tx),
128 wpabuf_head(wpa_s->pending_action_tx),
248 wpabuf_head(wpa_s->pending_action_tx),
/freebsd-10.3-release/contrib/wpa/src/eap_common/
H A Deap_common.c33 hdr = wpabuf_head(msg);
76 hdr = wpabuf_head(msg);
189 eap = wpabuf_head(msg);
204 return ((const u8 *) wpabuf_head(msg))[sizeof(struct eap_hdr)];
H A Deap_ikev2_common.c107 wpabuf_head(msg),
/freebsd-10.3-release/contrib/wpa/src/utils/
H A Dwpabuf.h72 * wpabuf_head - Get pointer to the head of the buffer data
76 static inline const void * wpabuf_head(const struct wpabuf *buf) function
83 return wpabuf_head(buf);
147 wpabuf_put_data(dst, wpabuf_head(src), wpabuf_len(src));
H A Dext_password.c94 if (mlock(wpabuf_head(buf), wpabuf_len(buf)) < 0) {
110 if (munlock(wpabuf_head(pw), wpabuf_len(pw)) < 0) {
H A Dwpa_debug.h85 wpa_hexdump(level, title, buf ? wpabuf_head(buf) : NULL,
107 wpa_hexdump_key(level, title, buf ? wpabuf_head(buf) : NULL,
H A Dext_password_test.c69 wpabuf_head(buf),
/freebsd-10.3-release/contrib/wpa/src/crypto/
H A Dtls_internal.c350 in_data ? wpabuf_head(in_data) : NULL,
394 res = tlsv1_server_handshake(conn->server, wpabuf_head(in_data),
424 res = tlsv1_client_encrypt(conn->client, wpabuf_head(in_data),
443 res = tlsv1_server_encrypt(conn->server, wpabuf_head(in_data),
477 return tlsv1_client_decrypt(conn->client, wpabuf_head(in_data),
489 res = tlsv1_server_decrypt(conn->server, wpabuf_head(in_data),
H A Dtls_nss.c469 os_memcpy(conn->pull_buf, wpabuf_head(in_data),
511 res = PR_Send(conn->fd, wpabuf_head(in_data), wpabuf_len(in_data), 0,
546 os_memcpy(conn->pull_buf, wpabuf_head(in_data), wpabuf_len(in_data));
H A Dtls_schannel.c340 inbufs[0].pvBuffer = (u8 *) wpabuf_head(in_data);
524 wpabuf_head(out), bufs[0].pvBuffer, bufs[1].pvBuffer,
590 wpabuf_head(tmp), bufs[0].pvBuffer, bufs[1].pvBuffer,
/freebsd-10.3-release/contrib/wpa/src/wps/
H A Dwps_attr_process.c38 addr[0] = wpabuf_head(wps->last_msg);
40 addr[1] = wpabuf_head(msg);
65 head = wpabuf_head(msg);
H A Dwps_attr_build.c148 addr[0] = wpabuf_head(wps->last_msg);
150 addr[1] = wpabuf_head(msg);
311 hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, wpabuf_head(msg),
359 addr[0] = wpabuf_head(pubkey);
386 pos = wpabuf_head(data);
H A Dwps_er_ssdp.c152 if (sendto(er->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0,
H A Dwps_enrollee.c72 addr[2] = wpabuf_head(wps->dh_pubkey_e);
74 addr[3] = wpabuf_head(wps->dh_pubkey_r);
585 addr[2] = wpabuf_head(wps->dh_pubkey_e);
587 addr[3] = wpabuf_head(wps->dh_pubkey_r);
625 addr[2] = wpabuf_head(wps->dh_pubkey_e);
627 addr[3] = wpabuf_head(wps->dh_pubkey_r);
831 cred.cred_attr = wpabuf_head(attrs);
H A Dwps_upnp_ssdp.c251 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg),
296 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0,
412 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0,
/freebsd-10.3-release/contrib/wpa/src/eap_peer/
H A Deap_psk.c271 wpabuf_head(reqData), 5);
283 wpabuf_head(reqData),
347 wpabuf_head(resp),
H A Deap_sake.c272 wpabuf_head(resp), wpabuf_len(resp), rpos,
316 wpabuf_head(reqData), wpabuf_len(reqData),
345 wpabuf_head(resp), wpabuf_len(resp), rpos,
H A Deap_pax.c218 wpabuf_head(resp), wpabuf_len(resp) - EAP_PAX_ICV_LEN,
309 wpabuf_head(resp), wpabuf_len(resp) - EAP_PAX_ICV_LEN,
411 wpabuf_head(reqData), mlen, NULL, 0, NULL, 0,
415 wpabuf_head(reqData), mlen, NULL, 0, NULL, 0,
/freebsd-10.3-release/contrib/wpa/src/eap_server/
H A Deap_server_tnc.c168 wpabuf_head(req), wpabuf_len(req));
364 res = tncs_process_if_tnccs(data->tncs, wpabuf_head(inbuf),
530 wpabuf_head(data->in_buf), wpabuf_len(data->in_buf));
H A Deap_server_sake.c218 wpabuf_head(msg), wpabuf_len(msg), mic, mic))
367 wpabuf_head(respData), wpabuf_len(respData),
404 wpabuf_head(respData), wpabuf_len(respData),
/freebsd-10.3-release/contrib/wpa/src/p2p/
H A Dp2p_dev_disc.c99 wpabuf_head(req), wpabuf_len(req), 1000) < 0) {
158 wpabuf_head(resp), wpabuf_len(resp), 200) < 0) {
H A Dp2p_sd.c28 pos = wpabuf_head(wfd);
159 wpabuf_head(req), wpabuf_len(req), 200) < 0)
263 wpabuf_head(req), wpabuf_len(req), 5000) < 0) {
432 wpabuf_head(resp), wpabuf_len(resp), 200) < 0)
670 wpabuf_head(resp), wpabuf_len(resp), 200) < 0)
876 wpabuf_head(p2p->sd_rx_resp),
/freebsd-10.3-release/contrib/wpa/src/ap/
H A Dbeacon.c278 os_memcpy(pos, wpabuf_head(hapd->wps_probe_resp_ie),
287 os_memcpy(pos, wpabuf_head(hapd->p2p_probe_resp_ie),
303 os_memcpy(pos, wpabuf_head(hapd->conf->vendor_elements),
671 os_memcpy(tailpos, wpabuf_head(hapd->wps_beacon_ie),
679 os_memcpy(tailpos, wpabuf_head(hapd->p2p_beacon_ie),
695 os_memcpy(tailpos, wpabuf_head(hapd->conf->vendor_elements),
H A Dgas_serv.c822 wpabuf_head(tx_buf), wpabuf_len(tx_buf));
880 wpabuf_head(buf), wpabuf_len(buf));
978 wpabuf_head(tx_buf),
1014 wpabuf_head(tx_buf), wpabuf_len(tx_buf));
1122 wpabuf_head(tx_buf), wpabuf_len(tx_buf));

Completed in 489 milliseconds

1234