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 |
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 |