Searched refs:new_bufsize (Results 1 – 1 of 1) sorted by relevance
657 u_int new_bufsize; in pcap_next_packet() local659 new_bufsize = hdr->caplen; in pcap_next_packet()663 new_bufsize--; in pcap_next_packet()664 new_bufsize |= new_bufsize >> 1; in pcap_next_packet()665 new_bufsize |= new_bufsize >> 2; in pcap_next_packet()666 new_bufsize |= new_bufsize >> 4; in pcap_next_packet()667 new_bufsize |= new_bufsize >> 8; in pcap_next_packet()668 new_bufsize |= new_bufsize >> 16; in pcap_next_packet()669 new_bufsize++; in pcap_next_packet()671 if (new_bufsize > (u_int)p->snapshot) in pcap_next_packet()[all …]