aboutsummaryrefslogtreecommitdiffstats
path: root/packet-smb.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-01-03 20:42:41 +0000
committerGuy Harris <guy@alum.mit.edu>2002-01-03 20:42:41 +0000
commit98b2ecb30478f423a7d7157ff247003095a8a1bd (patch)
tree9d7ed68e6795cb91e489f4b048c0ff1f3823b2c6 /packet-smb.c
parentc57411dbb99eabbb82f118d82a4a974dfa11fad6 (diff)
SPOOLSS RPC dissector, from Tim Potter. This includes adding additional
DOS error codes to the table of them, and exporting that table to other dissectors for protocols using DOS error codes. svn path=/trunk/; revision=4470
Diffstat (limited to 'packet-smb.c')
-rw-r--r--packet-smb.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/packet-smb.c b/packet-smb.c
index 04198c42f5..154b709fd6 100644
--- a/packet-smb.c
+++ b/packet-smb.c
@@ -3,7 +3,7 @@
* Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com>
* 2001 Rewrite by Ronnie Sahlberg and Guy Harris
*
- * $Id: packet-smb.c,v 1.189 2001/12/18 08:55:49 guy Exp $
+ * $Id: packet-smb.c,v 1.190 2002/01/03 20:42:40 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -12343,7 +12343,9 @@ static const value_string errcls_types[] = {
{ 0, NULL }
};
-static const value_string DOS_errors[] = {
+const value_string DOS_errors[] = {
+ {0, "Success"},
+ {SMBE_insufficientbuffer, "Insufficient buffer"},
{SMBE_badfunc, "Invalid function (or system call)"},
{SMBE_badfile, "File not found (pathname error)"},
{SMBE_badpath, "Directory not found"},
@@ -12379,6 +12381,13 @@ static const value_string DOS_errors[] = {
{SMBE_unknownipc, "Unknown IPC Operation"},
{SMBE_noipc, "Don't support ipc"},
{SMBE_alreadyexists, "File already exists"},
+ {SMBE_unknownprinterdriver, "Unknown printer driver"},
+ {SMBE_invalidprintername, "Invalid printer name"},
+ {SMBE_printeralreadyexists, "Printer already exists"},
+ {SMBE_invaliddatatype, "Invalid data type"},
+ {SMBE_invalidenvironment, "Invalid environment"},
+ {SMBE_printerdriverinuse, "Printer driver in use"},
+ {SMBE_invalidparam, "Invalid parameter"},
{0, NULL}
};