April 2005
Intermediate to advanced
344 pages
11h 59m
English
pcap_open_dead — Prototype: pcap_t *pcap_open_dead(int linktype, int snaplen)
Purpose: pcap_open_dead is used to create a
pcap_t handle, without opening a live capture or
saved file. This is commonly used for compiling BPF code.
linktype and snaplen specify
the link type as per Table 10-2 and the capture
length.
Read now
Unlock full access