pcap_open_dead(3) netbsd man page | unix.com

Man Page: pcap_open_dead

Operating Environment: netbsd

Section: 3

PCAP_OPEN_DEAD(3)					     Library Functions Manual						 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)
Related Man Pages
pcap_dump_fopen(3pcap) - centos
pcap_open_dead(3) - freebsd
pcap_dump_fopen(3pcap) - debian
pcap_fileno(3pcap) - debian
pcap_fileno(3pcap) - osx
Similar Topics in the Unix Linux Community
Memory Leaks
Vm versus physical linux server
Make bold chars in UNIX
Adding a List of Times
BSD Unix Toolbox: 1000+ Commands for FreeBSD, OpenBSD, and NetBSD