aboutsummaryrefslogtreecommitdiffstats
path: root/nsh-plugin/nsh/nsh.api
diff options
context:
space:
mode:
Diffstat (limited to 'nsh-plugin/nsh/nsh.api')
-rw-r--r--nsh-plugin/nsh/nsh.api10
1 files changed, 5 insertions, 5 deletions
diff --git a/nsh-plugin/nsh/nsh.api b/nsh-plugin/nsh/nsh.api
index 8ee4943..ee3f91f 100644
--- a/nsh-plugin/nsh/nsh.api
+++ b/nsh-plugin/nsh/nsh.api
@@ -13,7 +13,7 @@
@param c2 - 32bit Metadata type1 field (context2)
@param c3 - 32bit Metadata type1 field (context3)
@param c4 - 32bit Metadata type1 field (context4)
- @param tlvs - Metadata Type 2 only, Type Length Value metadata. Not currently supported
+ @param tlvs - Metadata Type 2 only, Type Length Value metadata.
*/
define nsh_add_del_entry {
u32 client_index;
@@ -28,8 +28,8 @@ define nsh_add_del_entry {
u32 c2;
u32 c3;
u32 c4;
- u32 tlv_length;
- u8 tlv[tlv_length];
+ u8 tlv_length;
+ u8 tlv[248];
};
/** \brief Reply from adding NSH entry (nsh_add_del_entry)
@@ -61,8 +61,8 @@ define nsh_entry_details {
u32 c2;
u32 c3;
u32 c4;
- u32 tlv_length;
- u8 tlv[tlv_length];
+ u8 tlv_length;
+ u8 tlv[248];
};
/** \brief Set or delete a mapping from one NSH header to another and its egress (decap to inner packet, encap NSH with outer header)