Searched refs:tlv_length (Results 1 – 6 of 6) sorted by relevance
198 u_int tlv_type, tlv_length; in ospf_print_grace_lsa() local208 tlv_length = EXTRACT_16BITS(tptr+2); in ospf_print_grace_lsa()215 tlv_length); in ospf_print_grace_lsa()217 if (tlv_length > ls_length) { in ospf_print_grace_lsa()218 printf("\n\t Bogus length %u > %u", tlv_length, in ospf_print_grace_lsa()224 if (tlv_type == 0 || tlv_length ==0) { in ospf_print_grace_lsa()228 TCHECK2(*tptr, tlv_length); in ospf_print_grace_lsa()232 if (tlv_length != 4) { in ospf_print_grace_lsa()233 printf("\n\t Bogus length %u != 4", tlv_length); in ospf_print_grace_lsa()240 if (tlv_length != 1) { in ospf_print_grace_lsa()[all …]
106 size = tlv->tlv_length; in nflog_if_print()
1250 tlv->tlv_length = SWAPSHORT(tlv->tlv_length); in swap_nflog_header()1253 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()
543 UINT16 tlv_length; /* currently detected length */ member