From 174d9b71ca1878adc5a1cc7355966c7b01140b52 Mon Sep 17 00:00:00 2001 From: guy Date: Fri, 24 Oct 2008 07:33:50 +0000 Subject: 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. --- pcap-savefile.manfile.in | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'pcap-savefile.manfile.in') 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@) -- cgit v1.2.3