1PCAP-LINKTYPE(7) Miscellaneous Information Manual PCAP-LINKTYPE(7)
2
3
4
6 pcap-linktype - link-layer header types supported by libpcap
7
9 For a live capture or ``savefile'', libpcap supplies, as the return
10 value of the pcap_datalink(3PCAP) routine, a value that indicates the
11 type of link-layer header at the beginning of the packets it provides.
12 This is not necessarily the type of link-layer header that the packets
13 being captured have on the network from which they're being captured;
14 for example, packets from an IEEE 802.11 network might be provided by
15 libpcap with Ethernet headers that the network adapter or the network
16 adapter driver generates from the 802.11 headers. The names for those
17 values begin with DLT_, so they are sometimes called "DLT_ values".
18
19 The values stored in the link-layer header type field in the savefile
20 header are, in most but not all cases, the same as the values returned
21 by pcap_datalink(). The names for those values begin with LINKTYPE_.
22
23 The link-layer header types supported by libpcap are described at
24 https://www.tcpdump.org/linktypes.html .
25
27 pcap(3PCAP)
28
29
30
31 6 April 2020 PCAP-LINKTYPE(7)