diff options
author | Hongjun Ni <hongjun.ni@intel.com> | 2016-08-03 18:51:27 +0800 |
---|---|---|
committer | Hongjun Ni <hongjun.ni@intel.com> | 2016-08-03 23:43:55 +0800 |
commit | 0588a165623801636e03eca1acb25a0ff6fbeb2b (patch) | |
tree | 254149c95a803a24fe51a1d705d2bc036aab4bab /nsh-plugin/nsh/nsh.api | |
parent | b28084459ee629a79a5c447e75e9a340b7de9e48 (diff) |
Augment md-type2 support within NSH API
PatchSet 2: change tlv[256] to tlv[tlv_length]
Change-Id: I783483de0d55f38ad96c99faa701d735ba109f43
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'nsh-plugin/nsh/nsh.api')
-rw-r--r-- | nsh-plugin/nsh/nsh.api | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nsh-plugin/nsh/nsh.api b/nsh-plugin/nsh/nsh.api index 176dcd1..b1f39bc 100644 --- a/nsh-plugin/nsh/nsh.api +++ b/nsh-plugin/nsh/nsh.api @@ -28,6 +28,8 @@ define nsh_add_del_entry { u32 c2; u32 c3; u32 c4; + u32 tlv_length; + u8 tlv[tlv_length]; }; /** \brief Reply from adding NSH entry (nsh_add_del_entry) @@ -56,6 +58,8 @@ define nsh_entry_details { u32 c2; u32 c3; u32 c4; + u32 tlv_length; + u8 tlv[tlv_length]; }; /** \brief Set or delete a mapping from one NSH header to another and its egress (decap to inner packet, encap NSH with outer header) |