Home
last modified time | relevance | path

Searched refs:ldp_msg_header (Results 1 – 1 of 1) sorted by relevance

/external/tcpdump/
Dprint-ldp.c80 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()
[all …]