diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-11-06 21:49:34 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-11-06 21:49:34 +0000 |
commit | 8ee4a65f7690f5563275f4b1718971af2e5faca8 (patch) | |
tree | 1772ded2ad88a8ad9de7bf9298526f61b4cff663 /wiretap/wtap.h | |
parent | b3e0a56390fdce140228692d9ad3389bfa71c876 (diff) |
From Solomon Peachy: support for new "wlancap" 802.11 extra-information
header.
Add overflow checks to "BYTES_ARE_IN_FRAME()", and cast all arguments to
unsigned values (negative values should never be passed) to squelch
compiler warnings.
svn path=/trunk/; revision=6567
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r-- | wiretap/wtap.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h index ebbd73790d..0768571189 100644 --- a/wiretap/wtap.h +++ b/wiretap/wtap.h @@ -1,6 +1,6 @@ /* wtap.h * - * $Id: wtap.h,v 1.124 2002/10/31 07:12:42 guy Exp $ + * $Id: wtap.h,v 1.125 2002/11/06 21:49:34 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu> @@ -119,9 +119,10 @@ #define WTAP_ENCAP_HHDLC 27 #define WTAP_ENCAP_DOCSIS 28 #define WTAP_ENCAP_COSINE 29 +#define WTAP_ENCAP_WLAN_HEADER 30 /* last WTAP_ENCAP_ value + 1 */ -#define WTAP_NUM_ENCAP_TYPES 30 +#define WTAP_NUM_ENCAP_TYPES 31 /* File types that can be read by wiretap. We support writing some many of these file types, too, so we |