Lines Matching refs:dat
85 aodv_rreq(const union aodv *ap, const u_char *dat, u_int length)
89 if (snapend < dat) {
93 i = min(length, (u_int)(snapend - dat));
117 aodv_rrep(const union aodv *ap, const u_char *dat, u_int length)
121 if (snapend < dat) {
125 i = min(length, (u_int)(snapend - dat));
146 aodv_rerr(const union aodv *ap, const u_char *dat, u_int length)
152 if (snapend < dat) {
156 i = min(length, (u_int)(snapend - dat));
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)
187 if (snapend < dat) {
191 i = min(length, (u_int)(snapend - dat));
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)
227 if (snapend < dat) {
231 i = min(length, (u_int)(snapend - dat));
286 aodv_v6_draft_01_rreq(const union aodv *ap, const u_char *dat, u_int length)
288 aodv_v6_draft_01_rreq(const union aodv *ap _U_, const u_char *dat _U_,
295 if (snapend < dat) {
299 i = min(length, (u_int)(snapend - dat));
327 aodv_v6_draft_01_rrep(const union aodv *ap, const u_char *dat, u_int length)
329 aodv_v6_draft_01_rrep(const union aodv *ap _U_, const u_char *dat _U_,
336 if (snapend < dat) {
340 i = min(length, (u_int)(snapend - dat));
394 aodv_print(const u_char *dat, u_int length, int is_ip6)
398 ap = (union aodv *)dat;
399 if (snapend < dat) {
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);
429 aodv_rerr(ap, dat, length);
437 aodv_v6_draft_01_rreq(ap, dat, length);
441 aodv_v6_draft_01_rrep(ap, dat, length);