diff options
author | guy <guy> | 2002-12-19 09:05:45 +0000 |
---|---|---|
committer | guy <guy> | 2002-12-19 09:05:45 +0000 |
commit | 482fa426bca50908c3739ba8b0539398dc01c9ae (patch) | |
tree | 0f954479d9e0117e34cc066d0766f09ece979ef5 /pcap-snit.c | |
parent | 1e574aa6fd73fdc835e340d9e1d00fc1b67a2614 (diff) |
NetBSD support for multiple data link types on an interface, from David
Young <dyoung@ojctech.com>, with some minor changes by Jason R. Thorpe
<thorpej@netbsd.org>, 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.
Diffstat (limited to 'pcap-snit.c')
-rw-r--r-- | pcap-snit.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pcap-snit.c b/pcap-snit.c index 359c4ad8..2131ea03 100644 --- a/pcap-snit.c +++ b/pcap-snit.c @@ -25,7 +25,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/libpcap/pcap-snit.c,v 1.58 2002-08-25 21:13:52 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/libpcap/pcap-snit.c,v 1.59 2002-12-19 09:05:47 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -329,3 +329,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); +} |