Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-olsr.c323 u_int msg_type, msg_len, msg_tlen, hello_len; in olsr_print() local
391 msg_tlen = msg_len - sizeof(struct olsr_msg6); in olsr_print()
421 msg_tlen = msg_len - sizeof(struct olsr_msg4); in olsr_print()
428 if (msg_tlen < sizeof(struct olsr_hello)) in olsr_print()
436 msg_tlen -= sizeof(struct olsr_hello); in olsr_print()
438 while (msg_tlen >= sizeof(struct olsr_hello_link)) { in olsr_print()
452 if ((hello_len <= msg_tlen) in olsr_print()
466 msg_tlen -= sizeof(struct olsr_hello_link); in olsr_print()
484 msg_tlen -= hello_len; in olsr_print()
490 if (msg_tlen < sizeof(struct olsr_tc)) in olsr_print()
[all …]
Dprint-lwapp.c172 int msg_tlen; in lwapp_control_print() local
228 msg_tlen = EXTRACT_16BITS(lwapp_control_header->len); in lwapp_control_print()
235 msg_tlen, in lwapp_control_print()
239 ND_TCHECK2(*tptr, msg_tlen); in lwapp_control_print()
278 tptr += sizeof(struct lwapp_control_header) + msg_tlen; in lwapp_control_print()
279 tlen -= sizeof(struct lwapp_control_header) + msg_tlen; in lwapp_control_print()
Dprint-ldp.c238 u_short msg_tlen) in ldp_tlv_print() argument
255 if (tlv_len + 4 > msg_tlen) { in ldp_tlv_print()
567 u_short pdu_len,msg_len,msg_type,msg_tlen; in ldp_pdu_print() local
640 msg_tlen=msg_len-(sizeof(struct ldp_msg_header)-4); /* Type & Length fields not included */ in ldp_pdu_print()
656 while(msg_tlen >= 4) { in ldp_pdu_print()
657 processed = ldp_tlv_print(ndo, msg_tptr, msg_tlen); in ldp_pdu_print()
660 msg_tlen-=processed; in ldp_pdu_print()
676 print_unknown_data(ndo, msg_tptr, "\n\t ", msg_tlen); in ldp_pdu_print()