Change #285731
| Category | libpcap |
| Changed by | Guy Harris <gharris@sonic.net> |
| Changed at | Tue 13 Oct 2026 01:44:04 |
| Repository | https://git.tcpdump.org/libpcap |
| Project | libpcap |
| Branch | master |
| Revision | a493d1f47d8ddbbed7d2ac372f599b5444cd8422 |
Comments
Add a common routine to grow the packet buffer, and use it. Common code for both pcap and pcapng. This fixes the pcapng code so that it updates the buffer size and thus doesn't wastefully "reallocate" the buffer at its existing size.
Changed files
- pcap-int.h
- pcap.c
- sf-pcap.c
- sf-pcapng.c