aboutsummaryrefslogtreecommitdiffstats
path: root/nsh-plugin/nsh/nsh.h
diff options
context:
space:
mode:
authorHongjun Ni <hongjun.ni@intel.com>2017-04-17 22:40:13 +0800
committerHongjun Ni <hongjun.ni@intel.com>2017-04-17 22:40:13 +0800
commitb1895cf231a03f221e41048f84864619ef5f9fe0 (patch)
tree8068297ac9fc1b17b1c113177e98d4b6d719d6ae /nsh-plugin/nsh/nsh.h
parente4b963e230651b89978d6e3477d1aa32fa5c0a66 (diff)
Extend nsh map to support gre4 and gre6 tunnel
Change-Id: I8c2384082b54a013209c325573edd3775f5eda78 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'nsh-plugin/nsh/nsh.h')
-rw-r--r--nsh-plugin/nsh/nsh.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/nsh-plugin/nsh/nsh.h b/nsh-plugin/nsh/nsh.h
index b03c8e7..4efad8d 100644
--- a/nsh-plugin/nsh/nsh.h
+++ b/nsh-plugin/nsh/nsh.h
@@ -190,7 +190,8 @@ typedef enum {
#define foreach_nsh_node_next \
_(DROP, "error-drop") \
- _(ENCAP_GRE, "gre-input" ) \
+ _(ENCAP_GRE4, "gre4-input" ) \
+ _(ENCAP_GRE6, "gre6-input" ) \
_(ENCAP_VXLANGPE, "vxlan-gpe-encap" ) \
_(ENCAP_VXLAN4, "vxlan4-encap" ) \
_(ENCAP_VXLAN6, "vxlan6-encap" ) \