|PCAP_FREECODE(3)||FreeBSD Library Functions Manual||PCAP_FREECODE(3)|
NAMEpcap_freecode - free a BPF program
void pcap_freecode(struct bpf_program *);
DESCRIPTIONpcap_freecode() is used to free up allocated memory pointed to by a bpf_program struct generated by pcap_compile() when that BPF program is no longer needed, for example after it has been made the filter program for a pcap structure by a call to pcap_setfilter().
SEE ALSOpcap(3), pcap_compile(3), pcap_setfilter(3)
|5 April 2008|