manpagez: man(ual) pages & more
man pcap_freecode(3)
Home | html | info | man
PCAP_FREECODE(3PCAP)                                      PCAP_FREECODE(3PCAP)




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() 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 ALSO

       pcap(3), pcap_compile(3), pcap_setfilter(3)



                                 5 April 2008             PCAP_FREECODE(3PCAP)

libpcap 1.0.0 - Generated Wed Oct 29 19:53:33 CDT 2008
© manpagez.com 2000-2017
Individual documents may contain additional copyright information.