1PCAP_FREECODE(3PCAP) PCAP_FREECODE(3PCAP)
2
3
4
6 pcap_freecode - free a BPF program
7
9 #include <pcap/pcap.h>
10
11 void pcap_freecode(struct bpf_program *);
12
14 pcap_freecode() is used to free up allocated memory pointed to by a
15 bpf_program struct generated by pcap_compile() when that BPF program is
16 no longer needed, for example after it has been made the filter program
17 for a pcap structure by a call to pcap_setfilter().
18
20 pcap(3PCAP), pcap_compile(3PCAP), pcap_setfilter(3PCAP)
21
22
23
24 3 January 2014 PCAP_FREECODE(3PCAP)