pcapng (PCAP Now Generic)
acronymKept in this browser · My desk
Stands for: PCAP Now Generic, a block-based capture file format that records interfaces, options and 64-bit timestamps whose resolution each interface declares
PCAP Now Generic, the block-based capture file format that succeeded pcap, with per-interface options and 64-bit timestamps.
Each interface description can declare its timestamp resolution with if_tsresol; without it, microseconds are assumed. The IETF documents both formats: pcap as a historic record, pcapng as informational (drafts of September 2026).
Compared with pcap. A pcap file declares microseconds or nanoseconds once, by its magic number (0xA1B2C3D4 or 0xA1B23C4D), and each 16-byte record header stores 32-bit unsigned seconds since 1970, which run out in February 2106; pcapng carries 64-bit timestamps and per-interface resolution and offset. Link types come from the same registry, Ethernet being 1.
Also known as: pcap-ng, pcap now generic, pcap next generation, .pcapng
Sources
- IETF, draft-ietf-opsawg-pcapng-06, September 2026, intended Informational (read 2026-11-16): if_tsresol gives the timestamp resolution as a power of 10 or 2; if absent, 10^-6 is assumed; if_tsoffset
- IETF, draft-ietf-opsawg-pcap-09, September 2026, intended Historic (read 2026-11-16): pcap's magic numbers 0xA1B2C3D4 (microseconds) and 0xA1B23C4D (nanoseconds); 16-byte record header with 32-bit unsigned seconds
- tcpdump.org, Link-layer header types (read 2026-11-16): LINKTYPE_ETHERNET is 1