From: jerryian Date: Thu, 3 Aug 2017 02:17:01 +0000 (+0800) Subject: gtpu bypass function doesn't work (VPP-924) X-Git-Tag: v17.10-rc1~289 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=a825c8bf5c641051b0cf71c63c3ddd269d90069b;p=vpp.git gtpu bypass function doesn't work (VPP-924) Change-Id: I80183f7d984ed6ed2e3405d1bb65fe761a29bc81 Signed-off-by: jerryian --- diff --git a/src/plugins/gtpu/gtpu.c b/src/plugins/gtpu/gtpu.c old mode 100644 new mode 100755 index c91612efeea..84745bd85df --- a/src/plugins/gtpu/gtpu.c +++ b/src/plugins/gtpu/gtpu.c @@ -34,6 +34,20 @@ gtpu_main_t gtpu_main; +/* *INDENT-OFF* */ +VNET_FEATURE_INIT (ip4_gtpu_bypass, static) = { + .arc_name = "ip4-unicast", + .node_name = "ip4-gtpu-bypass", + .runs_before = VNET_FEATURES ("ip4-lookup"), +}; + +VNET_FEATURE_INIT (ip6_gtpu_bypass, static) = { + .arc_name = "ip6-unicast", + .node_name = "ip6-gtpu-bypass", + .runs_before = VNET_FEATURES ("ip6-lookup"), +}; +/* *INDENT-on* */ + static u8 * format_decap_next (u8 * s, va_list * args) {