aboutsummaryrefslogtreecommitdiffstats
path: root/packet.h
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>1998-10-14 04:09:15 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>1998-10-14 04:09:15 +0000
commit4ef47e6cfb53cadbc9b8ccb7dab2177de485a43d (patch)
tree53103eec0a5de73a861d99f5fbc1e5ea27d07c2a /packet.h
parent23ab0b90bdafba629123e4074457641b14a24231 (diff)
Added preliminary support for NetBIOS Name Services over IPX and UDP. Note
that these are two very different implementations of NetBIOS name services and at the protocol level are not similar. I have put the UDP protocol in packet-nbns.c, since it will be a very big module. I have all of rfc 1002 to read and implement. I am planning on putting many different NetBIOS over IPX functions in packet-nbipx.c, however, since there is no RFC or published standard. I have to hack the protocol, and as such, I do not expect it to be as full-featured as the IP-world equivalents. svn path=/trunk/; revision=50
Diffstat (limited to 'packet.h')
-rw-r--r--packet.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/packet.h b/packet.h
index 595774f9f3..50a54b5289 100644
--- a/packet.h
+++ b/packet.h
@@ -1,7 +1,7 @@
/* packet.h
* Definitions for packet disassembly structures and routines
*
- * $Id: packet.h,v 1.13 1998/10/13 05:40:02 guy Exp $
+ * $Id: packet.h,v 1.14 1998/10/14 04:09:14 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -365,6 +365,7 @@ typedef struct _e_udphdr {
#define UDP_PORT_DNS 53
#define UDP_PORT_BOOTPS 67
#define UDP_PORT_IPX 213
+#define UDP_PORT_NBNS 137
#define UDP_PORT_RIP 520
/* TCP Ports */
@@ -425,6 +426,8 @@ enum {
ETT_IPXRIP,
ETT_IPXSAP,
ETT_IPXSAP_SERVER,
+ ETT_NBNS,
+ ETT_NBIPX,
NUM_TREE_TYPES /* last item number plus one */
};
@@ -515,6 +518,8 @@ void dissect_ipv6(const u_char *, int, frame_data *, GtkTree *);
void dissect_ipx(const u_char *, int, frame_data *, GtkTree *);
void dissect_llc(const u_char *, int, frame_data *, GtkTree *);
void dissect_lpd(const u_char *, int, frame_data *, GtkTree *);
+void dissect_nbipx(const u_char *, int, frame_data *, GtkTree *);
+void dissect_nbns(const u_char *, int, frame_data *, GtkTree *);
void dissect_ncp(const u_char *, int, frame_data *, GtkTree *);
void dissect_osi(const u_char *, int, frame_data *, GtkTree *);
void dissect_ospf(const u_char *, int, frame_data *, GtkTree *);