aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nsh-plugin/nsh/nsh.api4
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)