unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (NetBSD-6.1.5)
Page:
Section:
Apropos / Subsearch:
optional field

PCAP_DATALINK(3)           Library Functions Manual           PCAP_DATALINK(3)



NAME
       pcap_datalink - get the link-layer header type

SYNOPSIS
       #include <&lt;pcap/pcap.h>&gt;

       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(3), pcap-linktype(7)



                                 5 April 2008                 PCAP_DATALINK(3)