summaryrefslogtreecommitdiffstats
path: root/vpp/api/vpe.api
diff options
context:
space:
mode:
authorMaros Marsalek <mmarsale@cisco.com>2016-04-22 09:25:12 +0200
committerKeith Burns <alagalah@gmail.com>2016-04-27 12:51:55 +0000
commitb3656ea0b847ef7bd1a19d2915cdd5938f32b314 (patch)
tree9d7a7f5dfc505971e2388523d71c86bc79a6be56 /vpp/api/vpe.api
parent0666dc47d9a04c1c40d3ad17c053e6224c5ee248 (diff)
HONEYCOMB-10: Add missing context parameter to *details structs
Some of the *details structures defined in vpe.api did not have the context parameter that is used for request<->reply matching. Without the context, it is difficult for upper layers (users of vpp binary apis) to identify which reply or details message belongs to which request Tested manually using vat Change-Id: I5fda54a891b68349f80c87fae06009791a028147 Signed-off-by: Maros Marsalek <mmarsale@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'vpp/api/vpe.api')
-rw-r--r--vpp/api/vpe.api6
1 files changed, 6 insertions, 0 deletions
diff --git a/vpp/api/vpe.api b/vpp/api/vpe.api
index afad1c25d0b..50f971416bc 100644
--- a/vpp/api/vpe.api
+++ b/vpp/api/vpe.api
@@ -67,6 +67,7 @@ define want_interface_events_reply {
@param vtr_tag2
*/
manual_java define sw_interface_details {
+ u32 context;
u32 sw_if_index;
/* index of sup interface (e.g. hw interface).
@@ -1683,6 +1684,7 @@ define l2tpv3_set_tunnel_cookies_reply {
};
manual_java define sw_if_l2tpv3_tunnel_details {
+ u32 context;
u32 sw_if_index;
u8 interface_name[64];
u8 client_address [16];
@@ -1984,6 +1986,7 @@ define nsh_gre_add_del_tunnel_reply {
@param num_regions - number of used memory regions
*/
manual_java define sw_interface_vhost_user_details {
+ u32 context;
u32 sw_if_index;
u8 interface_name[64];
u32 virtio_net_hdr_sz;
@@ -2034,6 +2037,7 @@ define ip_dump {
@param bvi_mac - the mac address is a bridge virtual interface
*/
manual_java define l2_fib_table_entry {
+ u32 context;
u32 bd_id;
u64 mac;
u32 sw_if_index;
@@ -3037,6 +3041,7 @@ define map_domain_dump {
};
manual_java define map_domain_details {
+ u32 context;
u32 domain_index;
u8 ip6_prefix[16];
u8 ip4_prefix[4];
@@ -3059,6 +3064,7 @@ define map_rule_dump {
};
manual_java define map_rule_details {
+ u32 context;
u8 ip6_dst[16];
u16 psid;
};