• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/tcpdump-61/tcpdump/

Lines Matching refs:length

56 aodv_extension(const struct aodv_ext *ep, u_int length)
67 i = min(length, (u_int)(snapend - (u_char *)ep));
79 printf("\n\text %u %u", ep->type, ep->length);
85 aodv_rreq(const union aodv *ap, const u_char *dat, u_int length)
93 i = min(length, (u_int)(snapend - dat));
100 "\tdst %s seq %lu src %s seq %lu", length,
117 aodv_rrep(const union aodv *ap, const u_char *dat, u_int length)
125 i = min(length, (u_int)(snapend - dat));
132 "\tdst %s dseq %lu src %s %lu ms", length,
146 aodv_rerr(const union aodv *ap, const u_char *dat, u_int length)
156 i = min(length, (u_int)(snapend - dat));
166 ap->rerr.rerr_dc, length);
179 aodv_v6_rreq(const union aodv *ap, const u_char *dat, u_int length)
181 aodv_v6_rreq(const union aodv *ap _U_, const u_char *dat _U_, u_int length)
191 i = min(length, (u_int)(snapend - dat));
198 "\tdst %s seq %lu src %s seq %lu", length,
213 printf(" v6 rreq %u", length);
219 aodv_v6_rrep(const union aodv *ap, const u_char *dat, u_int length)
221 aodv_v6_rrep(const union aodv *ap _U_, const u_char *dat _U_, u_int length)
231 i = min(length, (u_int)(snapend - dat));
238 "\tdst %s dseq %lu src %s %lu ms", length,
250 printf(" rrep %u", length);
256 aodv_v6_rerr(const union aodv *ap, u_int length)
258 aodv_v6_rerr(const union aodv *ap _U_, u_int length)
265 i = length - offsetof(struct aodv_rerr, r);
271 ap->rerr.rerr_dc, length);
280 printf(" rerr %u", length);
286 aodv_v6_draft_01_rreq(const union aodv *ap, const u_char *dat, u_int length)
289 u_int length)
299 i = min(length, (u_int)(snapend - dat));
306 "\tdst %s seq %lu src %s seq %lu", length,
321 printf(" rreq %u", length);
327 aodv_v6_draft_01_rrep(const union aodv *ap, const u_char *dat, u_int length)
330 u_int length)
340 i = min(length, (u_int)(snapend - dat));
347 "\tdst %s dseq %lu src %s %lu ms", length,
359 printf(" rrep %u", length);
365 aodv_v6_draft_01_rerr(const union aodv *ap, u_int length)
367 aodv_v6_draft_01_rerr(const union aodv *ap _U_, u_int length)
374 i = length - offsetof(struct aodv_rerr, r);
380 ap->rerr.rerr_dc, length);
389 printf(" rerr %u", length);
394 aodv_print(const u_char *dat, u_int length, int is_ip6)
403 if (min(length, (u_int)(snapend - dat)) < sizeof(ap->rrep_ack)) {
413 aodv_v6_rreq(ap, dat, length);
415 aodv_rreq(ap, dat, length);
420 aodv_v6_rrep(ap, dat, length);
422 aodv_rrep(ap, dat, length);
427 aodv_v6_rerr(ap, length);
429 aodv_rerr(ap, dat, length);
433 printf(" rrep-ack %u", length);
437 aodv_v6_draft_01_rreq(ap, dat, length);
441 aodv_v6_draft_01_rrep(ap, dat, length);
445 aodv_v6_draft_01_rerr(ap, length);
449 printf(" rrep-ack %u", length);
453 printf(" %u %u", ap->rreq.rreq_type, length);