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(3PCAP) when that BPF pro‐
16 gram is no longer needed, for example after it has been made the filter
17 program for a pcap structure by a call to pcap_setfilter(3PCAP).
18
20 pcap(3PCAP)
21
22
23
24 3 January 2014 PCAP_FREECODE(3PCAP)