Home
last modified time | relevance | path

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

12

/freebsd/contrib/wpa/src/wps/
H A Dwps.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 …]
H A 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 …]
/freebsd/contrib/wpa/wpa_supplicant/
H A Dp2p_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 …]
H A Dp2p_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);
H A Dnotify.h116 u16 update_indic, const u8 *tlvs,
120 const u8 *tlvs, size_t tlvs_len);
H A Dnotify.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()
/freebsd/contrib/wpa/src/eap_common/
H A 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()
H A Deap_common.h30 int erp_parse_tlvs(const u8 *pos, const u8 *end, struct erp_tlvs *tlvs,
/freebsd/contrib/wpa/src/p2p/
H A Dp2p_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 …]
H A Dp2p.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);
H A Dp2p_i.h160 struct wpabuf *tlvs; member
/freebsd/sbin/ipfw/tests/
H A Dtest_add_rule.py94 tlvs = []
96 tlvs.append(CTlv(IpFwTlvType.IPFW_TLV_TBLNAME_LIST, out["objs"]))
98 tlvs.append(CTlvRule(obj_list=[rule]))
99 return IpFwXRule(Op3CmdType.IP_FW_XADD, tlvs)
/freebsd/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_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
H A Ddbus_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/sys/netpfil/ipfw/
H A Dip_fw_eaction.c151 if (ti->tlvs == NULL) in eaction_findbyname()
155 ntlv = ipfw_find_name_tlv_type(ti->tlvs, ti->tlen, ti->uidx, in eaction_findbyname()
H A Dip_fw_private.h536 void *tlvs; /* Pointer to first TLV */ member
735 ipfw_obj_ntlv *ipfw_find_name_tlv_type(void *tlvs, int len, uint32_t uidx,
H A Dip_fw_table.c1878 ti->tlvs = ntlv; in ntlv_to_ti()
2798 if (ti->tlvs != NULL) { in find_table_err()
2799 ntlv = ipfw_find_name_tlv_type(ti->tlvs, ti->tlen, ti->uidx, in find_table_err()
2857 if (ti->tlvs != NULL) { in alloc_table_config()
2858 ntlv = ipfw_find_name_tlv_type(ti->tlvs, ti->tlen, ti->uidx, in alloc_table_config()
H A Dip_fw_sockopt.c2269 ti.tlvs = (void *)(ci->ctlv + 1); in rewrite_rule_uidx()
3471 ipfw_find_name_tlv_type(void *tlvs, int len, uint32_t uidx, uint32_t etlv) in ipfw_find_name_tlv_type() argument
3477 pa = (uintptr_t)tlvs; in ipfw_find_name_tlv_type()
3523 if (ti->tlvs == NULL) in ipfw_objhash_find_type()
3526 ntlv = ipfw_find_name_tlv_type(ti->tlvs, ti->tlen, ti->uidx, etlv); in ipfw_objhash_find_type()
H A Dip_fw_dynamic.c623 if (ti->tlvs == NULL) in dyn_findbyname()
626 ntlv = ipfw_find_name_tlv_type(ti->tlvs, ti->tlen, ti->uidx, in dyn_findbyname()
668 if (ti->tlvs == NULL) in dyn_create()
670 ntlv = ipfw_find_name_tlv_type(ti->tlvs, ti->tlen, ti->uidx, in dyn_create()
/freebsd/sys/dev/qlnx/qlnxe/
H A Dbcm_osal.h89 uint16_t *tlvs);
516 #define OSAL_IOV_VF_VPORT_UPDATE(p_hwfn, vfid, params, tlvs) \ argument
517 qlnx_iov_update_vport(p_hwfn, vfid, params, tlvs)
H A Decore_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()
H A Dmcp_private.h224 typedef u8(*lldp_process_func)(u8 port, u8 num, u8 **tlvs);
H A Dmcp_public.h1915 enum tlvs { enum
/freebsd/contrib/wpa/src/ap/
H A Dwpa_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/contrib/wpa/src/eap_server/
H A 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()

12