HomeSort by: relevance | last modified time | path
    Searched refs:wpabuf (Results 1 - 25 of 305) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/external/bsd/wpa/dist/src/utils/
wpabuf.h 12 /* wpabuf::buf is a pointer to external data */
16 * Internal data structure for wpabuf. Please do not touch this directly from
20 struct wpabuf { struct
29 int wpabuf_resize(struct wpabuf **buf, size_t add_len);
30 struct wpabuf * wpabuf_alloc(size_t len);
31 struct wpabuf * wpabuf_alloc_ext_data(u8 *data, size_t len);
32 struct wpabuf * wpabuf_alloc_copy(const void *data, size_t len);
33 struct wpabuf * wpabuf_dup(const struct wpabuf *src);
34 void wpabuf_free(struct wpabuf *buf)
    [all...]
json.h 38 struct wpabuf * json_get_member_base64url(struct json_token *json,
40 struct wpabuf * json_get_member_base64(struct json_token *json,
43 void json_add_int(struct wpabuf *json, const char *name, int val);
44 void json_add_string(struct wpabuf *json, const char *name, const char *val);
45 int json_add_string_escape(struct wpabuf *json, const char *name,
47 int json_add_base64url(struct wpabuf *json, const char *name, const void *val,
49 int json_add_base64(struct wpabuf *json, const char *name, const void *val,
51 void json_start_object(struct wpabuf *json, const char *name);
52 void json_end_object(struct wpabuf *json);
53 void json_start_array(struct wpabuf *json, const char *name)
    [all...]
wpabuf.c 13 #include "wpabuf.h"
22 static struct wpabuf_trace * wpabuf_get_trace(const struct wpabuf *buf)
30 static void wpabuf_overflow(const struct wpabuf *buf, size_t len)
35 wpa_printf(MSG_ERROR, "wpabuf: invalid magic %x",
39 wpa_printf(MSG_ERROR, "wpabuf %p (size=%lu used=%lu) overflow len=%lu",
42 wpa_trace_show("wpabuf overflow");
47 int wpabuf_resize(struct wpabuf **_buf, size_t add_len)
49 struct wpabuf *buf = *_buf;
62 wpa_printf(MSG_ERROR, "wpabuf: invalid magic %x",
80 sizeof(struct wpabuf)
    [all...]
ext_password.h 20 struct wpabuf * ext_password_get(struct ext_password_data *data,
22 void ext_password_free(struct wpabuf *pw);
ext_password_i.h 18 struct wpabuf * (*get)(void *ctx, const char *name);
21 struct wpabuf * ext_password_alloc(size_t len);
  /src/external/bsd/wpa/dist/src/wps/
wps_dev_attr.h 14 int wps_build_manufacturer(struct wps_device_data *dev, struct wpabuf *msg);
15 int wps_build_model_name(struct wps_device_data *dev, struct wpabuf *msg);
16 int wps_build_model_number(struct wps_device_data *dev, struct wpabuf *msg);
17 int wps_build_serial_number(struct wps_device_data *dev, struct wpabuf *msg);
18 int wps_build_dev_name(struct wps_device_data *dev, struct wpabuf *msg);
19 int wps_build_device_attrs(struct wps_device_data *dev, struct wpabuf *msg);
20 int wps_build_os_version(struct wps_device_data *dev, struct wpabuf *msg);
21 int wps_build_vendor_ext_m1(struct wps_device_data *dev, struct wpabuf *msg);
22 int wps_build_rf_bands(struct wps_device_data *dev, struct wpabuf *msg,
25 struct wpabuf *msg)
    [all...]
upnp_xml.h 16 void xml_data_encode(struct wpabuf *buf, const char *data, int len);
17 void xml_add_tagged_data(struct wpabuf *buf, const char *tag,
22 struct wpabuf * xml_get_base64_item(const char *data, const char *name,
wps.h 99 struct wpabuf *vendor_ext_m1;
100 struct wpabuf *vendor_ext[MAX_WPS_VENDOR_EXTENSIONS];
101 struct wpabuf *application_ext;
139 const struct wpabuf *assoc_wps_ie;
236 const struct wpabuf *msg);
238 struct wpabuf * wps_get_msg(struct wps_data *wps, enum wsc_op_code *op_code);
240 int wps_is_selected_pbc_registrar(const struct wpabuf *msg);
241 int wps_is_selected_pin_registrar(const struct wpabuf *msg);
242 int wps_ap_priority_compar(const struct wpabuf *wps_a,
243 const struct wpabuf *wps_b)
    [all...]
wps_i.h 61 struct wpabuf *dh_privkey;
62 struct wpabuf *dh_pubkey_e;
63 struct wpabuf *dh_pubkey_r;
68 struct wpabuf *last_msg;
140 struct wpabuf * wps_decrypt_encr_settings(struct wps_data *wps, const u8 *encr,
152 struct wpabuf * wps_build_wsc_ack(struct wps_data *wps);
153 struct wpabuf * wps_build_wsc_nack(struct wps_data *wps);
156 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg);
157 int wps_build_req_type(struct wpabuf *msg, enum wps_request_type type);
158 int wps_build_resp_type(struct wpabuf *msg, enum wps_response_type type)
    [all...]
http_client.h 24 struct wpabuf *req, size_t max_response,
30 struct wpabuf *req, size_t max_response,
36 struct wpabuf * http_client_get_body(struct http_client *c);
ndef.c 89 static struct wpabuf * ndef_parse_records(const struct wpabuf *buf,
112 static struct wpabuf * ndef_build_record(u8 flags, const void *type,
115 const struct wpabuf *payload)
117 struct wpabuf *record;
173 struct wpabuf * ndef_parse_wifi(const struct wpabuf *buf)
179 struct wpabuf * ndef_build_wifi(const struct wpabuf *buf)
199 struct wpabuf * ndef_parse_p2p(const struct wpabuf *buf
    [all...]
  /src/external/bsd/wpa/dist/src/common/
gas.h 13 struct wpabuf * gas_build_initial_req(u8 dialog_token, size_t size);
14 struct wpabuf * gas_build_comeback_req(u8 dialog_token);
15 struct wpabuf * gas_build_initial_resp(u8 dialog_token, u16 status_code,
17 struct wpabuf *
20 struct wpabuf * gas_anqp_build_initial_req(u8 dialog_token, size_t size);
21 struct wpabuf * gas_anqp_build_initial_resp(u8 dialog_token, u16 status_code,
23 struct wpabuf * gas_anqp_build_initial_resp_buf(u8 dialog_token,
26 struct wpabuf *payload);
27 struct wpabuf * gas_anqp_build_comeback_resp(u8 dialog_token, u16 status_code,
30 struct wpabuf * gas_anqp_build_comeback_resp_buf(u8 dialog_token
    [all...]
gas.c 17 static struct wpabuf *
20 struct wpabuf *buf;
34 struct wpabuf * gas_build_initial_req(u8 dialog_token, size_t size)
41 struct wpabuf * gas_build_comeback_req(u8 dialog_token)
47 static struct wpabuf *
51 struct wpabuf *buf;
69 struct wpabuf *
78 struct wpabuf *
99 static void gas_add_adv_proto_anqp(struct wpabuf *buf, u8 query_resp_len_limit,
112 struct wpabuf * gas_anqp_build_initial_req(u8 dialog_token, size_t size
    [all...]
  /src/external/bsd/wpa/dist/src/eap_common/
eap_common.h 12 #include "wpabuf.h"
22 int eap_hdr_len_valid(const struct wpabuf *msg, size_t min_payload);
24 const struct wpabuf *msg, size_t *plen);
25 struct wpabuf * eap_msg_alloc(int vendor, enum eap_type type,
27 void eap_update_len(struct wpabuf *msg);
28 u8 eap_get_id(const struct wpabuf *msg);
29 enum eap_type eap_get_type(const struct wpabuf *msg);
eap_wsc_common.c 17 struct wpabuf * eap_wsc_build_frag_ack(u8 id, u8 code)
19 struct wpabuf *msg;
eap_fast_common.h 77 struct wpabuf;
92 void eap_fast_put_tlv_hdr(struct wpabuf *buf, u16 type, u16 len);
93 void eap_fast_put_tlv(struct wpabuf *buf, u16 type, const void *data,
95 void eap_fast_put_tlv_buf(struct wpabuf *buf, u16 type,
96 const struct wpabuf *data);
97 struct wpabuf * eap_fast_tlv_eap_payload(struct wpabuf *buf);
eap_wsc_common.h 25 struct wpabuf * eap_wsc_build_frag_ack(u8 id, u8 code);
eap_ikev2_common.h 24 struct wpabuf * eap_ikev2_build_frag_ack(u8 id, u8 code);
26 int initiator, const struct wpabuf *msg,
  /src/external/bsd/wpa/dist/wpa_supplicant/
interworking.h 19 const struct wpabuf *adv_proto,
20 const struct wpabuf *resp, u16 status_code);
22 const struct wpabuf *adv_proto,
23 const struct wpabuf *query);
33 struct wpabuf *domain_names);
34 int domain_name_list_contains(struct wpabuf *domain_names,
wifi_display.h 16 struct wpabuf *wifi_display_get_wfd_ie(struct wpa_global *global);
19 struct wpabuf *ie);
22 char * wifi_display_subelem_hex(const struct wpabuf *wfd_subelems, u8 id);
  /src/external/bsd/wpa/dist/src/eap_server/
eap_tls_common.h 24 struct wpabuf *tls_out;
39 struct wpabuf *tls_in;
52 struct wpabuf tmpbuf;
78 struct wpabuf * eap_tls_msg_alloc(enum eap_type type, size_t payload_len,
89 struct wpabuf * eap_server_tls_build_msg(struct eap_ssl_data *data,
91 struct wpabuf * eap_server_tls_build_ack(u8 id, int eap_type, int version);
93 struct wpabuf * eap_server_tls_encrypt(struct eap_sm *sm,
95 const struct wpabuf *plain);
97 struct wpabuf *respData, void *priv, int eap_type,
101 const struct wpabuf *respData))
    [all...]
ikev2.h 31 struct wpabuf *r_dh_public;
32 struct wpabuf *i_dh_private;
41 struct wpabuf *r_sign_msg;
42 struct wpabuf *i_sign_msg;
58 const struct wpabuf *buf);
59 struct wpabuf * ikev2_initiator_build(struct ikev2_initiator_data *data);
  /src/external/bsd/wpa/dist/src/ap/
neighbor_db.h 19 const struct wpabuf *nr, const struct wpabuf *lci,
20 const struct wpabuf *civic, int stationary,
  /src/external/bsd/wpa/dist/src/eap_peer/
eap_tls_common.h 24 struct wpabuf *tls_out;
39 struct wpabuf *tls_in;
116 u8 id, const struct wpabuf *in_data,
117 struct wpabuf **out_data);
118 struct wpabuf * eap_peer_tls_build_ack(u8 id, enum eap_type eap_type,
127 const struct wpabuf *reqData,
132 const struct wpabuf *in_data,
133 struct wpabuf **in_decrypted);
136 const struct wpabuf *in_data,
137 struct wpabuf **out_data)
    [all...]
ikev2.h 32 struct wpabuf *i_dh_public;
33 struct wpabuf *r_dh_private;
42 struct wpabuf *r_sign_msg;
43 struct wpabuf *i_sign_msg;
56 const struct wpabuf *buf);
57 struct wpabuf * ikev2_responder_build(struct ikev2_responder_data *data);

Completed in 40 milliseconds

1 2 3 4 5 6 7 8 91011>>