Home
last modified time | relevance | path

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

12

/freebsd-13-stable/contrib/wpa/src/wps/
HDwps.h968 int wps_validate_m1(const struct wpabuf *tlvs);
969 int wps_validate_m2(const struct wpabuf *tlvs);
970 int wps_validate_m2d(const struct wpabuf *tlvs);
971 int wps_validate_m3(const struct wpabuf *tlvs);
972 int wps_validate_m4(const struct wpabuf *tlvs);
973 int wps_validate_m4_encr(const struct wpabuf *tlvs, int wps2);
974 int wps_validate_m5(const struct wpabuf *tlvs);
975 int wps_validate_m5_encr(const struct wpabuf *tlvs, int wps2);
976 int wps_validate_m6(const struct wpabuf *tlvs);
977 int wps_validate_m6_encr(const struct wpabuf *tlvs, int wps2);
[all …]
HDwps_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 …]
/freebsd-13-stable/contrib/wpa/wpa_supplicant/
HDp2p_supplicant_sd.c690 u16 update_indic, const u8 *tlvs, size_t tlvs_len) in wpas_sd_request() argument
693 const u8 *pos = tlvs; in wpas_sd_request()
694 const u8 *end = tlvs + tlvs_len; in wpas_sd_request()
703 tlvs, tlvs_len); in wpas_sd_request()
707 wpa_snprintf_hex(buf, buf_len, tlvs, tlvs_len); in wpas_sd_request()
717 update_indic, tlvs, tlvs_len); in wpas_sd_request()
806 update_indic, tlvs, tlvs_len); in wpas_sd_request()
889 const u8 *tlvs, size_t tlvs_len) in wpas_sd_response() argument
892 const u8 *pos = tlvs; in wpas_sd_response()
893 const u8 *end = tlvs + tlvs_len; in wpas_sd_response()
[all …]
HDp2p_supplicant.h88 const struct wpabuf *tlvs);
117 u16 update_indic, const u8 *tlvs, size_t tlvs_len);
119 const u8 *tlvs, size_t tlvs_len);
HDnotify.h116 u16 update_indic, const u8 *tlvs,
120 const u8 *tlvs, size_t tlvs_len);
HDnotify.c708 u16 update_indic, const u8 *tlvs, in wpas_notify_p2p_sd_request() argument
712 update_indic, tlvs, tlvs_len); in wpas_notify_p2p_sd_request()
718 const u8 *tlvs, size_t tlvs_len) in wpas_notify_p2p_sd_response() argument
721 tlvs, tlvs_len); in wpas_notify_p2p_sd_response()
HDctrl_iface.c6579 struct wpabuf *tlvs; in p2p_ctrl_serv_disc_req() local
6647 tlvs = wpabuf_alloc(len); in p2p_ctrl_serv_disc_req()
6648 if (tlvs == NULL) in p2p_ctrl_serv_disc_req()
6650 if (hexstr2bin(pos, wpabuf_put(tlvs, len), len) < 0) { in p2p_ctrl_serv_disc_req()
6651 wpabuf_free(tlvs); in p2p_ctrl_serv_disc_req()
6655 ref = wpas_p2p_sd_request(wpa_s, dst, tlvs); in p2p_ctrl_serv_disc_req()
6656 wpabuf_free(tlvs); in p2p_ctrl_serv_disc_req()
/freebsd-13-stable/contrib/wpa/src/eap_common/
HDeap_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()
HDeap_common.h30 int erp_parse_tlvs(const u8 *pos, const u8 *end, struct erp_tlvs *tlvs,
/freebsd-13-stable/contrib/wpa/src/p2p/
HDp2p_sd.c151 wpabuf_free(q->tlvs); in p2p_free_sd_query()
171 struct wpabuf *tlvs) in p2p_build_sd_query() argument
176 buf = gas_anqp_build_initial_req(0, 100 + wpabuf_len(tlvs)); in p2p_build_sd_query()
184 wpabuf_put_buf(buf, tlvs); in p2p_build_sd_query()
214 const struct wpabuf *tlvs) in p2p_build_sd_response() argument
221 100 + (tlvs ? wpabuf_len(tlvs) : 0)); in p2p_build_sd_response()
225 if (tlvs) { in p2p_build_sd_response()
231 wpabuf_put_buf(buf, tlvs); in p2p_build_sd_response()
301 req = p2p_build_sd_query(p2p->srv_update_indic, query->tlvs); in p2p_start_sd()
880 const struct wpabuf *tlvs) in p2p_sd_request() argument
[all …]
HDp2p.h838 u16 update_indic, const u8 *tlvs, size_t tlvs_len);
854 const u8 *tlvs, size_t tlvs_len);
1402 const struct wpabuf *tlvs);
1406 const struct wpabuf *tlvs);
HDp2p_i.h160 struct wpabuf *tlvs; member
/freebsd-13-stable/contrib/wpa/wpa_supplicant/dbus/
HDdbus_new.h238 u16 update_indic, const u8 *tlvs,
242 const u8 *tlvs, size_t tlvs_len);
518 const u8 *tlvs, size_t tlvs_len) in wpas_dbus_signal_p2p_sd_request() argument
525 const u8 *tlvs, size_t tlvs_len) in wpas_dbus_signal_p2p_sd_response() argument
HDdbus_new.c1979 u16 update_indic, const u8 *tlvs, in wpas_dbus_signal_p2p_sd_request() argument
2024 (const char *) tlvs, in wpas_dbus_signal_p2p_sd_request()
2048 const u8 *tlvs, size_t tlvs_len) in wpas_dbus_signal_p2p_sd_response() argument
2089 (const char *) tlvs, in wpas_dbus_signal_p2p_sd_response()
/freebsd-13-stable/sys/netpfil/ipfw/
HDip_fw_eaction.c143 if (ti->tlvs == NULL) in eaction_findbyname()
147 ntlv = ipfw_find_name_tlv_type(ti->tlvs, ti->tlen, ti->uidx, in eaction_findbyname()
HDip_fw_private.h564 void *tlvs; /* Pointer to first TLV */ member
742 ipfw_obj_ntlv *ipfw_find_name_tlv_type(void *tlvs, int len, uint16_t uidx,
HDip_fw_table.c1951 ti->tlvs = ntlv; in ntlv_to_ti()
3125 if (ti->tlvs != NULL) { in find_table_err()
3126 ntlv = ipfw_find_name_tlv_type(ti->tlvs, ti->tlen, ti->uidx, in find_table_err()
3184 if (ti->tlvs != NULL) { in alloc_table_config()
3185 ntlv = ipfw_find_name_tlv_type(ti->tlvs, ti->tlen, ti->uidx, in alloc_table_config()
HDip_fw_sockopt.c2859 ti.tlvs = (void *)(ci->ctlv + 1); in rewrite_rule_uidx()
4417 ipfw_find_name_tlv_type(void *tlvs, int len, uint16_t uidx, uint32_t etlv) in ipfw_find_name_tlv_type() argument
4423 pa = (uintptr_t)tlvs; in ipfw_find_name_tlv_type()
4469 if (ti->tlvs == NULL) in ipfw_objhash_find_type()
4472 ntlv = ipfw_find_name_tlv_type(ti->tlvs, ti->tlen, ti->uidx, etlv); in ipfw_objhash_find_type()
HDip_fw_dynamic.c616 if (ti->tlvs == NULL) in dyn_findbyname()
619 ntlv = ipfw_find_name_tlv_type(ti->tlvs, ti->tlen, ti->uidx, in dyn_findbyname()
661 if (ti->tlvs == NULL) in dyn_create()
663 ntlv = ipfw_find_name_tlv_type(ti->tlvs, ti->tlen, ti->uidx, in dyn_create()
/freebsd-13-stable/sys/dev/qlnx/qlnxe/
HDecore_dcbx.c1532 struct lldp_received_tlvs_s tlvs; in ecore_lldp_mib_update_event() local
1539 data.lldp_tlvs = &tlvs; in ecore_lldp_mib_update_event()
1540 data.size = sizeof(tlvs); in ecore_lldp_mib_update_event()
1548 if (!tlvs.length) in ecore_lldp_mib_update_event()
1552 tlvs.tlvs_buffer[i] = in ecore_lldp_mib_update_event()
1553 OSAL_CPU_TO_BE32(tlvs.tlvs_buffer[i]); in ecore_lldp_mib_update_event()
1555 OSAL_LLDP_RX_TLVS(p_hwfn, tlvs.tlvs_buffer, tlvs.length); in ecore_lldp_mib_update_event()
HDbcm_osal.h98 uint16_t *tlvs);
566 #define OSAL_IOV_VF_VPORT_UPDATE(p_hwfn, vfid, params, tlvs) \ argument
567 qlnx_iov_update_vport(p_hwfn, vfid, params, tlvs)
HDmcp_private.h224 typedef u8(*lldp_process_func)(u8 port, u8 num, u8 **tlvs);
HDmcp_public.h1915 enum tlvs { enum
/freebsd-13-stable/contrib/wpa/src/ap/
HDwpa_auth_ft.c310 static size_t wpa_ft_tlv_len(const struct tlv_list *tlvs) in wpa_ft_tlv_len() argument
315 if (!tlvs) in wpa_ft_tlv_len()
318 for (i = 0; tlvs[i].type != FT_RRB_LAST_EMPTY; i++) { in wpa_ft_tlv_len()
320 tlv_len += tlvs[i].len; in wpa_ft_tlv_len()
327 static size_t wpa_ft_tlv_lin(const struct tlv_list *tlvs, u8 *start, in wpa_ft_tlv_lin() argument
335 if (!tlvs) in wpa_ft_tlv_lin()
340 for (i = 0; tlvs[i].type != FT_RRB_LAST_EMPTY; i++) { in wpa_ft_tlv_lin()
345 hdr->type = host_to_le16(tlvs[i].type); in wpa_ft_tlv_lin()
346 hdr->len = host_to_le16(tlvs[i].len); in wpa_ft_tlv_lin()
349 if (tlv_len + tlvs[i].len > (size_t) (endpos - start)) in wpa_ft_tlv_lin()
[all …]
/freebsd-13-stable/contrib/wpa/src/eap_server/
HDeap_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()

12