PCAP_DATALINK(3) | FreeBSD Library Functions Manual | PCAP_DATALINK(3) |
NAME
pcap_datalink - get the link-layer header typeSYNOPSIS
#include <pcap/pcap.h>
int pcap_datalink(pcap_t *p);
DESCRIPTION
pcap_datalink() 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 |