The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages expected in November 2026. We hope you enjoy the updated experience.

Create the PCAP file header and write them into a file

Prev Next

The following table describes PCAP file header format.

Bytes Value Comment
4 0xA1B2C3D4 Magic number
2 2 Major number
2 4 Minor number
4 gmtOff/1000 Time zone correction
4 0 sigfigs
4 65536 samplen
4 1 linktype