pcap_open_dead man page on PC-BSD

Man page or keyword search:  
man Server   9747 pages
apropos Keyword Search (all sections)
Output format
PC-BSD logo
[printable version]

PCAP_OPEN_DEAD(3)					     PCAP_OPEN_DEAD(3)

NAME
       pcap_open_dead  - open a fake pcap_t for compiling filters or opening a
       capture for output

SYNOPSIS
       #include <pcap/pcap.h>

       pcap_t *pcap_open_dead(int linktype, int snaplen);

DESCRIPTION
       pcap_open_dead() is used for creating a pcap_t structure	 to  use  when
       calling the other functions in libpcap.	It is typically used when just
       using libpcap for compiling BPF code.

       linktype specifies the link-layer type for the pcap_t.

       snaplen specifies the snapshot length for the pcap_t.

SEE ALSO
       pcap(3), pcap-linktype(7)

				 5 April 2008		     PCAP_OPEN_DEAD(3)
[top]

List of man pages available for PC-BSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net