Ethereal-dev: [Ethereal-dev] [PATCH] New dissector redeux.

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Solomon Peachy <solomon@xxxxxxxxxxxxxx>
Date: Fri, 1 Nov 2002 17:55:03 -0500
It seems my last patch was missing the wtap bits.

This patch applies on top of the first, and with it, the new dissector
will build.   Whoops.

 - Pizza
-- 
Solomon Peachy                        solomon@xxxxxxxxxxxxxx
AbsoluteValue Systems                 http://www.linux-wlan.com
715-D North Drive                     +1 (321) 259-0737  (office)
Melbourne, FL 32934                   +1 (321) 259-0286  (fax)
Index: wtap.c
===================================================================
RCS file: /cvsroot/ethereal/wiretap/wtap.c,v
retrieving revision 1.73
diff -u -r1.73 wtap.c
--- wtap.c	2002/10/31 07:12:42	1.73
+++ wtap.c	2002/11/01 22:46:43
@@ -148,6 +148,10 @@
 
 	/* WTAP_ENCAP_COSINE */
 	{ "CoSine L2 debug log", "cosine" },
+
+	/* WTAP_ENCAP_WLAN_HEADER */
+	{ "IEEE 802.11 plus AVS WLAN monitor header", "wlan" },
+
 };
 
 /* Name that should be somewhat descriptive. */
Index: wtap.h
===================================================================
RCS file: /cvsroot/ethereal/wiretap/wtap.h,v
retrieving revision 1.124
diff -u -r1.124 wtap.h
--- wtap.h	2002/10/31 07:12:42	1.124
+++ wtap.h	2002/11/01 22:46:43
@@ -119,9 +119,9 @@
 #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

Attachment: pgptGa1MivpNC.pgp
Description: PGP signature