Home
last modified time | relevance | path

Searched refs:tlv_type (Results 1 – 25 of 43) sorted by relevance

12

/freebsd/sys/contrib/dev/athk/ath10k/
H A Dqmi_wlfw_v01.c16 .tlv_type = 0,
25 .tlv_type = 0,
34 .tlv_type = 0,
43 .tlv_type = 0,
52 .tlv_type = 0,
65 .tlv_type = 0,
74 .tlv_type = 0,
83 .tlv_type = 0,
96 .tlv_type = 0,
105 .tlv_type = 0,
[all …]
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dqmi.c34 .tlv_type = 0,
43 .tlv_type = 0,
52 .tlv_type = 0,
61 .tlv_type = 0,
68 .tlv_type = QMI_COMMON_TLV_TYPE,
78 .tlv_type = 0x10,
87 .tlv_type = 0x10,
96 .tlv_type = 0x11,
105 .tlv_type = 0x11,
114 .tlv_type = 0x12,
[all …]
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dqmi.c52 .tlv_type = 0x10,
61 .tlv_type = 0x10,
70 .tlv_type = 0x11,
79 .tlv_type = 0x11,
88 .tlv_type = 0x12,
97 .tlv_type = 0x12,
106 .tlv_type = 0x12,
115 .tlv_type = 0x13,
124 .tlv_type = 0x13,
133 .tlv_type = 0x14,
[all …]
/freebsd/contrib/wpa/src/eap_common/
H A Deap_tlv_common.h43 be16 tlv_type; member
48 be16 tlv_type; member
55 be16 tlv_type; member
62 be16 tlv_type; member
70 be16 tlv_type; member
81 be16 tlv_type; member
90 be16 tlv_type; member
97 be16 tlv_type; /* PAC_TYPE_PAC_TYPE */ member
H A Deap_common.c215 u8 tlv_type, tlv_len; in erp_parse_tlvs() local
217 tlv_type = *pos++; in erp_parse_tlvs()
218 switch (tlv_type) { in erp_parse_tlvs()
246 if (tlv_type == EAP_ERP_TLV_KEYNAME_NAI) { in erp_parse_tlvs()
256 } else if (tlv_type == EAP_ERP_TLV_DOMAIN_NAME) { in erp_parse_tlvs()
263 if (tlv_type >= 128 && tlv_type <= 191) { in erp_parse_tlvs()
280 tlv_type); in erp_parse_tlvs()
H A Deap_teap_common.h50 be16 tlv_type; member
56 be16 tlv_type; member
63 be16 tlv_type; member
71 be16 tlv_type; /* TLV Type[14b] and M/R flags */ member
83 be16 tlv_type; member
97 be16 tlv_type; member
221 int tlv_type, u8 *pos, size_t len);
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_mng_tlv.c50 ecore_mfw_get_tlv_group(u8 tlv_type, u8 *tlv_group) in ecore_mfw_get_tlv_group() argument
52 switch(tlv_type) { in ecore_mfw_get_tlv_group()
269 switch (p_tlv->tlv_type) { in ecore_mfw_get_gen_tlv_value()
287 int idx = p_tlv->tlv_type - DRV_TLV_LOCAL_ADMIN_ADDR; in ecore_mfw_get_gen_tlv_value()
332 switch (p_tlv->tlv_type) { in ecore_mfw_get_eth_tlv_value()
466 switch (p_tlv->tlv_type) { in ecore_mfw_get_fcoe_tlv_value()
653 u8 idx = (p_tlv->tlv_type - in ecore_mfw_get_fcoe_tlv_value()
669 u8 idx = (p_tlv->tlv_type - in ecore_mfw_get_fcoe_tlv_value()
711 u8 idx = p_tlv->tlv_type - in ecore_mfw_get_fcoe_tlv_value()
727 u8 idx = p_tlv->tlv_type - in ecore_mfw_get_fcoe_tlv_value()
[all …]
/freebsd/sys/dev/mlxfw/
H A Dmlxfw_mfa2_tlv.h75 #define MLXFW_MFA2_TLV(name, payload_type, tlv_type) \ argument
81 tlv_type, sizeof(payload_type), \
85 #define MLXFW_MFA2_TLV_VARSIZE(name, payload_type, tlv_type) \ argument
91 tlv_type, sizeof(payload_type), \
/freebsd/contrib/tcpdump/
H A Dprint-ospf.c185 u_int tlv_type, tlv_length; in ospf_grace_lsa_print() local
194 tlv_type = GET_BE_U_2(tptr); in ospf_grace_lsa_print()
200 tok2str(lsa_opaque_grace_tlv_values,"unknown",tlv_type), in ospf_grace_lsa_print()
201 tlv_type, in ospf_grace_lsa_print()
211 if (tlv_type == 0 || tlv_length ==0) { in ospf_grace_lsa_print()
216 switch(tlv_type) { in ospf_grace_lsa_print()
268 u_int tlv_type, tlv_length, subtlv_type, subtlv_length; in ospf_te_lsa_print() local
281 tlv_type = GET_BE_U_2(tptr); in ospf_te_lsa_print()
287 tok2str(lsa_opaque_te_tlv_values,"unknown",tlv_type), in ospf_te_lsa_print()
288 tlv_type, in ospf_te_lsa_print()
[all …]
H A Dprint-slow.c347 u_int tlv_type, tlv_len, tlv_tlen; in slow_marker_lacp_print() local
362 tlv_type = GET_U_1(tlv_header->type); in slow_marker_lacp_print()
368 (proto_subtype << 8) + tlv_type), in slow_marker_lacp_print()
369 tlv_type, in slow_marker_lacp_print()
372 if (tlv_type == LACP_MARKER_TLV_TERMINATOR) { in slow_marker_lacp_print()
396 switch((proto_subtype << 8) + tlv_type) { in slow_marker_lacp_print()
H A Dprint-nsh.c194 uint8_t tlv_type, tlv_len, tlv_len_padded; in nsh_print() local
198 tlv_type = GET_U_1(bp); in nsh_print()
205 tlv_class, tlv_type, tlv_len); in nsh_print()
H A Dprint-ldp.c249 u_short tlv_type,tlv_len,tlv_tlen,af,ft_flags; in ldp_tlv_print() local
263 tlv_type=LDP_MASK_TLV_TYPE(GET_BE_U_2(ldp_tlv_header->type)); in ldp_tlv_print()
269 tlv_type), in ldp_tlv_print()
270 tlv_type, in ldp_tlv_print()
277 switch(tlv_type) { in ldp_tlv_print()
H A Dprint-lldp.c1179 u_int tlen, tlv_type; in lldp_private_dcbx_print() local
1205 tlv_type = LLDP_EXTRACT_TYPE(tlv); in lldp_private_dcbx_print()
1213 if (!tlv_type || !tlv_len) { in lldp_private_dcbx_print()
1223 switch (tlv_type) { in lldp_private_dcbx_print()
1450 u_int oui, tlen, hexdump, tlv_type, tlv_len; in lldp_print() local
1466 tlv_type = LLDP_EXTRACT_TYPE(tlv); in lldp_print()
1475 tok2str(lldp_tlv_values, "Unknown", tlv_type), in lldp_print()
1476 tlv_type, tlv_len); in lldp_print()
1480 if (!tlv_type || !tlv_len) { in lldp_print()
1489 switch (tlv_type) { in lldp_print()
H A Dprint-nflog.c60 nd_uint16_t tlv_type; /* tlv type */ member
193 if (GET_HE_U_2(tlv->tlv_type) == NFULA_PAYLOAD) { in nflog_if_print()
H A Dprint-juniper.c1218 const u_char *p, u_int tlv_type, u_int tlv_len) in juniper_read_tlv_value() argument
1223 if (tlv_type < 128) { in juniper_read_tlv_value()
1270 uint8_t tlv_type,tlv_len; in juniper_parse_header() local
1323 tlv_type = GET_U_1(tptr); in juniper_parse_header()
1330 if (tlv_type == 0 || tlv_len == 0) in juniper_parse_header()
1337 tok2str(jnx_ext_tlv_values,"Unknown",tlv_type), in juniper_parse_header()
1338 tlv_type, in juniper_parse_header()
1341 tlv_value = juniper_read_tlv_value(ndo, tptr, tlv_type, tlv_len); in juniper_parse_header()
1342 switch (tlv_type) { in juniper_parse_header()
H A Dprint-babel.c298 const u_char *cp, const u_char *ep, const uint8_t tlv_type) in subtlvs_print() argument
339 if(tlv_type != MESSAGE_UPDATE && in subtlvs_print()
340 tlv_type != MESSAGE_UPDATE_SRC_SPECIFIC) in subtlvs_print()
345 if(tlv_type == MESSAGE_HELLO) { in subtlvs_print()
350 } else if(tlv_type == MESSAGE_IHU) { in subtlvs_print()
/freebsd/sys/contrib/dev/iwlwifi/fw/
H A Dpnvm.c49 u32 tlv_len, tlv_type; in iwl_pnvm_handle_section()
55 tlv_type = le32_to_cpu(tlv->type); in iwl_pnvm_handle_section()
65 switch (tlv_type) { in iwl_pnvm_handle_section()
143 tlv_type, tlv_len); in iwl_pnvm_handle_section()
177 u32 tlv_len, tlv_type; in iwl_pnvm_parse()
184 tlv_type = le32_to_cpu(tlv->type); in iwl_pnvm_parse()
192 if (tlv_type == IWL_UCODE_TLV_PNVM_SKU) { in iwl_pnvm_parse()
47 u32 tlv_len, tlv_type; iwl_pnvm_handle_section() local
175 u32 tlv_len, tlv_type; iwl_pnvm_parse() local
H A Duefi.c161 u32 tlv_len, tlv_type; in iwl_uefi_reduce_power_section()
167 tlv_type = le32_to_cpu(tlv->type); in iwl_uefi_reduce_power_section()
177 switch (tlv_type) { in iwl_uefi_reduce_power_parse()
189 tlv_type, tlv_len); in iwl_uefi_reduce_power_parse()
214 u32 tlv_len, tlv_type; in iwl_uefi_reduce_power_parse()
220 tlv_type = le32_to_cpu(tlv->type); in iwl_uefi_reduce_power_parse()
228 if (tlv_type == IWL_UCODE_TLV_PNVM_SKU) { in iwl_uefi_get_reduced_power()
125 u32 tlv_len, tlv_type; iwl_uefi_reduce_power_section() local
178 u32 tlv_len, tlv_type; iwl_uefi_reduce_power_parse() local
/freebsd/contrib/wpa/src/eap_server/
H A Deap_server_peap.c439 u16 tlv_type; in eap_peap_build_phase2_tlv() local
463 tlv_type = EAP_TLV_CRYPTO_BINDING_TLV; in eap_peap_build_phase2_tlv()
464 wpabuf_put_be16(buf, tlv_type); in eap_peap_build_phase2_tlv()
715 int tlv_type, mandatory, tlv_len; in eap_peap_process_phase2_tlv() local
727 tlv_type = pos[0] & 0x3f; in eap_peap_process_phase2_tlv()
728 tlv_type = (tlv_type << 8) | pos[1]; in eap_peap_process_phase2_tlv()
739 switch (tlv_type) { in eap_peap_process_phase2_tlv()
750 "%d%s", tlv_type, in eap_peap_process_phase2_tlv()
835 int tlv_type, mandatory, tlv_len, vtlv_len; in eap_peap_process_phase2_soh() local
850 tlv_type = pos[0] & 0x3f; in eap_peap_process_phase2_soh()
[all …]
H A Deap_server_fast.c609 result->tlv_type = host_to_be16( in eap_fast_build_crypto_binding()
621 result->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_build_crypto_binding()
629 binding->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_build_crypto_binding()
754 WPA_PUT_BE16((u8 *) &result->tlv_type, in eap_fast_build_pac()
762 pac_tlv->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_build_pac()
1138 int mandatory, tlv_type, res; in eap_fast_parse_tlvs() local
1148 tlv_type = WPA_GET_BE16(pos) & 0x3fff; in eap_fast_parse_tlvs()
1158 tlv_type, (unsigned int) len, in eap_fast_parse_tlvs()
1161 res = eap_fast_parse_tlv(tlv, tlv_type, pos, len); in eap_fast_parse_tlvs()
1167 "mandatory TLV type %d", tlv_type); in eap_fast_parse_tlvs()
[all …]
H A Deap_server_teap.c642 result->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | in eap_teap_build_crypto_binding()
653 result->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | in eap_teap_build_crypto_binding()
661 cb->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | in eap_teap_build_crypto_binding()
803 WPA_PUT_BE16((u8 *) &result->tlv_type, in eap_teap_build_pac()
811 pac_tlv->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | TEAP_TLV_PAC); in eap_teap_build_pac()
1363 u16 tlv_type; in eap_teap_parse_tlvs() local
1374 tlv_type = WPA_GET_BE16(pos) & 0x3fff; in eap_teap_parse_tlvs()
1384 tlv_type, eap_teap_tlv_type_str(tlv_type), in eap_teap_parse_tlvs()
1388 res = eap_teap_parse_tlv(tlv, tlv_type, pos, len); in eap_teap_parse_tlvs()
1395 tlv_type); in eap_teap_parse_tlvs()
[all …]
/freebsd/contrib/wpa/src/eap_peer/
H A Deap_teap.c501 static struct wpabuf * eap_teap_tlv_nak(int vendor_id, int tlv_type) in eap_teap_tlv_nak() argument
508 vendor_id, tlv_type); in eap_teap_tlv_nak()
513 nak->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | TEAP_TLV_NAK); in eap_teap_tlv_nak()
516 nak->nak_type = host_to_be16(tlv_type); in eap_teap_tlv_nak()
533 ack->tlv_type = host_to_be16(TEAP_TLV_PAC | TEAP_TLV_MANDATORY); in eap_teap_tlv_pac_ack()
690 rbind->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | in eap_teap_write_crypto_binding()
1161 u16 tlv_type; in eap_teap_parse_decrypted() local
1173 tlv_type = WPA_GET_BE16(pos) & 0x3fff; in eap_teap_parse_decrypted()
1183 tlv_type, eap_teap_tlv_type_str(tlv_type), in eap_teap_parse_decrypted()
1187 res = eap_teap_parse_tlv(tlv, tlv_type, pos, len); in eap_teap_parse_decrypted()
[all …]
H A Deap_fast.c519 static struct wpabuf * eap_fast_tlv_nak(int vendor_id, int tlv_type) in eap_fast_tlv_nak() argument
527 nak->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | EAP_TLV_NAK_TLV); in eap_fast_tlv_nak()
530 nak->nak_type = host_to_be16(tlv_type); in eap_fast_tlv_nak()
545 result->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_tlv_result()
567 ack->tlv_type = host_to_be16(EAP_TLV_PAC_TLV | in eap_fast_tlv_pac_ack()
646 rbind->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_write_crypto_binding()
746 act->tlv_type = host_to_be16(EAP_TLV_REQUEST_ACTION_TLV); in eap_fast_write_pac_request()
751 pac->tlv_type = host_to_be16(EAP_TLV_PAC_TLV); in eap_fast_write_pac_request()
755 type->tlv_type = host_to_be16(PAC_TYPE_PAC_TYPE); in eap_fast_write_pac_request()
1100 int mandatory, tlv_type, res; in eap_fast_parse_decrypted() local
[all …]
H A Deap_peap.c337 u16 tlv_type; in eap_tlv_add_cryptobinding() local
345 tlv_type = EAP_TLV_CRYPTO_BINDING_TLV; in eap_tlv_add_cryptobinding()
346 wpabuf_put_be16(buf, tlv_type); in eap_tlv_add_cryptobinding()
509 int tlv_type, mandatory; in eap_tlv_process() local
518 tlv_type = WPA_GET_BE16(pos) & 0x3fff; in eap_tlv_process()
530 switch (tlv_type) { in eap_tlv_process()
541 "%d%s", tlv_type, in eap_tlv_process()
547 tlv_type); in eap_tlv_process()
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dqplib_tlv.h45 (rtlv)->tlv.tlv_type = TLV_TYPE_ROCE_SP_COMMAND; \
55 (rtlv)->tlv.tlv_type = (ext_type); \

12