| /freebsd-11-stable/contrib/wpa/src/wps/ |
| HD | wps.h | 950 int wps_validate_m1(const struct wpabuf *tlvs); 951 int wps_validate_m2(const struct wpabuf *tlvs); 952 int wps_validate_m2d(const struct wpabuf *tlvs); 953 int wps_validate_m3(const struct wpabuf *tlvs); 954 int wps_validate_m4(const struct wpabuf *tlvs); 955 int wps_validate_m4_encr(const struct wpabuf *tlvs, int wps2); 956 int wps_validate_m5(const struct wpabuf *tlvs); 957 int wps_validate_m5_encr(const struct wpabuf *tlvs, int wps2); 958 int wps_validate_m6(const struct wpabuf *tlvs); 959 int wps_validate_m6_encr(const struct wpabuf *tlvs, int wps2); [all …]
|
| HD | wps_validate.c | 1285 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-11-stable/contrib/wpa/wpa_supplicant/ |
| HD | p2p_supplicant_sd.c | 690 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 …]
|
| HD | notify.h | 111 u16 update_indic, const u8 *tlvs, 115 const u8 *tlvs, size_t tlvs_len);
|
| HD | notify.c | 655 u16 update_indic, const u8 *tlvs, in wpas_notify_p2p_sd_request() argument 659 update_indic, tlvs, tlvs_len); in wpas_notify_p2p_sd_request() 665 const u8 *tlvs, size_t tlvs_len) in wpas_notify_p2p_sd_response() argument 668 tlvs, tlvs_len); in wpas_notify_p2p_sd_response()
|
| HD | p2p_supplicant.h | 84 const struct wpabuf *tlvs); 113 u16 update_indic, const u8 *tlvs, size_t tlvs_len); 115 const u8 *tlvs, size_t tlvs_len);
|
| HD | ctrl_iface.c | 5828 struct wpabuf *tlvs; in p2p_ctrl_serv_disc_req() local 5896 tlvs = wpabuf_alloc(len); in p2p_ctrl_serv_disc_req() 5897 if (tlvs == NULL) in p2p_ctrl_serv_disc_req() 5899 if (hexstr2bin(pos, wpabuf_put(tlvs, len), len) < 0) { in p2p_ctrl_serv_disc_req() 5900 wpabuf_free(tlvs); in p2p_ctrl_serv_disc_req() 5904 ref = wpas_p2p_sd_request(wpa_s, dst, tlvs); in p2p_ctrl_serv_disc_req() 5905 wpabuf_free(tlvs); in p2p_ctrl_serv_disc_req()
|
| /freebsd-11-stable/contrib/wpa/src/eap_common/ |
| HD | eap_common.c | 209 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()
|
| HD | eap_common.h | 30 int erp_parse_tlvs(const u8 *pos, const u8 *end, struct erp_tlvs *tlvs,
|
| /freebsd-11-stable/contrib/wpa/src/p2p/ |
| HD | p2p_sd.c | 152 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 …]
|
| HD | p2p.h | 827 u16 update_indic, const u8 *tlvs, size_t tlvs_len); 843 const u8 *tlvs, size_t tlvs_len); 1388 const struct wpabuf *tlvs); 1392 const struct wpabuf *tlvs);
|
| HD | p2p_i.h | 158 struct wpabuf *tlvs; member
|
| /freebsd-11-stable/contrib/wpa/wpa_supplicant/dbus/ |
| HD | dbus_new.h | 230 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
|
| HD | dbus_new.c | 1828 u16 update_indic, const u8 *tlvs, in wpas_dbus_signal_p2p_sd_request() argument 1873 (const char *) tlvs, in wpas_dbus_signal_p2p_sd_request() 1897 const u8 *tlvs, size_t tlvs_len) in wpas_dbus_signal_p2p_sd_response() argument 1938 (const char *) tlvs, in wpas_dbus_signal_p2p_sd_response()
|
| /freebsd-11-stable/sys/netpfil/ipfw/ |
| HD | ip_fw_eaction.c | 145 if (ti->tlvs == NULL) in eaction_findbyname() 149 ntlv = ipfw_find_name_tlv_type(ti->tlvs, ti->tlen, ti->uidx, in eaction_findbyname()
|
| HD | ip_fw_private.h | 569 void *tlvs; /* Pointer to first TLV */ member 748 ipfw_obj_ntlv *ipfw_find_name_tlv_type(void *tlvs, int len, uint16_t uidx,
|
| HD | ip_fw_table.c | 1951 ti->tlvs = ntlv; in ntlv_to_ti() 3107 if (ti->tlvs != NULL) { in find_table_err() 3108 ntlv = ipfw_find_name_tlv_type(ti->tlvs, ti->tlen, ti->uidx, in find_table_err() 3166 if (ti->tlvs != NULL) { in alloc_table_config() 3167 ntlv = ipfw_find_name_tlv_type(ti->tlvs, ti->tlen, ti->uidx, in alloc_table_config()
|
| HD | ip_fw_sockopt.c | 2873 ti.tlvs = (void *)(ci->ctlv + 1); in rewrite_rule_uidx() 4434 ipfw_find_name_tlv_type(void *tlvs, int len, uint16_t uidx, uint32_t etlv) in ipfw_find_name_tlv_type() argument 4440 pa = (uintptr_t)tlvs; in ipfw_find_name_tlv_type() 4486 if (ti->tlvs == NULL) in ipfw_objhash_find_type() 4489 ntlv = ipfw_find_name_tlv_type(ti->tlvs, ti->tlen, ti->uidx, etlv); in ipfw_objhash_find_type()
|
| HD | ip_fw_dynamic.c | 616 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-11-stable/sys/dev/qlnx/qlnxe/ |
| HD | ecore_dcbx.c | 1534 struct lldp_received_tlvs_s tlvs; in ecore_lldp_mib_update_event() local 1541 data.lldp_tlvs = &tlvs; in ecore_lldp_mib_update_event() 1542 data.size = sizeof(tlvs); in ecore_lldp_mib_update_event() 1550 if (!tlvs.length) in ecore_lldp_mib_update_event() 1554 tlvs.tlvs_buffer[i] = in ecore_lldp_mib_update_event() 1555 OSAL_CPU_TO_BE32(tlvs.tlvs_buffer[i]); in ecore_lldp_mib_update_event() 1557 OSAL_LLDP_RX_TLVS(p_hwfn, tlvs.tlvs_buffer, tlvs.length); in ecore_lldp_mib_update_event()
|
| HD | bcm_osal.h | 99 uint16_t *tlvs); 576 #define OSAL_IOV_VF_VPORT_UPDATE(p_hwfn, vfid, params, tlvs) \ argument 577 qlnx_iov_update_vport(p_hwfn, vfid, params, tlvs)
|
| HD | mcp_private.h | 227 typedef u8(*lldp_process_func)(u8 port, u8 num, u8 **tlvs);
|
| HD | mcp_public.h | 1923 enum tlvs { enum
|
| /freebsd-11-stable/contrib/wpa/src/ap/ |
| HD | wpa_auth_ft.c | 305 static size_t wpa_ft_tlv_len(const struct tlv_list *tlvs) in wpa_ft_tlv_len() argument 310 if (!tlvs) in wpa_ft_tlv_len() 313 for (i = 0; tlvs[i].type != FT_RRB_LAST_EMPTY; i++) { in wpa_ft_tlv_len() 315 tlv_len += tlvs[i].len; in wpa_ft_tlv_len() 322 static size_t wpa_ft_tlv_lin(const struct tlv_list *tlvs, u8 *start, in wpa_ft_tlv_lin() argument 330 if (!tlvs) in wpa_ft_tlv_lin() 335 for (i = 0; tlvs[i].type != FT_RRB_LAST_EMPTY; i++) { in wpa_ft_tlv_lin() 340 hdr->type = host_to_le16(tlvs[i].type); in wpa_ft_tlv_lin() 341 hdr->len = host_to_le16(tlvs[i].len); in wpa_ft_tlv_lin() 344 if (tlv_len + tlvs[i].len > (size_t) (endpos - start)) in wpa_ft_tlv_lin() [all …]
|
| /freebsd-11-stable/contrib/wpa/src/eap_server/ |
| HD | eap_server.c | 791 const u8 *pos, *end, *start, *tlvs, *hdr; in SM_STATE() local 828 tlvs = pos; in SM_STATE() 836 if (erp_parse_tlvs(tlvs, end, &parse, 1) < 0) in SM_STATE() 968 tlvs, end - tlvs); in SM_STATE() 969 if (erp_parse_tlvs(tlvs, end, &parse, 0) < 0) in SM_STATE()
|