Searched refs:raw_pkt (Results 1 – 1 of 1) sorted by relevance
293 uchar_t *raw_pkt, *raw_end, *next; in remove_pkt_opt() local296 raw_pkt = (uchar_t *)dpkt->pkt; in remove_pkt_opt()297 raw_end = raw_pkt + dpkt->pkt_cur_len; in remove_pkt_opt()301 raw_pkt += sizeof (dhcpv6_message_t); in remove_pkt_opt()304 while (raw_pkt + sizeof (d6o) <= raw_end) { in remove_pkt_opt()305 (void) memcpy(&d6o, raw_pkt, sizeof (d6o)); in remove_pkt_opt()307 if (len > raw_end - raw_pkt) in remove_pkt_opt()309 next = raw_pkt + len; in remove_pkt_opt()312 (void) memmove(raw_pkt, next, in remove_pkt_opt()318 raw_pkt = next; in remove_pkt_opt()[all …]