summaryrefslogtreecommitdiff
path: root/udp.h
diff options
context:
space:
mode:
authorsimonov-d <simonov-d@yandex-team.ru>2020-02-09 00:25:38 +0500
committerdimmo <dimmoborgir@gmail.com>2020-02-09 00:51:39 +0500
commit5bf990afe24ee42dd2a2c1a5be9a9ab59ac59a5a (patch)
tree6f859a06988eec4294fb8e4a3731c19dddd6a976 /udp.h
parent59cad18b62c33b93ce2a6386941cb6b16b044bab (diff)
downloadtcpdump-5bf990afe24ee42dd2a2c1a5be9a9ab59ac59a5a.tar.gz
Print MPLS-over-UDP.
Diffstat (limited to 'udp.h')
-rw-r--r--udp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/udp.h b/udp.h
index 0ac63387..f88641c8 100644
--- a/udp.h
+++ b/udp.h
@@ -203,6 +203,9 @@ struct udphdr {
#ifndef SFLOW_PORT
#define SFLOW_PORT 6343 /* https://sflow.org/developers/specifications.php */
#endif
+#ifndef MPLS_PORT
+#define MPLS_PORT 6635 /* RFC 7510 */
+#endif
#ifndef BABEL_PORT
#define BABEL_PORT 6696 /* RFC 6126 errata */
#endif