summaryrefslogtreecommitdiffstats
path: root/nsh-plugin/nsh/nsh.api
diff options
context:
space:
mode:
authorHongjun Ni <hongjun.ni@intel.com>2017-09-29 01:03:31 +0800
committerHongjun Ni <hongjun.ni@intel.com>2017-09-29 23:11:36 +0800
commitfda07ec40401b719c7b316d244294a68d4e59684 (patch)
treee426a3c451247b10aa1e54e93421eb7bed1fbf68 /nsh-plugin/nsh/nsh.api
parent9b3c3af8bee2f7c055a7d89d95fbbc577fb0739d (diff)
Add NSH TTL supportv18.01-rc0
Change-Id: Id2f8236cc997d08c53217fc92881b8bbf2c2f429 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'nsh-plugin/nsh/nsh.api')
-rw-r--r--nsh-plugin/nsh/nsh.api3
1 files changed, 3 insertions, 0 deletions
diff --git a/nsh-plugin/nsh/nsh.api b/nsh-plugin/nsh/nsh.api
index 1ef3c7b..6beed00 100644
--- a/nsh-plugin/nsh/nsh.api
+++ b/nsh-plugin/nsh/nsh.api
@@ -7,6 +7,7 @@
@param nsp_nsi - Key for nsh_header_t entry to map to. : 24bit NSP 8bit NSI
@param md_type - metadata type [1|2] - only MDType1 supported today
@param ver_o_c - version, O-bit and C-bit (see nsh_packet.h)
+ @param ttl - indicates the maximum SFF hops for an SFP
@param length - header length in n x 32bits, should be 6 for MDtype1
@param next_protocol - next protocol encapsulated behind NSH header: 1=Ethernet, 2=IP4, 3=IP6
@param c1 - 32bit Metadata type1 field (context1)
@@ -22,6 +23,7 @@ define nsh_add_del_entry {
u32 nsp_nsi;
u8 md_type;
u8 ver_o_c;
+ u8 ttl;
u8 length;
u8 next_protocol;
u32 c1;
@@ -55,6 +57,7 @@ define nsh_entry_details {
u32 nsp_nsi;
u8 md_type;
u8 ver_o_c;
+ u8 ttl;
u8 length;
u8 next_protocol;
u32 c1;