diff options
author | jerryian <gu.jian1@zte.com.cn> | 2017-08-03 10:17:01 +0800 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2017-08-03 08:30:30 +0000 |
commit | a825c8bf5c641051b0cf71c63c3ddd269d90069b (patch) | |
tree | 141b8232e005572d608c9fc8c2b1e2e1edb4273b /src/plugins/gtpu | |
parent | 1e553a00389fb0eb2d54b950a3cfd91dd1a72644 (diff) |
gtpu bypass function doesn't work (VPP-924)
Change-Id: I80183f7d984ed6ed2e3405d1bb65fe761a29bc81
Signed-off-by: jerryian <gu.jian1@zte.com.cn>
Diffstat (limited to 'src/plugins/gtpu')
-rwxr-xr-x[-rw-r--r--] | src/plugins/gtpu/gtpu.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/plugins/gtpu/gtpu.c b/src/plugins/gtpu/gtpu.c index c91612efeea..84745bd85df 100644..100755 --- 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) { |