summaryrefslogtreecommitdiffstats
path: root/src/vnet/gre/gre.h
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2020-04-09 07:34:08 -0400
committerMatthew Smith <mgsmith@netgate.com>2020-04-22 16:05:10 +0000
commit07bbaef593939e9d03ba131e03296587472514ce (patch)
tree9b8d175c427094064716fcb0068d431913f7d4f0 /src/vnet/gre/gre.h
parent0b04209edac55487c108ff5f2faf51cbd4c2cee7 (diff)
gre: Optimise encap node for tunnel types
Type: improvement Change-Id: I6627e22110be94c8127486ae009761494e734c04 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/gre/gre.h')
-rw-r--r--src/vnet/gre/gre.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/gre/gre.h b/src/vnet/gre/gre.h
index 14798d85842..07f375d9124 100644
--- a/src/vnet/gre/gre.h
+++ b/src/vnet/gre/gre.h
@@ -340,7 +340,8 @@ format_function_t format_gre_header_with_length;
extern vlib_node_registration_t gre4_input_node;
extern vlib_node_registration_t gre6_input_node;
-extern vlib_node_registration_t gre_encap_node;
+extern vlib_node_registration_t gre_erspan_encap_node;
+extern vlib_node_registration_t gre_teb_encap_node;
extern vnet_device_class_t gre_device_class;
/* Parse gre protocol as 0xXXXX or protocol name.