Home
last modified time | relevance | path

Searched refs:tlv_length (Results 1 – 7 of 7) sorted by relevance

/f-stack/freebsd/net/
H A Dieee8023ad_lacp.h103 uint8_t tlv_length; member
114 (tlv)->tlv_length = sizeof(*tlv) + (length); \
H A Dieee8023ad_lacp.c2063 tlv->tlv_length != tmpl->tmpl_length) { in tlv_check()
2070 ((const char *)tlv + tlv->tlv_length); in tlv_check()
/f-stack/dpdk/drivers/common/sfc_efx/base/
H A Defx_lic.c458 uint16_t tlv_length; in efx_lic_v1v2_find_key() local
466 tlv_length = __LE_TO_CPU_16(((uint16_t *)&bufferp[offset])[1]); in efx_lic_v1v2_find_key()
467 if ((tlv_length > EFX_LICENSE_V1V2_PAYLOAD_LENGTH_MAX) || in efx_lic_v1v2_find_key()
468 (tlv_type == 0 && tlv_length == 0)) { in efx_lic_v1v2_find_key()
472 *lengthp = tlv_length + EFX_LICENSE_V1V2_HEADER_LENGTH; in efx_lic_v1v2_find_key()
490 uint16_t tlv_length; in efx_lic_v1v2_validate_key() local
499 tlv_length = __LE_TO_CPU_16(((uint16_t *)keyp)[1]); in efx_lic_v1v2_validate_key()
501 if (tlv_length > EFX_LICENSE_V1V2_PAYLOAD_LENGTH_MAX) { in efx_lic_v1v2_validate_key()
507 if ((tlv_length + EFX_LICENSE_V1V2_HEADER_LENGTH) != length) { in efx_lic_v1v2_validate_key()
H A Def10_nvram.c65 tlv_length( in tlv_length() function
113 length = tlv_length(cursor); in tlv_next_item_ptr()
448 delta = TLV_DWORD_COUNT(tlv_length(cursor)); in tlv_delete()
502 old_ndwords = TLV_DWORD_COUNT(tlv_length(cursor)); in tlv_modify()
1047 value_length = tlv_length(&cursor); in ef10_nvram_buffer_get_item()
1380 length = tlv_length(&cursor); in ef10_nvram_buf_read_tlv()
/f-stack/dpdk/drivers/net/qede/base/
H A Decore_mng_tlv.c1436 tlv.tlv_length = TLV_LENGTH(p_temp); in ecore_mfw_update_tlvs()
1439 tlv.tlv_type, tlv.tlv_length, tlv.tlv_flags); in ecore_mfw_update_tlvs()
1456 OSAL_WARN(len > 4 * tlv.tlv_length, in ecore_mfw_update_tlvs()
1458 len = OSAL_MIN_T(int, len, 4 * tlv.tlv_length); in ecore_mfw_update_tlvs()
1465 offset += sizeof(u32) * tlv.tlv_length; in ecore_mfw_update_tlvs()
1510 offset += sizeof(tlv) + sizeof(u32) * tlv.tlv_length) { in ecore_mfw_process_tlv_req()
1513 tlv.tlv_length = TLV_LENGTH(p_temp); in ecore_mfw_process_tlv_req()
H A Decore_mcp.h92 u8 tlv_length; /* In dwords - not including this header */ member
/f-stack/freebsd/netinet/
H A Dsctp_asconf.c102 uint16_t tlv_length) in sctp_asconf_error_response() argument
112 tlv_length = 0; in sctp_asconf_error_response()
114 cause_length = sizeof(struct sctp_error_cause) + tlv_length; in sctp_asconf_error_response()
116 padding_length = tlv_length % 4; in sctp_asconf_error_response()
124 tlv_length); in sctp_asconf_error_response()
142 memcpy(tlv, error_tlv, tlv_length); in sctp_asconf_error_response()
144 tlv[tlv_length + i] = 0; in sctp_asconf_error_response()