pcap_datalink.3pcap

Langue: en

Version: 5 April 2008 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

pcap_datalink - get the link-layer header type

SYNOPSIS

 #include <pcap/pcap.h>
 
 int pcap_datalink(pcap_t *p);
 

DESCRIPTION

pcap_datalink() returns the link layer type for the live capture or ``savefile'' specified by p.

SEE ALSO

pcap(3PCAP), pcap-linktype(7)