PcapHandle.openDead
fn
PcapHandle openDead(int linktype, int snaplen)Creates a "dead" pcap handle for use with other libpcap functions like pcap_compile.
Parameters
linktype | The link-layer type (DLT_*). |
snaplen | The snapshot length. |
Returns
A