1PCAP_SNAPSHOT(3PCAP) PCAP_SNAPSHOT(3PCAP)
23
4
NAME
6pcap_snapshot - get the snapshot length
7
SYNOPSIS
9#include <pcap/pcap.h>
1011
int pcap_snapshot(pcap_t *p);
12
DESCRIPTION
14pcap_snapshot() returns the snapshot length specified when
15pcap_set_snapshot() or pcap_open_live() was called, for a live capture,
16or the snapshot length from the capture file, for a ``savefile''.
17
SEE ALSO
19pcap(3PCAP)
2021
22
23
5 April 2008 PCAP_SNAPSHOT(3PCAP)