Change #278257
| Category | libpcap |
| Changed by | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> |
| Changed at | Sat 15 Aug 2026 07:00:50 |
| Repository | https://git.tcpdump.org/libpcap |
| Project | libpcap |
| Branch | master |
| Revision | da43cb20b13439750cdc651dc2f82b5e263e0d2e |
Comments
Rename SWAPSHORT(), SWAPLONG(), SWAPLL() to PCAP_BSWAP_({16,32,64})
In particular, 'LONG' was ambiguous because it is 4 bytes in a 32-bit
build and 8 bytes in a 64-bit build.
Don't use BSWAP_({16,32,64}) to avoid redefine on Solaris/illumos.
Changed files
- CHANGES
- gencode.c
- pcap-dag.c
- pcap-linux.c
- pcap-util.c
- pcap-util.h
- sf-pcap.c
- sf-pcapng.c