From 039805843b58e5f329fbd176a2fbfa5769d9d89c Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 23 Dec 2000 08:06:16 +0000 Subject: Add support for the DLT_LINUX_SLL capture type in the current CVS version of libpcap; that's used on Linux for captures on the "any" device (which captures from all interfaces simultaneously) and for captures on devices whose link-layer type libpcap doesn't (yet) support natively. The spanning tree code, when checking for GV{M,R,...}P packets, must first check whether the link-layer destination address is, in fact, an Ethernet-style address; on Linux cooked captures, there *is* no destination address, so it's of type AT_NONE, not AT_ETHER. svn path=/trunk/; revision=2772 --- wiretap/wtap.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'wiretap/wtap.h') diff --git a/wiretap/wtap.h b/wiretap/wtap.h index 0f138e98da..cb496342d6 100644 --- a/wiretap/wtap.h +++ b/wiretap/wtap.h @@ -1,6 +1,6 @@ /* wtap.h * - * $Id: wtap.h,v 1.82 2000/11/15 05:41:48 guy Exp $ + * $Id: wtap.h,v 1.83 2000/12/23 08:06:16 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez @@ -95,9 +95,10 @@ #define WTAP_ENCAP_V120 16 #define WTAP_ENCAP_PPP_WITH_PHDR 17 #define WTAP_ENCAP_IEEE_802_11 18 +#define WTAP_ENCAP_SLL 19 /* last WTAP_ENCAP_ value + 1 */ -#define WTAP_NUM_ENCAP_TYPES 19 +#define WTAP_NUM_ENCAP_TYPES 20 /* File types that can be read by wiretap. We support writing some many of these file types, too, so we -- cgit v1.2.1