pcap_datalink(3) pcap_datalink(3)
NAME
pcap_datalink - get the link-layer header type
SYNOPSIS
#include <pcap/pcap.h>
pcap_datalink(3) *p);
DESCRIPTION
pcap_datalink(3) returns the link-layer header type for the live capture
or ``savefile'' specified by p.
SEE ALSO
pcap(3), pcap-linktype(7)
22 August 2010 pcap_datalink(3)
libpcap 1.2.0 - Generated Sun Nov 27 19:22:48 CST 2011