more packet types - starting work on more complete dissection of tns
authorNathan Neulinger <nneul@umr.edu>
Sat, 6 Oct 2001 14:24:36 +0000 (14:24 -0000)
committerNathan Neulinger <nneul@umr.edu>
Sat, 6 Oct 2001 14:24:36 +0000 (14:24 -0000)
svn path=/trunk/; revision=3999

packet-tns.c
packet-tns.h

index f865aa939ffd25cac2d12b7a848230a14c6d83f8..946d8a362b4b8dc1f21f87b74df3ed8476cc55d7 100644 (file)
@@ -1,7 +1,7 @@
 /* packet-tns.c
  * Routines for Oracle TNS packet dissection
  *
- * $Id: packet-tns.c,v 1.15 2001/06/18 02:17:53 guy Exp $
+ * $Id: packet-tns.c,v 1.16 2001/10/06 14:24:36 nneul Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@zing.org>
@@ -66,11 +66,19 @@ static gint ett_sql = -1;
 #define TCP_PORT_TNS                   1521
 
 static const value_string tns_type_vals[] = {
-               {TNS_TYPE_CONNECT, "Connect" },
-               {TNS_TYPE_ACCEPT, "Accept" },
-               {TNS_TYPE_DATA, "Data" },
-               {TNS_TYPE_RESEND, "Resend"},
-               {0, NULL}
+               {TNS_TYPE_CONNECT,   "Connect" },
+               {TNS_TYPE_ACCEPT,    "Accept" },
+               {TNS_TYPE_ACK,       "Acknowledge" },
+               {TNS_TYPE_REFUSE,    "Refuse" },
+               {TNS_TYPE_REDIRECT,  "Redirect" },
+               {TNS_TYPE_DATA,      "Data" },
+               {TNS_TYPE_NULL,      "Null" },
+               {TNS_TYPE_ABORT,     "Abort" },
+               {TNS_TYPE_RESEND,    "Resend"},
+               {TNS_TYPE_MARKER,    "Marker"},
+               {TNS_TYPE_ATTENTION, "Attention"},
+               {TNS_TYPE_CONTROL,   "Control"},
+               {0, NULL}
 };
 
 
index c4d9b186b6b9ad6aecce3908f80c498bdad3a5a0..35328b72d99c6d9703716ede15c01121a84af328 100644 (file)
@@ -1,6 +1,6 @@
 /* packet-tns.h
  *
- * $Id: packet-tns.h,v 1.3 2000/04/08 07:07:41 guy Exp $
+ * $Id: packet-tns.h,v 1.4 2001/10/06 14:24:36 nneul Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@zing.org>
 /* Packet Types */
 #define TNS_TYPE_CONNECT 1
 #define TNS_TYPE_ACCEPT 2
+#define TNS_TYPE_ACK 3
+#define TNS_TYPE_REFUSE 4
+#define TNS_TYPE_REDIRECT 5
 #define TNS_TYPE_DATA 6
+#define TNS_TYPE_NULL 7
+#define TNS_TYPE_ABORT 9
 #define TNS_TYPE_RESEND 11
+#define TNS_TYPE_MARKER 12
+#define TNS_TYPE_ATTENTION 13
+#define TNS_TYPE_CONTROL 14
+#define TNS_TYPE_MAX 19
 
 #endif