Name
pcap_file — Prototype: FILE *pcap_file(pcap_t *p)
Synopsis
Purpose: pcap_file
returns the file handle to a
saved file opened with pcap_open_offline
.
pcap_file
returns the handle on success, or
NULL
if the pcap_t
handle
p
relates to a live capture opened with
pcap_open_live
.
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.