1PCAP_FREECODE(3PCAP)                                      PCAP_FREECODE(3PCAP)
2
3
4

NAME

6       pcap_freecode - free a BPF program
7

SYNOPSIS

9       #include <pcap/pcap.h>
10
11       void pcap_freecode(struct bpf_program *);
12

DESCRIPTION

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

SEE ALSO

20       pcap(3PCAP), pcap_compile(3PCAP), pcap_setfilter(3PCAP)
21
22
23
24                                 5 April 2008             PCAP_FREECODE(3PCAP)
Impressum