aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-savefile.manfile.in
diff options
context:
space:
mode:
authorguy <guy>2008-10-24 07:33:50 +0000
committerguy <guy>2008-10-24 07:33:50 +0000
commit174d9b71ca1878adc5a1cc7355966c7b01140b52 (patch)
tree1e44e21ccce85840ebd96dfd17578fde619eb3a3 /pcap-savefile.manfile.in
parente16bb01d4c4a8d48c178977e71cefea830c09600 (diff)
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')
-rw-r--r--pcap-savefile.manfile.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/pcap-savefile.manfile.in b/pcap-savefile.manfile.in
index 0af855b..907559c 100644
--- a/pcap-savefile.manfile.in
+++ b/pcap-savefile.manfile.in
@@ -1,5 +1,5 @@
'\" t
-.\" @(#) $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.
.IP
a 4-byte number giving the link-layer header type for packets in the
-capture.
+capture; see
+.BR pcap-linktype (@MAN_MISC_INFO@)
+for the
+.B LINKTYPE_
+values that can appear in this field.
.PP
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
-pcap(3PCAP)
+pcap(3PCAP), pcap-linktype(@MAN_MISC_INFO@)