Lines Matching refs:ldp_msg_header
80 struct ldp_msg_header { struct
550 while (len > (sizeof(struct ldp_common_header) + sizeof(struct ldp_msg_header))) { in ldp_print()
564 const struct ldp_msg_header *ldp_msg_header; in ldp_pdu_print() local
610 ND_TCHECK2(*tptr, sizeof(struct ldp_msg_header)); in ldp_pdu_print()
612 ldp_msg_header = (const struct ldp_msg_header *)tptr; in ldp_pdu_print()
613 msg_len=EXTRACT_16BITS(ldp_msg_header->length); in ldp_pdu_print()
614 msg_type=LDP_MASK_MSG_TYPE(EXTRACT_16BITS(ldp_msg_header->type)); in ldp_pdu_print()
616 if (msg_len < sizeof(struct ldp_msg_header)-4) { in ldp_pdu_print()
625 (u_int)(sizeof(struct ldp_msg_header)-4))); in ldp_pdu_print()
636 EXTRACT_32BITS(&ldp_msg_header->id), in ldp_pdu_print()
637 … LDP_MASK_U_BIT(EXTRACT_16BITS(&ldp_msg_header->type)) ? "continue processing" : "ignore")); in ldp_pdu_print()
639 msg_tptr=tptr+sizeof(struct ldp_msg_header); in ldp_pdu_print()
640 msg_tlen=msg_len-(sizeof(struct ldp_msg_header)-4); /* Type & Length fields not included */ in ldp_pdu_print()
681 print_unknown_data(ndo, tptr+sizeof(struct ldp_msg_header), "\n\t ", in ldp_pdu_print()