From 482fa426bca50908c3739ba8b0539398dc01c9ae Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 19 Dec 2002 09:05:45 +0000 Subject: NetBSD support for multiple data link types on an interface, from David Young , with some minor changes by Jason R. Thorpe , and further changes by me to support it on BPF systems lacking BIOCGDLTLIST and other platforms lacking an equivalent feature. Update Jason Thorpe's e-mail address (Zembu is going away, if it hasn't done so already). Add APIs to map DLT names to DLT values and vice versa. --- pcap-snoop.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'pcap-snoop.c') diff --git a/pcap-snoop.c b/pcap-snoop.c index 2d81190..f7aaff1 100644 --- a/pcap-snoop.c +++ b/pcap-snoop.c @@ -20,7 +20,7 @@ */ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/libpcap/pcap-snoop.c,v 1.37 2002-07-30 07:48:20 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/libpcap/pcap-snoop.c,v 1.38 2002-12-19 09:05:48 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -305,3 +305,9 @@ pcap_setfilter(pcap_t *p, struct bpf_program *fp) return (-1); return (0); } + +int +pcap_set_datalink_platform(pcap_t *p, int dlt) +{ + return (0); +} -- cgit v1.2.3