diff options
author | Hongjun Ni <hongjun.ni@intel.com> | 2016-08-02 00:06:40 +0800 |
---|---|---|
committer | Hongjun Ni <hongjun.ni@intel.com> | 2016-08-02 00:06:40 +0800 |
commit | b8812f176859d958fc09217bd827ef7382502fb7 (patch) | |
tree | e04d686506868a421815f93f0cea2f5abaf54e5e /nsh-plugin/nsh/nsh.api | |
parent | ed5a133ef8debf7580d6c5bc16187222244c8b0e (diff) |
Add nsh entry dump API
Change-Id: I6664c9929b8332eb8f4d7bc33f0f99b458a71908
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 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/nsh-plugin/nsh/nsh.api b/nsh-plugin/nsh/nsh.api index 67d04e2..ed9f2fd 100644 --- a/nsh-plugin/nsh/nsh.api +++ b/nsh-plugin/nsh/nsh.api @@ -40,6 +40,26 @@ define nsh_add_del_entry_reply { i32 retval; }; + +define nsh_entry_dump { + u32 client_index; + u32 context; +}; + +define nsh_entry_details { + u32 context; + u32 nsp_nsi; + u8 md_type; + u8 ver_o_c; + u8 length; + u8 next_protocol; + u32 c1; + u32 c2; + u32 c3; + u32 c4; + u32 tlvs[0]; +}; + /** \brief Set or delete a mapping from one NSH header to another and its egress (decap to inner packet, encap NSH with outer header) @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request |