pcap_open_dead(3pcap) v7 man page | unix.com

Man Page: pcap_open_dead

Operating Environment: v7

Section: 3pcap

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_fileno(3pcap) - mojave
pcap_dump_open(3pcap) - centos
pcap_open_dead(3pcap) - centos
pcap_open_dead_with_tstamp_precision(3pcap) - centos
Similar Topics in the Unix Linux Community
[Tip] HACMP 7.1.3 and DB/2-Installation
Need to add prefix using sed or awk from cat the file
Sort by values in the 1st row, leaving first four coulumns untouched
Linux froze and got back working 5 days later, no reboot.
Bash - here document on RHEL 6.8 and 6.9 servers aren't working