Name
pcap_snapshot — Prototype: int pcap_snapshot(pcap_t *p)
Synopsis
Purpose: pcap_snapshot
returns the number of bytes
captured per packet (snapshot length) of the opened session. This is
the value specified at the pcap_open_live
call to
open the interface.
Get Network Security Tools now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.