Home
last modified time | relevance | path

Searched refs:tlvs (Results 1 – 22 of 22) sorted by relevance

/external/wpa_supplicant_8/src/wps/
Dwps.h959 int wps_validate_m1(const struct wpabuf *tlvs);
960 int wps_validate_m2(const struct wpabuf *tlvs);
961 int wps_validate_m2d(const struct wpabuf *tlvs);
962 int wps_validate_m3(const struct wpabuf *tlvs);
963 int wps_validate_m4(const struct wpabuf *tlvs);
964 int wps_validate_m4_encr(const struct wpabuf *tlvs, int wps2);
965 int wps_validate_m5(const struct wpabuf *tlvs);
966 int wps_validate_m5_encr(const struct wpabuf *tlvs, int wps2);
967 int wps_validate_m6(const struct wpabuf *tlvs);
968 int wps_validate_m6_encr(const struct wpabuf *tlvs, int wps2);
[all …]
Dwps_validate.c1285 int wps_validate_m1(const struct wpabuf *tlvs) in wps_validate_m1() argument
1290 if (tlvs == NULL) { in wps_validate_m1()
1294 if (wps_parse_msg(tlvs, &attr) < 0) { in wps_validate_m1()
1341 int wps_validate_m2(const struct wpabuf *tlvs) in wps_validate_m2() argument
1346 if (tlvs == NULL) { in wps_validate_m2()
1350 if (wps_parse_msg(tlvs, &attr) < 0) { in wps_validate_m2()
1396 int wps_validate_m2d(const struct wpabuf *tlvs) in wps_validate_m2d() argument
1401 if (tlvs == NULL) { in wps_validate_m2d()
1405 if (wps_parse_msg(tlvs, &attr) < 0) { in wps_validate_m2d()
1448 int wps_validate_m3(const struct wpabuf *tlvs) in wps_validate_m3() argument
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dp2p_supplicant_sd.c699 u16 update_indic, const u8 *tlvs, size_t tlvs_len) in wpas_sd_request() argument
702 const u8 *pos = tlvs; in wpas_sd_request()
703 const u8 *end = tlvs + tlvs_len; in wpas_sd_request()
712 tlvs, tlvs_len); in wpas_sd_request()
716 wpa_snprintf_hex(buf, buf_len, tlvs, tlvs_len); in wpas_sd_request()
726 update_indic, tlvs, tlvs_len); in wpas_sd_request()
815 update_indic, tlvs, tlvs_len); in wpas_sd_request()
898 const u8 *tlvs, size_t tlvs_len) in wpas_sd_response() argument
901 const u8 *pos = tlvs; in wpas_sd_response()
902 const u8 *end = tlvs + tlvs_len; in wpas_sd_response()
[all …]
Dp2p_supplicant.h84 const struct wpabuf *tlvs);
113 u16 update_indic, const u8 *tlvs, size_t tlvs_len);
115 const u8 *tlvs, size_t tlvs_len);
Dnotify.c722 u16 update_indic, const u8 *tlvs, in wpas_notify_p2p_sd_request() argument
726 update_indic, tlvs, tlvs_len); in wpas_notify_p2p_sd_request()
732 const u8 *tlvs, size_t tlvs_len) in wpas_notify_p2p_sd_response() argument
735 tlvs, tlvs_len); in wpas_notify_p2p_sd_response()
738 tlvs, tlvs_len); in wpas_notify_p2p_sd_response()
Dnotify.h119 u16 update_indic, const u8 *tlvs,
123 const u8 *tlvs, size_t tlvs_len);
Dctrl_iface.c6222 struct wpabuf *tlvs; in p2p_ctrl_serv_disc_req() local
6290 tlvs = wpabuf_alloc(len); in p2p_ctrl_serv_disc_req()
6291 if (tlvs == NULL) in p2p_ctrl_serv_disc_req()
6293 if (hexstr2bin(pos, wpabuf_put(tlvs, len), len) < 0) { in p2p_ctrl_serv_disc_req()
6294 wpabuf_free(tlvs); in p2p_ctrl_serv_disc_req()
6298 ref = wpas_p2p_sd_request(wpa_s, dst, tlvs); in p2p_ctrl_serv_disc_req()
6299 wpabuf_free(tlvs); in p2p_ctrl_serv_disc_req()
/external/wpa_supplicant_8/src/eap_common/
Deap_common.c209 int erp_parse_tlvs(const u8 *pos, const u8 *end, struct erp_tlvs *tlvs, in erp_parse_tlvs() argument
212 os_memset(tlvs, 0, sizeof(*tlvs)); in erp_parse_tlvs()
247 if (tlvs->keyname) { in erp_parse_tlvs()
252 tlvs->keyname = pos; in erp_parse_tlvs()
253 tlvs->keyname_len = tlv_len; in erp_parse_tlvs()
257 tlvs->domain = pos; in erp_parse_tlvs()
258 tlvs->domain_len = tlv_len; in erp_parse_tlvs()
Deap_common.h30 int erp_parse_tlvs(const u8 *pos, const u8 *end, struct erp_tlvs *tlvs,
/external/wpa_supplicant_8/src/p2p/
Dp2p_sd.c152 wpabuf_free(q->tlvs); in p2p_free_sd_query()
172 struct wpabuf *tlvs) in p2p_build_sd_query() argument
177 buf = gas_anqp_build_initial_req(0, 100 + wpabuf_len(tlvs)); in p2p_build_sd_query()
185 wpabuf_put_buf(buf, tlvs); in p2p_build_sd_query()
215 const struct wpabuf *tlvs) in p2p_build_sd_response() argument
222 100 + (tlvs ? wpabuf_len(tlvs) : 0)); in p2p_build_sd_response()
226 if (tlvs) { in p2p_build_sd_response()
232 wpabuf_put_buf(buf, tlvs); in p2p_build_sd_response()
303 req = p2p_build_sd_query(p2p->srv_update_indic, query->tlvs); in p2p_start_sd()
873 const struct wpabuf *tlvs) in p2p_sd_request() argument
[all …]
Dp2p.h834 u16 update_indic, const u8 *tlvs, size_t tlvs_len);
850 const u8 *tlvs, size_t tlvs_len);
1395 const struct wpabuf *tlvs);
1399 const struct wpabuf *tlvs);
Dp2p_i.h159 struct wpabuf *tlvs; member
/external/scapy/scapy/contrib/
Disis.uts25 tlvs=[
35 tlvs=[
77 tlvs=[
Disis.py728 for tlv in self.tlvs:
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new.h230 u16 update_indic, const u8 *tlvs,
234 const u8 *tlvs, size_t tlvs_len);
498 const u8 *tlvs, size_t tlvs_len) in wpas_dbus_signal_p2p_sd_request() argument
505 const u8 *tlvs, size_t tlvs_len) in wpas_dbus_signal_p2p_sd_response() argument
Ddbus_new.c1832 u16 update_indic, const u8 *tlvs, in wpas_dbus_signal_p2p_sd_request() argument
1877 (const char *) tlvs, in wpas_dbus_signal_p2p_sd_request()
1901 const u8 *tlvs, size_t tlvs_len) in wpas_dbus_signal_p2p_sd_response() argument
1942 (const char *) tlvs, in wpas_dbus_signal_p2p_sd_response()
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.4/
Dhidl.h97 const u8 *tlvs, size_t tlvs_len);
228 const u8 *tlvs, size_t tlvs_len) in wpas_hidl_notify_p2p_sd_response() argument
Dhidl.cpp609 const u8 *tlvs, size_t tlvs_len) in wpas_hidl_notify_p2p_sd_response() argument
611 if (!wpa_s || !sa || !tlvs) in wpas_hidl_notify_p2p_sd_response()
624 wpa_s, sa, update_indic, tlvs, tlvs_len); in wpas_hidl_notify_p2p_sd_response()
Dhidl_manager.cpp1513 const u8 *tlvs, size_t tlvs_len) in notifyP2pSdResponse() argument
1515 if (!wpa_s || !sa || !tlvs) in notifyP2pSdResponse()
1527 std::vector<uint8_t>{tlvs, tlvs + tlvs_len})); in notifyP2pSdResponse()
Dhidl_manager.h150 const u8 *tlvs, size_t tlvs_len);
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ft.c306 static size_t wpa_ft_tlv_len(const struct tlv_list *tlvs) in wpa_ft_tlv_len() argument
311 if (!tlvs) in wpa_ft_tlv_len()
314 for (i = 0; tlvs[i].type != FT_RRB_LAST_EMPTY; i++) { in wpa_ft_tlv_len()
316 tlv_len += tlvs[i].len; in wpa_ft_tlv_len()
323 static size_t wpa_ft_tlv_lin(const struct tlv_list *tlvs, u8 *start, in wpa_ft_tlv_lin() argument
331 if (!tlvs) in wpa_ft_tlv_lin()
336 for (i = 0; tlvs[i].type != FT_RRB_LAST_EMPTY; i++) { in wpa_ft_tlv_lin()
341 hdr->type = host_to_le16(tlvs[i].type); in wpa_ft_tlv_lin()
342 hdr->len = host_to_le16(tlvs[i].len); in wpa_ft_tlv_lin()
345 if (tlv_len + tlvs[i].len > (size_t) (endpos - start)) in wpa_ft_tlv_lin()
[all …]
/external/wpa_supplicant_8/src/eap_server/
Deap_server.c799 const u8 *pos, *end, *start, *tlvs, *hdr; in SM_STATE() local
837 tlvs = pos; in SM_STATE()
845 if (erp_parse_tlvs(tlvs, end, &parse, 1) < 0) in SM_STATE()
977 tlvs, end - tlvs); in SM_STATE()
978 if (erp_parse_tlvs(tlvs, end, &parse, 0) < 0) in SM_STATE()