aboutsummaryrefslogtreecommitdiff
path: root/pcap-pf.c
diff options
context:
space:
mode:
authorguy <guy>2005-05-03 18:53:58 +0000
committerguy <guy>2005-05-03 18:53:58 +0000
commite987a615e2b8d2c9215eb3b6c14ec18845c20daa (patch)
tree189e6d2c79c88a75a1d7b4ceed2aeeb189571614 /pcap-pf.c
parenta27ec8748269d08509f49dda0a07deaa4c732649 (diff)
From Pawel Pokrywka: add support for requesting that only received
packets, only sent packets, or all packets be accepted, with an implementation for Linux. Add an implementation for BPF platforms that support BIOCSSEESENT.
Diffstat (limited to 'pcap-pf.c')
-rw-r--r--pcap-pf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pcap-pf.c b/pcap-pf.c
index db6c7e7d..5a479dd8 100644
--- a/pcap-pf.c
+++ b/pcap-pf.c
@@ -24,7 +24,7 @@
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/libpcap/pcap-pf.c,v 1.92 2005-04-19 00:55:48 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/pcap-pf.c,v 1.93 2005-05-03 18:54:00 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -497,6 +497,7 @@ your system may not be properly configured; see the packetfilter(4) man page\n",
p->read_op = pcap_read_pf;
p->inject_op = pcap_inject_pf;
p->setfilter_op = pcap_setfilter_pf;
+ p->setdirection_op = NULL; /* Not implemented. */
p->set_datalink_op = NULL; /* can't change data link type */
p->getnonblock_op = pcap_getnonblock_fd;
p->setnonblock_op = pcap_setnonblock_fd;