PCAP_FREECODE

Section: Misc. Reference Manual Pages (3PCAP)
Updated: 3 January 2014
Index Return to Main Contents
 

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(3PCAP), pcap_compile(3PCAP), pcap_setfilter(3PCAP)


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 00:07:28 GMT, December 18, 2015