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 type for the live capture or
15       ``savefile'' specified by p.
16

SEE ALSO

18       pcap(3PCAP), pcap-linktype(7)
19
20
21
22                                 5 April 2008             PCAP_DATALINK(3PCAP)
Impressum