pcap_freecode(3PCAP) man page

pcap_freecode(3PCAP) man page
Updated: 3 January 2014 • View in plain text • Return to Main Contents
NAME
pcap_freecode - free a BPF program
SYNOPSIS
#include <pcap/pcap.h>
void pcap_freecode(struct bpf_program *);
DESCRIPTION
pcap_freecode()
is used to free up allocated memory pointed to by a
bpf_program
struct generated by
pcap_compile(3PCAP)
when that BPF program is no longer needed, for example after it
has been made the filter program for a
pcap_t
handle by a call to
pcap_setfilter(3PCAP).
SEE ALSO
pcap(3PCAP)
COLOPHON
This HTML man page was generated at 15:15:20 GMT, September 13, 2026 from a source man page in “The Tcpdump Group” git repositories using man2html and other tools.
