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

/freebsd-11.0-release/contrib/tcpdump/
H A Dprint-olsr.c273 u_int msg_type, msg_len, msg_tlen, hello_len; local
342 msg_tlen = msg_len - sizeof(struct olsr_msg6);
373 msg_tlen = msg_len - sizeof(struct olsr_msg4);
380 if (msg_tlen < sizeof(struct olsr_hello))
388 msg_tlen -= sizeof(struct olsr_hello);
390 while (msg_tlen >= sizeof(struct olsr_hello_link)) {
404 if ((hello_len <= msg_tlen)
418 msg_tlen -= sizeof(struct olsr_hello_link);
439 msg_tlen -= hello_len;
445 if (msg_tlen < sizeo
[all...]
H A Dprint-lwapp.c171 int msg_tlen; local
227 msg_tlen = EXTRACT_16BITS(lwapp_control_header->len);
234 msg_tlen,
238 ND_TCHECK2(*tptr, msg_tlen);
277 tptr += sizeof(struct lwapp_control_header) + msg_tlen;
278 tlen -= sizeof(struct lwapp_control_header) + msg_tlen;
H A Dprint-ldp.c237 u_short msg_tlen)
254 if (tlv_len + 4 > msg_tlen) {
568 u_short pdu_len,msg_len,msg_type,msg_tlen; local
641 msg_tlen=msg_len-(sizeof(struct ldp_msg_header)-4); /* Type & Length fields not included */
657 while(msg_tlen >= 4) {
658 processed = ldp_tlv_print(ndo, msg_tptr, msg_tlen);
661 msg_tlen-=processed;
677 print_unknown_data(ndo, msg_tptr, "\n\t ", msg_tlen);
235 ldp_tlv_print(netdissect_options *ndo, register const u_char *tptr, u_short msg_tlen) argument

Completed in 174 milliseconds