aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-nit.c
diff options
context:
space:
mode:
authorguy <guy>2002-07-11 09:06:30 +0000
committerguy <guy>2002-07-11 09:06:30 +0000
commit243b20ec553e192599e5280f17703454b4420fe0 (patch)
tree8b56a1369d487e0ca62902e7bc2bf7999dac2d1e /pcap-nit.c
parent0d020002007bc5fc8b3c058f78c8d9456ee5acfd (diff)
Add SunATM support, based on code from Yen Yen Lim at North Dakota State
University.
Diffstat (limited to 'pcap-nit.c')
-rw-r--r--pcap-nit.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/pcap-nit.c b/pcap-nit.c
index 5b91314..8407cb3 100644
--- a/pcap-nit.c
+++ b/pcap-nit.c
@@ -20,7 +20,7 @@
*/
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/libpcap/pcap-nit.c,v 1.41 2001-12-10 07:14:18 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/pcap-nit.c,v 1.42 2002-07-11 09:06:39 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -258,6 +258,12 @@ pcap_open_live(char *device, int snaplen, int promisc, int to_ms, char *ebuf)
}
int
+pcap_platform_finddevs(pcap_if_t **alldevsp, char *errbuf)
+{
+ return (0);
+}
+
+int
pcap_setfilter(pcap_t *p, struct bpf_program *fp)
{