1 .\" @(#) $Header: /tcpdump/master/libpcap/pcap-linktype.manmisc.in,v 1.3 2008-10-27 22:52:30 guy Exp $
3 .\" Copyright (c) 1987, 1988, 1989, 1990, 1991, 1992, 1994, 1995, 1996, 1997
4 .\" The Regents of the University of California. All rights reserved.
5 .\" All rights reserved.
7 .\" Redistribution and use in source and binary forms, with or without
8 .\" modification, are permitted provided that: (1) source code distributions
9 .\" retain the above copyright notice and this paragraph in its entirety, (2)
10 .\" distributions including binary code include the above copyright notice and
11 .\" this paragraph in its entirety in the documentation or other materials
12 .\" provided with the distribution, and (3) all advertising materials mentioning
13 .\" features or use of this software display the following acknowledgement:
14 .\" ``This product includes software developed by the University of California,
15 .\" Lawrence Berkeley Laboratory and its contributors.'' Neither the name of
16 .\" the University nor the names of its contributors may be used to endorse
17 .\" or promote products derived from this software without specific prior
18 .\" written permission.
19 .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
20 .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
21 .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
23 .TH PCAP-LINKTYPE @MAN_MISC_INFO@ "23 October 2008"
25 pcap-linktype \- link-layer header types supported by libpcap
27 For a live capture or ``savefile'', libpcap supplies, as the return
29 .BR pcap_datalink (3PCAP)
30 routine, a value that indicates the type of link-layer header at the
31 beginning of the packets it provides. This is not necessarily the type
32 of link-layer header that the packets being captured have on the network
33 from which they're being captured; for example, packets from an IEEE
34 802.11 network might be provided by libpcap with Ethernet headers that
35 the network adapter or the network adapter driver generates from the
36 802.11 headers. The names for those values begin with
38 so they are sometimes called "DLT_ values".
40 The values stored in the link-layer header type field in the savefile
41 header are, in most but not all cases, the same as the values returned
44 The names for those values begin with
47 The link-layer header types supported by libpcap are described at
48 http://www.tcpdump.org/linktypes.html.