Lines Matching refs:lspping_tlv_header
126 struct lspping_tlv_header { struct
493 const struct lspping_tlv_header *lspping_tlv_header; in lspping_print() local
494 const struct lspping_tlv_header *lspping_subtlv_header; in lspping_print()
604 if (tlen < sizeof(struct lspping_tlv_header)) in lspping_print()
608 ND_TCHECK2(*tptr, sizeof(struct lspping_tlv_header)); in lspping_print()
610 lspping_tlv_header = (const struct lspping_tlv_header *)tptr; in lspping_print()
611 lspping_tlv_type=EXTRACT_16BITS(lspping_tlv_header->type); in lspping_print()
612 lspping_tlv_len=EXTRACT_16BITS(lspping_tlv_header->length); in lspping_print()
623 tptr+=sizeof(struct lspping_tlv_header); in lspping_print()
624 tlen-=sizeof(struct lspping_tlv_header); in lspping_print()
628 tlv_tptr=tptr+sizeof(struct lspping_tlv_header); in lspping_print()
632 if (tlen < lspping_tlv_len+sizeof(struct lspping_tlv_header)) in lspping_print()
642 if (tlv_tlen < sizeof(struct lspping_tlv_header)) { in lspping_print()
648 ND_TCHECK2(*tlv_tptr, sizeof(struct lspping_tlv_header)); in lspping_print()
651 lspping_subtlv_header = (const struct lspping_tlv_header *)tlv_tptr; in lspping_print()
654 subtlv_tptr=tlv_tptr+sizeof(struct lspping_tlv_header); in lspping_print()
657 if (tlv_tlen < lspping_subtlv_len+sizeof(struct lspping_tlv_header)) { in lspping_print()
863 print_unknown_data(ndo, tlv_tptr+sizeof(struct lspping_tlv_header), \ in lspping_print()
871 if (tlv_tlen < lspping_subtlv_len+sizeof(struct lspping_tlv_header)) { in lspping_print()
877 tlv_tlen-=lspping_subtlv_len+sizeof(struct lspping_tlv_header); in lspping_print()
1057 print_unknown_data(ndo, tptr+sizeof(struct lspping_tlv_header), "\n\t ", in lspping_print()
1065 if (tlen < lspping_tlv_len+sizeof(struct lspping_tlv_header)) in lspping_print()
1069 tptr+=lspping_tlv_len+sizeof(struct lspping_tlv_header); in lspping_print()
1070 tlen-=lspping_tlv_len+sizeof(struct lspping_tlv_header); in lspping_print()