aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ipx.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-05-22 18:09:36 +0000
committerGuy Harris <guy@alum.mit.edu>2000-05-22 18:09:36 +0000
commitb23955a89b9bea8aaba06d6a4628ca9a25bc23a1 (patch)
tree00b69d6f1fb63e48e6ac5738de6a2edb03002589 /packet-ipx.c
parentb5a66969464307679a13c65246ae59b17af585c3 (diff)
downloadwireshark-b23955a89b9bea8aaba06d6a4628ca9a25bc23a1.tar.gz
wireshark-b23955a89b9bea8aaba06d6a4628ca9a25bc23a1.tar.bz2
wireshark-b23955a89b9bea8aaba06d6a4628ca9a25bc23a1.zip
EIGRP over Appletalk and EIGRP over IPX support, from Paul Ionescu.
svn path=/trunk/; revision=1994
Diffstat (limited to 'packet-ipx.c')
-rw-r--r--packet-ipx.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/packet-ipx.c b/packet-ipx.c
index 37cd4e986f..06330c3b0f 100644
--- a/packet-ipx.c
+++ b/packet-ipx.c
@@ -2,7 +2,7 @@
* Routines for NetWare's IPX
* Gilbert Ramirez <gram@xiexie.org>
*
- * $Id: packet-ipx.c,v 1.58 2000/05/19 19:48:01 gram Exp $
+ * $Id: packet-ipx.c,v 1.59 2000/05/22 18:09:36 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -41,6 +41,7 @@
#include "packet-ipx.h"
#include "packet-nbipx.h"
#include "packet-ncp.h"
+#include "packet-eigrp.h"
#include "resolv.h"
#include "packet-snmp.h"
@@ -111,6 +112,9 @@ dissect_ipxsap(const u_char *pd, int offset, frame_data *fd, proto_tree *tree);
static void
dissect_ipxmsg(const u_char *pd, int offset, frame_data *fd, proto_tree *tree);
+static void
+dissect_eigrp_ipx(const u_char *pd, int offset, frame_data *fd, proto_tree *tree);
+
typedef void (dissect_func_t)(const u_char *, int, frame_data *, proto_tree *);
#define UDP_PORT_IPX 213 /* RFC 1234 */
@@ -154,6 +158,7 @@ struct server_info {
#define IPX_SOCKET_ATTACHMATE_GW 0x055d
#define IPX_SOCKET_IPX_MESSAGE 0x4001
#define IPX_SOCKET_ADSM 0x8522 /* www.tivoli.com */
+#define IPX_SOCKET_EIGRP 0x85be /* cisco ipx eigrp */
#define IPX_SOCKET_WIDE_AREA_ROUTER 0x9001
#define IPX_SOCKET_SNMP_AGENT 0x900F /* RFC 1906 */
#define IPX_SOCKET_SNMP_SINK 0x9010 /* RFC 1906 */
@@ -190,6 +195,7 @@ static struct port_info ports[] = {
{ IPX_SOCKET_TCP_TUNNEL, NULL, "TCP Tunnel" },
{ IPX_SOCKET_TCP_TUNNEL, NULL, "TCP Tunnel" },
{ IPX_SOCKET_ADSM, NULL, "ADSM" },
+ { IPX_SOCKET_EIGRP, dissect_eigrp_ipx, "Cisco EIGRP for IPX" },
{ IPX_SOCKET_WIDE_AREA_ROUTER, NULL, "Wide Area Router" },
{ 0x0000, NULL,
NULL }
@@ -819,6 +825,11 @@ dissect_ipxsap(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) {
}
}
+static void
+dissect_eigrp_ipx(const u_char *pd, int offset, frame_data *fd, proto_tree *tree)
+{
+ dissect_eigrp(pd,offset,fd,tree);
+}
void
proto_register_ipx(void)