summaryrefslogtreecommitdiff
path: root/udp.h
diff options
context:
space:
mode:
authorbugyo <bugyo@users.noreply.github.com>2015-11-15 16:24:19 +0000
committerFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2016-03-22 16:59:03 +0100
commitba8a8cd5a385e86a857b90d2d087dd6f2cd5b083 (patch)
treec84a254c981c059aad076f1d8cd3fa74846c9354 /udp.h
parentc66320c67034e581097c08bd8532ee479f98e692 (diff)
downloadtcpdump-ba8a8cd5a385e86a857b90d2d087dd6f2cd5b083.tar.gz
Add printing function for Generic Protocol Extension for VXLAN
and Network Service Header. This code stands for following internet drafts: - VXLAN GPE: draft-ietf-nvo3-vxlan-gpe-01 - NSH: draft-ietf-sfc-nsh-01
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 0e7cf970..264a938a 100644
--- a/udp.h
+++ b/udp.h
@@ -263,6 +263,9 @@ struct udphdr {
#ifndef VXLAN_PORT
#define VXLAN_PORT 4789 /* RFC 7348 */
#endif
+#ifndef VXLAN_GPE_PORT
+#define VXLAN_GPE_PORT 4790 /* draft-ietf-nvo3-vxlan-gpe-01 */
+#endif
#ifndef SIP_DS_PORT
#define SIP_DS_PORT 5059 /*XXX*/
#endif