|author||guy <guy>||2008-10-24 07:33:50 +0000|
|committer||guy <guy>||2008-10-24 07:33:50 +0000|
Add LINKTYPE_ names to the pcap-linktype man page, and include the
values, as those are not platform-dependent and appear in the per-file header of capture files. Note that the "10MB" in DLT_EN10MB, and the "IEEE802" in "DLT_IEEE802", are historical (so people don't think DLT_EN10MB is only for 10MB Ethernet). Don't describe the DLT_PFLOG header - it's in the format of a "struct pfloghdr" on the OS on which the file was saved, which is OS-dependent and release-dependent. Refer to the pcap-linktype man page in the pcap-savefile man page.
Diffstat (limited to 'pcap-savefile.manfile.in')
1 files changed, 7 insertions, 3 deletions
diff --git a/pcap-savefile.manfile.in b/pcap-savefile.manfile.in
index 0af855b..907559c 100644
@@ -1,5 +1,5 @@
-.\" @(#) $Header: /tcpdump/master/libpcap/pcap-savefile.manfile.in,v 1.1 2008-10-23 05:56:59 guy Exp $
+.\" @(#) $Header: /tcpdump/master/libpcap/pcap-savefile.manfile.in,v 1.2 2008-10-24 07:33:50 guy Exp $
.\" Copyright (c) 1994, 1996, 1997
.\" The Regents of the University of California. All rights reserved.
@@ -89,7 +89,11 @@ bytes of a packet longer than
bytes will be saved in the capture.
a 4-byte number giving the link-layer header type for packets in the
+.BR pcap-linktype (@MAN_MISC_INFO@)
+values that can appear in this field.
Following the per-file header are zero or more packets; each packet
begins with a per-packet header, which is immediately followed by the
@@ -120,4 +124,4 @@ been present had the packet not been truncated by the snapshot length.
The two lengths will be equal if the number of bytes of packet data are
less than or equal to the snapshot length.
.SH SEE ALSO