aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mpls.h
diff options
context:
space:
mode:
authorChristoph Portner <christoph.portner@gmail.com>2018-09-29 16:23:46 +0200
committerPeter Wu <peter@lekensteyn.nl>2018-09-30 19:24:54 +0000
commit1539e455d70c5f340ce80021c770b8f992051ec2 (patch)
treef980325f73265a375f27fdf6b6dc6d1da8717f44 /epan/dissectors/packet-mpls.h
parentde97adecfbee8701557808690abb8dcfe8c61efe (diff)
MPLS: add dissector for Management Communication Channel
Management communication channel described in RFC 5718 Change-Id: I5ed95d0d6f25754c50a97457679d08b99db6f527 Reviewed-on: https://code.wireshark.org/review/29920 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'epan/dissectors/packet-mpls.h')
-rw-r--r--epan/dissectors/packet-mpls.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/epan/dissectors/packet-mpls.h b/epan/dissectors/packet-mpls.h
index b45c5a3076..83ab333353 100644
--- a/epan/dissectors/packet-mpls.h
+++ b/epan/dissectors/packet-mpls.h
@@ -30,7 +30,10 @@ enum {
MPLS_LABEL_MAX_RESERVED = 15,
MPLS_LABEL_INVALID = -1
};
-
+/* As per RFC 5718 */
+#define PW_ACH_TYPE_MCC 0x0001
+/* As per RFC 5718 */
+#define PW_ACH_TYPE_SCC 0x0002
/* As per RFC 5885 */
#define PW_ACH_TYPE_BFD 0x0007
/* As per RFC 6374 */
@@ -57,7 +60,6 @@ enum {
/* As per RFC 6427 */
#define PW_ACH_TYPE_MPLSTP_FM 0x0058
-
/* MPLS over UDP http://tools.ietf.org/html/draft-ietf-mpls-in-udp-11,
* udp destination port as defined in
* http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=6635