linux man page for pcap_open_dead

Query: pcap_open_dead

OS: linux

Section: 3pcap

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

PCAP_OPEN_DEAD(3PCAP)													     PCAP_OPEN_DEAD(3PCAP)

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(3PCAP), pcap-linktype(7) 5 April 2008 PCAP_OPEN_DEAD(3PCAP)
Related Man Pages
pcap_dump_fopen(3pcap) - centos
pcap_dump_open(3pcap) - centos
pcap_dump_open(3pcap) - osx
pcap_dump_fopen(3pcap) - osx
pcap_dump_open(3pcap) - suse
Similar Topics in the Unix Linux Community
Please Donate to the Red Cross for Earthquake and Tsunami Relief in Japan
Scripts without shebang
Don Cragun crossing 4500 thanks went unnoticed for more than a week - late congratulations!
YouTube: How to Use Code Tags and Format Posts @UNIX.com