pcap_snapshot(3) - Linux man page

Name

pcap_snapshot - get the snapshot length

Synopsis

#include <pcap/pcap.h>
int pcap_snapshot(pcap_t *p);

Description

pcap_snapshot() returns the snapshot length specified when pcap_set_snapshot() or pcap_open_live() was called, for a live capture, or the snapshot length from the capture file, for a ''savefile''.

See Also

pcap(3PCAP)