Searched refs:msg_tlen (Results 1 – 3 of 3) sorted by relevance
/external/tcpdump/ |
D | print-olsr.c | 273 u_int msg_type, msg_len, msg_tlen, hello_len; in olsr_print() local 342 msg_tlen = msg_len - sizeof(struct olsr_msg6); in olsr_print() 373 msg_tlen = msg_len - sizeof(struct olsr_msg4); in olsr_print() 380 if (msg_tlen < sizeof(struct olsr_hello)) in olsr_print() 388 msg_tlen -= sizeof(struct olsr_hello); in olsr_print() 390 while (msg_tlen >= sizeof(struct olsr_hello_link)) { in olsr_print() 404 if ((hello_len <= msg_tlen) in olsr_print() 418 msg_tlen -= sizeof(struct olsr_hello_link); in olsr_print() 439 msg_tlen -= hello_len; in olsr_print() 445 if (msg_tlen < sizeof(struct olsr_tc)) in olsr_print() [all …]
|
D | print-lwapp.c | 171 int msg_tlen; in lwapp_control_print() local 227 msg_tlen = EXTRACT_16BITS(lwapp_control_header->len); in lwapp_control_print() 234 msg_tlen, in lwapp_control_print() 238 ND_TCHECK2(*tptr, msg_tlen); in lwapp_control_print() 277 tptr += sizeof(struct lwapp_control_header) + msg_tlen; in lwapp_control_print() 278 tlen -= sizeof(struct lwapp_control_header) + msg_tlen; in lwapp_control_print()
|
D | print-ldp.c | 237 u_short msg_tlen) in ldp_tlv_print() argument 254 if (tlv_len + 4 > msg_tlen) { in ldp_tlv_print() 568 u_short pdu_len,msg_len,msg_type,msg_tlen; in ldp_pdu_print() local 641 msg_tlen=msg_len-(sizeof(struct ldp_msg_header)-4); /* Type & Length fields not included */ in ldp_pdu_print() 657 while(msg_tlen >= 4) { in ldp_pdu_print() 658 processed = ldp_tlv_print(ndo, msg_tptr, msg_tlen); in ldp_pdu_print() 661 msg_tlen-=processed; in ldp_pdu_print() 677 print_unknown_data(ndo, msg_tptr, "\n\t ", msg_tlen); in ldp_pdu_print()
|