aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/vxlan.h
diff options
context:
space:
mode:
authorHao Chen <chenhao288@hisilicon.com>2021-11-27 17:34:04 +0800
committerDavid S. Miller <davem@davemloft.net>2021-11-29 12:19:53 +0000
commited618bd80947fa8d9644baf8ac18cb2a02223a5e (patch)
tree08f385de315fafd4b64e69f3dfd7558895b68dd6 /include/net/vxlan.h
parentnet: Write lock dev_base_lock without disabling bottom halves. (diff)
downloadlinux-dev-ed618bd80947fa8d9644baf8ac18cb2a02223a5e.tar.xz
linux-dev-ed618bd80947fa8d9644baf8ac18cb2a02223a5e.zip
net: vxlan: add macro definition for number of IANA VXLAN-GPE port
Add macro definition for number of IANA VXLAN-GPE port for generic use. Signed-off-by: Hao Chen <chenhao288@hisilicon.com> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/vxlan.h')
-rw-r--r--include/net/vxlan.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/vxlan.h b/include/net/vxlan.h
index 08537aa14f7c..5a934bebe630 100644
--- a/include/net/vxlan.h
+++ b/include/net/vxlan.h
@@ -10,6 +10,7 @@
#include <net/nexthop.h>
#define IANA_VXLAN_UDP_PORT 4789
+#define IANA_VXLAN_GPE_UDP_PORT 4790
/* VXLAN protocol (RFC 7348) header:
* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+