Searched refs:tlv_length (Results 1 - 11 of 11) sorted by relevance

/freebsd-11-stable/contrib/tcpdump/
H A Dprint-ospf.c187 u_int tlv_type, tlv_length; local
197 tlv_length = EXTRACT_16BITS(tptr+2);
204 tlv_length));
206 if (tlv_length > ls_length) {
207 ND_PRINT((ndo, "\n\t Bogus length %u > %u", tlv_length,
213 if (tlv_type == 0 || tlv_length ==0) {
217 ND_TCHECK2(*tptr, tlv_length);
221 if (tlv_length != 4) {
222 ND_PRINT((ndo, "\n\t Bogus length %u != 4", tlv_length));
229 if (tlv_length !
270 u_int tlv_type, tlv_length, subtlv_type, subtlv_length; local
624 register int j, tlv_type, tlv_length, topology; local
[all...]
H A Dprint-nflog.c106 size = tlv->tlv_length;
/freebsd-11-stable/contrib/libpcap/pcap/
H A Dnflog.h51 uint16_t tlv_length; /* tlv length */ member in struct:nflog_tlv
/freebsd-11-stable/contrib/libpcap/
H A Dpcap-common.c1532 tlv->tlv_length = SWAPSHORT(tlv->tlv_length);
1535 size = tlv->tlv_length;
/freebsd-11-stable/sys/net/
H A Dieee8023ad_lacp.h101 uint8_t tlv_length; member in struct:tlvhdr
112 (tlv)->tlv_length = sizeof(*tlv) + (length); \
H A Dieee8023ad_lacp.c1997 tlv->tlv_length != tmpl->tmpl_length) {
2004 ((const char *)tlv + tlv->tlv_length);
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
H A Decore_mng_tlv.c1263 offset += sizeof(tlv) + sizeof(u32) * tlv.tlv_length) {
1266 tlv.tlv_length = TLV_LENGTH(p_tlv);
1271 tlv.tlv_length, tlv.tlv_flags);
1283 OSAL_WARN(len > 4 * tlv.tlv_length,
1285 len, 4 * tlv.tlv_length);
1286 len = OSAL_MIN_T(int, len, 4 * tlv.tlv_length);
1342 offset += sizeof(tlv) + sizeof(u32) * tlv.tlv_length) {
1345 tlv.tlv_length = TLV_LENGTH(p_temp);
H A Decore_mcp.h123 u8 tlv_length; /* In dwords - not including this header */ member in struct:ecore_drv_tlv_hdr
/freebsd-11-stable/sys/dev/sfxge/common/
H A Defx_lic.c503 uint16_t tlv_length; local
511 tlv_length = __LE_TO_CPU_16(((uint16_t *)&bufferp[offset])[1]);
512 if ((tlv_length > EFX_LICENSE_V1V2_PAYLOAD_LENGTH_MAX) ||
513 (tlv_type == 0 && tlv_length == 0)) {
517 *lengthp = tlv_length + EFX_LICENSE_V1V2_HEADER_LENGTH;
536 uint16_t tlv_length; local
545 tlv_length = __LE_TO_CPU_16(((uint16_t *)keyp)[1]);
547 if (tlv_length > EFX_LICENSE_V1V2_PAYLOAD_LENGTH_MAX) {
553 if ((tlv_length + EFX_LICENSE_V1V2_HEADER_LENGTH) != length) {
H A Def10_nvram.c92 tlv_length( function
140 length = tlv_length(cursor);
475 delta = TLV_DWORD_COUNT(tlv_length(cursor));
529 old_ndwords = TLV_DWORD_COUNT(tlv_length(cursor));
1015 item_length = tlv_length(&cursor);
1308 length = tlv_length(&cursor);
/freebsd-11-stable/sys/netinet/
H A Dsctp_asconf.c101 uint16_t tlv_length)
111 tlv_length = 0;
113 cause_length = sizeof(struct sctp_error_cause) + tlv_length;
115 padding_length = tlv_length % 4;
122 "asconf_error_response: tlv_length (%xh) too big\n",
123 tlv_length);
141 memcpy(tlv, error_tlv, tlv_length);
143 tlv[tlv_length + i] = 0;
100 sctp_asconf_error_response(uint32_t id, uint16_t cause, uint8_t *error_tlv, uint16_t tlv_length) argument

Completed in 308 milliseconds