]> The Tcpdump Group git mirrors - libpcap/commitdiff
man pcap-savefile: Add per-file header and per-packet header lengths
authorFrancois-Xavier Le Bail <[email protected]>
Fri, 24 Apr 2020 08:32:57 +0000 (10:32 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Fri, 24 Apr 2020 08:39:37 +0000 (10:39 +0200)
pcap-savefile.manfile.in

index 748d7afcfc557f05c7d738f803c7a327cd82fcff..7e2b22be5728b8d2c1af76a20873a5c365094f0f 100644 (file)
@@ -17,7 +17,7 @@
 .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
 .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 .\"
-.TH PCAP-SAVEFILE @MAN_FILE_FORMATS@ "8 March 2015"
+.TH PCAP-SAVEFILE @MAN_FILE_FORMATS@ "24 April 2020"
 .SH NAME
 pcap-savefile \- libpcap savefile format
 .SH DESCRIPTION
@@ -51,6 +51,8 @@ Link-layer header type
 .TE
 .RE
 .PP
+The per-file header length is 24 octets.
+.PP
 All fields in the per-file header are in the byte order of the host
 writing the file.  Normally, the first field in the per-file header is a
 4-byte magic number, with the value 0xa1b2c3d4.  The magic number, when
@@ -117,6 +119,8 @@ Un-truncated length of the packet data
 .TE
 .RE
 .PP
+The per-packet header length is 16 octets.
+.PP
 All fields in the per-packet header are in the byte order of the host
 writing the file.  The per-packet header begins with a time stamp giving
 the approximate time the packet was captured; the time stamp consists of