1PCAP_DATALINK(3PCAP)                                      PCAP_DATALINK(3PCAP)
2
3
4

NAME

6       pcap_datalink - get the link-layer header type
7

SYNOPSIS

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

DESCRIPTION

14       pcap_datalink() returns the link-layer header type for the live capture
15       or ``savefile'' specified by p.
16

SEE ALSO

18       pcap(3PCAP), pcap-linktype(7)
19
20
21
22                                22 August 2010            PCAP_DATALINK(3PCAP)
Impressum