]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-int.h
Add a "setfilter" function pointer to the pcap_t structure, which
[libpcap] / pcap-int.h
index 355e5036e60f1b1671bfc6dcfc8c2051efafb2c9..d346250247f65902aaf864eccaf5f3f3c18521b0 100644 (file)
@@ -30,7 +30,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * @(#) $Header: /tcpdump/master/libpcap/pcap-int.h,v 1.49 2003-07-25 04:04:57 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/pcap-int.h,v 1.50 2003-07-25 04:42:03 guy Exp $ (LBL)
  */
 
 #ifndef pcap_int_h
@@ -118,6 +118,7 @@ struct pcap {
        /*
         * Methods.
         */
+       int     (*setfilter_op)(pcap_t *, struct bpf_program *);
        int     (*stats_op)(pcap_t *, struct pcap_stat *);
        void    (*close_op)(pcap_t *);