Lines Matching refs:dat

85 aodv_rreq(const union aodv *ap, const u_char *dat, u_int length)  in aodv_rreq()  argument
89 if (snapend < dat) { in aodv_rreq()
93 i = min(length, (u_int)(snapend - dat)); in aodv_rreq()
117 aodv_rrep(const union aodv *ap, const u_char *dat, u_int length) in aodv_rrep() argument
121 if (snapend < dat) { in aodv_rrep()
125 i = min(length, (u_int)(snapend - dat)); in aodv_rrep()
146 aodv_rerr(const union aodv *ap, const u_char *dat, u_int length) in aodv_rerr() argument
152 if (snapend < dat) { in aodv_rerr()
156 i = min(length, (u_int)(snapend - dat)); in aodv_rerr()
179 aodv_v6_rreq(const union aodv *ap, const u_char *dat, u_int length) in aodv_v6_rreq() argument
181 aodv_v6_rreq(const union aodv *ap _U_, const u_char *dat _U_, u_int length) in aodv_v6_rreq()
187 if (snapend < dat) { in aodv_v6_rreq()
191 i = min(length, (u_int)(snapend - dat)); in aodv_v6_rreq()
219 aodv_v6_rrep(const union aodv *ap, const u_char *dat, u_int length) in aodv_v6_rrep() argument
221 aodv_v6_rrep(const union aodv *ap _U_, const u_char *dat _U_, u_int length) in aodv_v6_rrep()
227 if (snapend < dat) { in aodv_v6_rrep()
231 i = min(length, (u_int)(snapend - dat)); in aodv_v6_rrep()
286 aodv_v6_draft_01_rreq(const union aodv *ap, const u_char *dat, u_int length) in aodv_v6_draft_01_rreq() argument
288 aodv_v6_draft_01_rreq(const union aodv *ap _U_, const u_char *dat _U_, in aodv_v6_draft_01_rreq()
295 if (snapend < dat) { in aodv_v6_draft_01_rreq()
299 i = min(length, (u_int)(snapend - dat)); in aodv_v6_draft_01_rreq()
327 aodv_v6_draft_01_rrep(const union aodv *ap, const u_char *dat, u_int length) in aodv_v6_draft_01_rrep() argument
329 aodv_v6_draft_01_rrep(const union aodv *ap _U_, const u_char *dat _U_, in aodv_v6_draft_01_rrep()
336 if (snapend < dat) { in aodv_v6_draft_01_rrep()
340 i = min(length, (u_int)(snapend - dat)); in aodv_v6_draft_01_rrep()
394 aodv_print(const u_char *dat, u_int length, int is_ip6) in aodv_print() argument
398 ap = (union aodv *)dat; in aodv_print()
399 if (snapend < dat) { in aodv_print()
403 if (min(length, (u_int)(snapend - dat)) < sizeof(ap->rrep_ack)) { in aodv_print()
413 aodv_v6_rreq(ap, dat, length); in aodv_print()
415 aodv_rreq(ap, dat, length); in aodv_print()
420 aodv_v6_rrep(ap, dat, length); in aodv_print()
422 aodv_rrep(ap, dat, length); in aodv_print()
429 aodv_rerr(ap, dat, length); in aodv_print()
437 aodv_v6_draft_01_rreq(ap, dat, length); in aodv_print()
441 aodv_v6_draft_01_rrep(ap, dat, length); in aodv_print()