Lines Matching refs:raw_end
294 uchar_t *raw_pkt, *raw_end, *next; in remove_pkt_opt() local
298 raw_end = raw_pkt + dpkt->pkt_cur_len; in remove_pkt_opt()
305 while (raw_pkt + sizeof (d6o) <= raw_end) { in remove_pkt_opt()
308 if (len > raw_end - raw_pkt) in remove_pkt_opt()
312 if (next < raw_end) { in remove_pkt_opt()
314 raw_end - next); in remove_pkt_opt()
331 while (raw_pkt + 1 <= raw_end) { in remove_pkt_opt()
340 if (raw_pkt + 2 > raw_end) in remove_pkt_opt()
343 if (len > raw_end - raw_pkt || len < 2) in remove_pkt_opt()
347 if (next < raw_end) { in remove_pkt_opt()
365 raw_end - next); in remove_pkt_opt()