diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2016-10-31 08:27:14 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-10-31 11:38:55 +0000 |
commit | d7e874c5d05b353cece337c72fddafde466a321e (patch) | |
tree | 7ad86df6acded25cb288a58fa5f9644fae567e67 /epan/dissectors/packet-mpls.h | |
parent | b61cfd7ec17f9646ceecadddbe2b79dcfb72cb96 (diff) |
PW_ACH: Use proper symbolic names
Collect all used PW Associated Channel Types and use them in the
subdissector table registrations.
Change-Id: I5d196bceefdb4560b1f4388ff86898e316e5e2ae
Reviewed-on: https://code.wireshark.org/review/18590
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-mpls.h')
-rw-r--r-- | epan/dissectors/packet-mpls.h | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/epan/dissectors/packet-mpls.h b/epan/dissectors/packet-mpls.h index 974e784879..68a9135c61 100644 --- a/epan/dissectors/packet-mpls.h +++ b/epan/dissectors/packet-mpls.h @@ -42,11 +42,30 @@ enum { MPLS_LABEL_INVALID = -1 }; -/* As per RFC 6428 http://tools.ietf.org/html/rfc6428, Section: 3.3 */ -#define ACH_TYPE_BFD_CC 0x0022 -#define ACH_TYPE_BFD_CV 0x0023 -/* As RFC 6426:http://tools.ietf.org/html/rfc6426, Section: 7.4 */ -#define ACH_TYPE_ONDEMAND_CV 0x0025 +/* As per RFC 5885 */ +#define PW_ACH_TYPE_BFD 0x0007 +/* As per RFC 6374 */ +#define PW_ACH_TYPE_DLM 0x000A +#define PW_ACH_TYPE_ILM 0x000B +#define PW_ACH_TYPE_DM 0x000C +#define PW_ACH_TYPE_DLM_DM 0x000D +#define PW_ACH_TYPE_ILM_DM 0x000E +/* As per RFC 4385 clause 6 */ +#define PW_ACH_TYPE_IPV4 0x0021 +/* As per RFC 6428 Section 3.3 */ +#define PW_ACH_TYPE_BFD_CC 0x0022 +#define PW_ACH_TYPE_BFD_CV 0x0023 +/* As per RFC 6378 */ +#define PW_ACH_TYPE_PSC 0x0024 +/* As per RFC 6426 Section 7.4 */ +#define PW_ACH_TYPE_ONDEMAND_CV 0x0025 +/* As per RFC 6478 */ +#define PW_ACH_TYPE_PW_OAM 0x0027 +/* As per RFC 4385 clause 6 */ +#define PW_ACH_TYPE_IPV6 0x0057 +/* 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 |