From Carlos Pignataro: support for MPLS over GRE.

svn path=/trunk/; revision=10904
This commit is contained in:
Guy Harris 2004-05-15 19:54:10 +00:00
parent 7e7d7ab15a
commit c5ab4d9ed3
3 changed files with 8 additions and 4 deletions

View File

@ -2114,6 +2114,7 @@ Carlos Pignataro <cpignata [AT] cisco.com> {
from various IETF PWE3 drafts
MPLS PW Control Channel Header
Multiprotocol Label Switching Echo [draft-ietf-mpls-lsp-ping-05]
MPLS in Generic Routing Encapsulation (GRE)
}
Thomas Anders <thomas.anders [AT] blue-cable.de> {

View File

@ -2,7 +2,7 @@
* Routines for the Generic Routing Encapsulation (GRE) protocol
* Brad Robel-Forrest <brad.robel-forrest@watchguard.com>
*
* $Id: packet-gre.c,v 1.55 2004/01/29 03:51:25 guy Exp $
* $Id: packet-gre.c,v 1.56 2004/05/15 19:54:10 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -40,8 +40,9 @@
* See RFC 1701 "Generic Routing Encapsulation (GRE)", RFC 1702
* "Generic Routing Encapsulation over IPv4 networks", RFC 2637
* "Point-to-Point Tunneling Protocol (PPTP)", RFC 2784 "Generic
* Routing Encapsulation (GRE)", and RFC 2890 "Key and Sequence
* Number Extensions to GRE".
* Routing Encapsulation (GRE)", RFC 2890 "Key and Sequence
* Number Extensions to GRE" and draft-ietf-mpls-in-ip-or-gre-07.txt
* "Encapsulating MPLS in IP or Generic Routing Encapsulation (GRE)".
*/
static int proto_gre = -1;
@ -78,6 +79,7 @@ static const value_string typevals[] = {
{ ETHERTYPE_ETHBRIDGE, "Transparent Ethernet bridging" },
{ GRE_FR, "Frame Relay"},
{ ETHERTYPE_IPv6, "IPv6" },
{ ETHERTYPE_MPLS, "MPLS label switched packet" },
{ 0, NULL }
};

View File

@ -3,7 +3,7 @@
*
* (c) Copyright Ashok Narayanan <ashokn@cisco.com>
*
* $Id: packet-mpls.c,v 1.30 2004/05/12 20:20:49 guy Exp $
* $Id: packet-mpls.c,v 1.31 2004/05/15 19:54:10 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -280,4 +280,5 @@ proto_reg_handoff_mpls(void)
dissector_add("ppp.protocol", PPP_MPLS_UNI, mpls_handle);
dissector_add("chdlctype", ETHERTYPE_MPLS, mpls_handle);
dissector_add("chdlctype", ETHERTYPE_MPLS_MULTI, mpls_handle);
dissector_add("gre.proto", ETHERTYPE_MPLS, mpls_handle);
}