summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorHongjun Ni <hongjun.ni@intel.com>2017-04-12 19:21:16 +0800
committerNeale Ranns <nranns@cisco.com>2017-05-15 19:34:00 +0000
commitef486b1545d892f9f0e0d35e7e57cb0ca04d7ff7 (patch)
treeb3515744ed55a55b76c805a0cb4c6cf552efd0df /src/vnet
parente50ed1de1e22dfa04de26fa2a471a703c1b6ed8f (diff)
Add GTP-U plugin. VPP-694
Basic GTP-U feature Change-Id: I31226f890a92c5303ac06e112ed7820cae52d9bd Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/mfib/mfib_types.h2
-rw-r--r--src/vnet/udp/udp.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/vnet/mfib/mfib_types.h b/src/vnet/mfib/mfib_types.h
index fe53aa6807a..e278af7fa82 100644
--- a/src/vnet/mfib/mfib_types.h
+++ b/src/vnet/mfib/mfib_types.h
@@ -167,6 +167,7 @@ typedef enum mfib_source_t_
MFIB_SOURCE_DHCP,
MFIB_SOURCE_SRv6,
MFIB_SOURCE_DEFAULT_ROUTE,
+ MFIB_SOURCE_GTPU,
} mfib_source_t;
#define MFIB_SOURCE_NAMES { \
@@ -177,6 +178,7 @@ typedef enum mfib_source_t_
[MFIB_SOURCE_VXLAN] = "VXLAN", \
[MFIB_SOURCE_SRv6] = "SRv6", \
[MFIB_SOURCE_DEFAULT_ROUTE] = "Default Route", \
+ [MFIB_SOURCE_GTPU] = "GTPU", \
}
/**
diff --git a/src/vnet/udp/udp.h b/src/vnet/udp/udp.h
index bd163e273d2..5b63f44d29e 100644
--- a/src/vnet/udp/udp.h
+++ b/src/vnet/udp/udp.h
@@ -81,6 +81,7 @@ typedef enum
_ (67, dhcp_to_server) \
_ (68, dhcp_to_client) \
_ (500, ikev2) \
+_ (2152, GTPU) \
_ (3784, bfd4) \
_ (3785, bfd_echo4) \
_ (4341, lisp_gpe) \
@@ -95,6 +96,7 @@ _ (6633, vpath_3)
#define foreach_udp6_dst_port \
_ (547, dhcpv6_to_server) \
_ (546, dhcpv6_to_client) \
+_ (2152, GTPU6) \
_ (3784, bfd6) \
_ (3785, bfd_echo6) \
_ (4341, lisp_gpe6) \