CGMP-over-Ethernet II support, from Heikki Vatiainen.

svn path=/trunk/; revision=5009
This commit is contained in:
Guy Harris 2002-03-23 22:02:20 +00:00
parent 3c36b98cca
commit 2128583c24
4 changed files with 10 additions and 3 deletions

View File

@ -254,6 +254,7 @@ Heikki Vatiainen <hessu[AT]cs.tut.fi> {
Enhancements to the "bad sed" tests
Make "get_host_ipaddr()" require dotted-quad IP addresses to
really be quads
CGMP-over-Ethernet II support
}
Greg Hankins <gregh[AT]twoguys.org> {

View File

@ -1,7 +1,7 @@
/* etypes.h
* Defines ethernet packet types, similar to tcpdump's ethertype.h
*
* $Id: etypes.h,v 1.23 2002/02/17 00:16:19 guy Exp $
* $Id: etypes.h,v 1.24 2002/03/23 22:02:20 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -56,6 +56,10 @@
#define ETHERTYPE_TRAIN 0x1984
#endif
#ifndef ETHERTYPE_CGMP
#define ETHERTYPE_CGMP 0x2001
#endif
#ifndef ETHERTYPE_3C_NBP_DGRAM
#define ETHERTYPE_3C_NBP_DGRAM 0x3c07
#endif

View File

@ -1,7 +1,7 @@
/* packet-cgmp.c
* Routines for the disassembly of the Cisco Group Management Protocol
*
* $Id: packet-cgmp.c,v 1.14 2002/01/24 09:20:47 guy Exp $
* $Id: packet-cgmp.c,v 1.15 2002/03/23 22:02:20 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -143,4 +143,5 @@ proto_reg_handoff_cgmp(void)
cgmp_handle = create_dissector_handle(dissect_cgmp, proto_cgmp);
dissector_add("llc.cisco_pid", 0x2001, cgmp_handle);
dissector_add("ethertype", 0x2001, cgmp_handle);
}

View File

@ -1,7 +1,7 @@
/* ethertype.c
* Routines for calling the right protocol for the ethertype.
*
* $Id: packet-ethertype.c,v 1.26 2002/02/17 00:16:19 guy Exp $
* $Id: packet-ethertype.c,v 1.27 2002/03/23 22:02:20 guy Exp $
*
* Gilbert Ramirez <gram@alumni.rice.edu>
*
@ -76,6 +76,7 @@ const value_string etype_vals[] = {
{ETHERTYPE_DEC_CUST, "DEC Customer use" },
{ETHERTYPE_DEC_SCA, "DEC LAVC/SCA" },
{ETHERTYPE_ETHBRIDGE, "Transparent Ethernet bridging" },
{ETHERTYPE_CGMP, "Cisco Group Management Protocol" },
/*
* NDISWAN on Windows translates Ethernet frames from higher-level