Lines Matching refs:ldp_msg_header
79 struct ldp_msg_header { struct
556 while (len > (sizeof(struct ldp_common_header) + sizeof(struct ldp_msg_header))) { in ldp_print()
575 const struct ldp_msg_header *ldp_msg_header; in ldp_pdu_print() local
622 ND_TCHECK_LEN(tptr, sizeof(struct ldp_msg_header)); in ldp_pdu_print()
624 ldp_msg_header = (const struct ldp_msg_header *)tptr; in ldp_pdu_print()
625 msg_len=GET_BE_U_2(ldp_msg_header->length); in ldp_pdu_print()
626 msg_type=LDP_MASK_MSG_TYPE(GET_BE_U_2(ldp_msg_header->type)); in ldp_pdu_print()
628 if (msg_len < sizeof(struct ldp_msg_header)-4) { in ldp_pdu_print()
637 sizeof(struct ldp_msg_header)-4); in ldp_pdu_print()
648 GET_BE_U_4(ldp_msg_header->id), in ldp_pdu_print()
649 LDP_MASK_U_BIT(GET_BE_U_2(ldp_msg_header->type)) ? "continue processing" : "ignore"); in ldp_pdu_print()
651 msg_tptr=tptr+sizeof(struct ldp_msg_header); in ldp_pdu_print()
652 msg_tlen=msg_len-(sizeof(struct ldp_msg_header)-4); /* Type & Length fields not included */ in ldp_pdu_print()
693 print_unknown_data(ndo, tptr+sizeof(struct ldp_msg_header), "\n\t ", in ldp_pdu_print()