Searched refs:tlv_length (Results 1 – 11 of 11) sorted by relevance
/freebsd/contrib/tcpdump/ |
H A D | print-ospf.c | 185 u_int tlv_type, tlv_length; in ospf_grace_lsa_print() local 195 tlv_length = GET_BE_U_2(tptr + 2); in ospf_grace_lsa_print() 202 tlv_length); in ospf_grace_lsa_print() 204 if (tlv_length > ls_length) { in ospf_grace_lsa_print() 205 ND_PRINT("\n\t Bogus length %u > %u", tlv_length, in ospf_grace_lsa_print() 211 if (tlv_type == 0 || tlv_length ==0) { in ospf_grace_lsa_print() 215 ND_TCHECK_LEN(tptr, tlv_length); in ospf_grace_lsa_print() 219 if (tlv_length != 4) { in ospf_grace_lsa_print() 220 ND_PRINT("\n\t Bogus length %u != 4", tlv_length); in ospf_grace_lsa_print() 227 if (tlv_length != 1) { in ospf_grace_lsa_print() [all …]
|
H A D | print-nflog.c | 59 nd_uint16_t tlv_length; /* tlv length */ member 181 size = GET_HE_U_2(tlv->tlv_length); in nflog_if_print()
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_mng_tlv.c | 1260 offset += sizeof(tlv) + sizeof(u32) * tlv.tlv_length) { in ecore_mfw_update_tlvs() 1263 tlv.tlv_length = TLV_LENGTH(p_tlv); in ecore_mfw_update_tlvs() 1268 tlv.tlv_length, tlv.tlv_flags); in ecore_mfw_update_tlvs() 1280 OSAL_WARN(len > 4 * tlv.tlv_length, in ecore_mfw_update_tlvs() 1282 len, 4 * tlv.tlv_length); in ecore_mfw_update_tlvs() 1283 len = OSAL_MIN_T(int, len, 4 * tlv.tlv_length); in ecore_mfw_update_tlvs() 1339 offset += sizeof(tlv) + sizeof(u32) * tlv.tlv_length) { in ecore_mfw_process_tlv_req() 1342 tlv.tlv_length = TLV_LENGTH(p_temp); in ecore_mfw_process_tlv_req()
|
H A D | ecore_mcp.h | 120 u8 tlv_length; /* In dwords - not including this header */ member
|
/freebsd/contrib/libpcap/ |
H A D | pcap-util.c | 423 tlv->tlv_length = SWAPSHORT(tlv->tlv_length); in swap_nflog_header() 426 size = tlv->tlv_length; in swap_nflog_header()
|
/freebsd/sys/dev/sfxge/common/ |
H A D | efx_lic.c | 481 uint16_t tlv_length; in efx_lic_v1v2_find_key() local 489 tlv_length = __LE_TO_CPU_16(((uint16_t *)&bufferp[offset])[1]); in efx_lic_v1v2_find_key() 490 if ((tlv_length > EFX_LICENSE_V1V2_PAYLOAD_LENGTH_MAX) || in efx_lic_v1v2_find_key() 491 (tlv_type == 0 && tlv_length == 0)) { in efx_lic_v1v2_find_key() 495 *lengthp = tlv_length + EFX_LICENSE_V1V2_HEADER_LENGTH; in efx_lic_v1v2_find_key() 513 uint16_t tlv_length; in efx_lic_v1v2_validate_key() local 522 tlv_length = __LE_TO_CPU_16(((uint16_t *)keyp)[1]); in efx_lic_v1v2_validate_key() 524 if (tlv_length > EFX_LICENSE_V1V2_PAYLOAD_LENGTH_MAX) { in efx_lic_v1v2_validate_key() 530 if ((tlv_length + EFX_LICENSE_V1V2_HEADER_LENGTH) != length) { in efx_lic_v1v2_validate_key()
|
H A D | ef10_nvram.c | 88 tlv_length( in tlv_length() function 135 length = tlv_length(cursor); in tlv_next_item_ptr() 469 delta = TLV_DWORD_COUNT(tlv_length(cursor)); in tlv_delete() 523 old_ndwords = TLV_DWORD_COUNT(tlv_length(cursor)); in tlv_modify() 1068 value_length = tlv_length(&cursor); in ef10_nvram_buffer_get_item() 1398 length = tlv_length(&cursor); in ef10_nvram_buf_read_tlv()
|
/freebsd/contrib/libpcap/pcap/ |
H A D | nflog.h | 51 uint16_t tlv_length; /* tlv length */ member
|
/freebsd/sys/net/ |
H A D | ieee8023ad_lacp.h | 101 uint8_t tlv_length; member 112 (tlv)->tlv_length = sizeof(*tlv) + (length); \
|
H A D | ieee8023ad_lacp.c | 2074 tlv->tlv_length != tmpl->tmpl_length) { in tlv_check() 2081 ((const char *)tlv + tlv->tlv_length); in tlv_check()
|
/freebsd/sys/netinet/ |
H A D | sctp_asconf.c | 99 uint16_t tlv_length) in sctp_asconf_error_response() argument 109 tlv_length = 0; in sctp_asconf_error_response() 111 cause_length = sizeof(struct sctp_error_cause) + tlv_length; in sctp_asconf_error_response() 113 padding_length = tlv_length % 4; in sctp_asconf_error_response() 121 tlv_length); in sctp_asconf_error_response() 139 memcpy(tlv, error_tlv, tlv_length); in sctp_asconf_error_response() 141 tlv[tlv_length + i] = 0; in sctp_asconf_error_response()
|