Section: Environments, Tables, and Troff Macros (7)
Updated: 7 April 2014Index
pcap-linktype - link-layer header types supported by libpcap
For a live capture or ``savefile'', libpcap supplies, as the returnvalue of thepcap_datalink
(3PCAP)routine, a value that indicates the type of link-layer header at thebeginning of the packets it provides. This is not necessarily the typeof link-layer header that the packets being captured have on the networkfrom which they're being captured; for example, packets from an IEEE802.11 network might be provided by libpcap with Ethernet headers thatthe network adapter or the network adapter driver generates from the802.11 headers. The names for those values begin withDLT_
,so they are sometimes called "DLT_ values".
The values stored in the link-layer header type field in the savefileheader are, in most but not all cases, the same as the values returnedbypcap_datalink().The names for those values begin withLINKTYPE_.
The link-layer header types supported by libpcap are described athttps://www.tcpdump.org/linktypes.html.
- SEE ALSO
This document was created byman2html,using the manual pages.