Searched refs:tlv_length (Results 1 – 6 of 6) sorted by relevance
186 u_int tlv_type, tlv_length; in ospf_print_grace_lsa() local196 tlv_length = EXTRACT_16BITS(tptr+2); in ospf_print_grace_lsa()203 tlv_length)); in ospf_print_grace_lsa()205 if (tlv_length > ls_length) { in ospf_print_grace_lsa()206 ND_PRINT((ndo, "\n\t Bogus length %u > %u", tlv_length, in ospf_print_grace_lsa()212 if (tlv_type == 0 || tlv_length ==0) { in ospf_print_grace_lsa()216 ND_TCHECK2(*tptr, tlv_length); in ospf_print_grace_lsa()220 if (tlv_length != 4) { in ospf_print_grace_lsa()221 ND_PRINT((ndo, "\n\t Bogus length %u != 4", tlv_length)); in ospf_print_grace_lsa()228 if (tlv_length != 1) { in ospf_print_grace_lsa()[all …]
105 size = tlv->tlv_length; in nflog_if_print()
1338 tlv->tlv_length = SWAPSHORT(tlv->tlv_length); in swap_nflog_header()1341 size = tlv->tlv_length; in swap_nflog_header()
49 u_int16_t tlv_length; /* tlv length */ member
1695 p_i93->tlv_length = *(p + xx); in rw_i93_sm_detect_ndef()1700 … p_i93->ndef_tlv_last_offset = p_i93->ndef_tlv_start_offset + 1 + p_i93->tlv_length; in rw_i93_sm_detect_ndef()1708 p_i93->tlv_length = *(p + xx); in rw_i93_sm_detect_ndef()1714 p_i93->tlv_length = (p_i93->tlv_length << 8) + *(p + xx); in rw_i93_sm_detect_ndef()1719 … p_i93->ndef_tlv_last_offset = p_i93->ndef_tlv_start_offset + 3 + p_i93->tlv_length; in rw_i93_sm_detect_ndef()1726 if (p_i93->tlv_length <= length - xx) in rw_i93_sm_detect_ndef()1729 xx += (UINT8)p_i93->tlv_length; in rw_i93_sm_detect_ndef()1735 p_i93->tlv_length -= (length - xx); in rw_i93_sm_detect_ndef()1745 p_i93->ndef_length = p_i93->tlv_length; in rw_i93_sm_detect_ndef()
545 UINT16 tlv_length; /* currently detected length */ member