aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ncp-int.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-04-25 20:36:29 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-04-25 20:36:29 +0000
commit900f2a17f7026fecb122680985d8495a35534f8a (patch)
tree556c215767752bef44f43c3ee5b2d4e9c299b624 /packet-ncp-int.h
parente02783212a2995a580319e8fcd57c24a2fbf3693 (diff)
From Greg Morris:
1. Some NCP's that displayed the file/directory path in the summary window would display blank lines on Windows based machines. This was due to unicode or non-displayable characters contained in the character string being added to the column data. I made a change to format/strip out non-displayable characters prior to adding to the column data. 2. Moved ncp_req_hash_value struct to packet-ncp-int.h so that I can use it within a future dissector (NMAS). Clean up white space. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7560 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-ncp-int.h')
-rw-r--r--packet-ncp-int.h21
1 files changed, 18 insertions, 3 deletions
diff --git a/packet-ncp-int.h b/packet-ncp-int.h
index 805f019b14..ebd61f8930 100644
--- a/packet-ncp-int.h
+++ b/packet-ncp-int.h
@@ -6,7 +6,7 @@
* Portions Copyright (c) Gilbert Ramirez 2000-2002
* Portions Copyright (c) Novell, Inc. 2000-2003
*
- * $Id: packet-ncp-int.h,v 1.13 2003/04/08 00:40:37 guy Exp $
+ * $Id: packet-ncp-int.h,v 1.14 2003/04/25 20:36:28 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -86,6 +86,17 @@ typedef struct {
} ncp_record;
+typedef struct {
+ const ncp_record *ncp_rec;
+ gboolean *req_cond_results;
+ guint32 req_frame_num;
+ nstime_t req_frame_time;
+ guint32 req_nds_flags;
+ guint8 nds_request_verb;
+ guint8 nds_version;
+ char object_name[256];
+} ncp_req_hash_value;
+
void dissect_ncp_request(tvbuff_t*, packet_info*, guint16,
guint8, guint16, proto_tree*);
@@ -98,6 +109,10 @@ void dissect_ping_req(tvbuff_t *, packet_info*, guint16, guint8,
void dissect_nds_request(tvbuff_t*, packet_info*, guint16,
guint8, guint16, proto_tree*);
+void dissect_nmas_request(tvbuff_t*, packet_info*, proto_tree*, ncp_req_hash_value*);
+
+void dissect_nmas_reply(tvbuff_t*, packet_info*, proto_tree*, guint8, guint8, ncp_req_hash_value*);
+
extern int proto_ncp;
extern gint ett_ncp;
extern gint ett_nds;
@@ -112,7 +127,7 @@ extern gint ett_nds;
#define NCP_DEALLOCATE_SLOT 0x5555
#define NCP_BURST_MODE_XFER 0x7777
#define NCP_POSITIVE_ACK 0x9999
-#define NCP_BROADCAST_SLOT 0xbbbb
-#define NCP_LIP_ECHO 0x4c69
+#define NCP_BROADCAST_SLOT 0xbbbb
+#define NCP_LIP_ECHO 0x4c69
#endif