aboutsummaryrefslogtreecommitdiffstats
path: root/vpp/vpp-api
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2016-06-27 10:45:09 +0200
committerMarek Gradzki <mgradzki@cisco.com>2016-06-27 17:11:41 +0200
commit310dca43a3d0c1a541d91f54a8034401c702c8e5 (patch)
tree2e75b522dddbb110915961bbb5bc0eebdc2724aa /vpp/vpp-api
parentea3e1fc8754d7ebeca85ecc448b263f6ccb6ae6f (diff)
Add support for classify table/session read to jvpp:
* provides length information for variable length arrays in classify table/sessione reply messages * provides jvpp example for reading classify tables/sessions Change-Id: I47f8fca5c849ec874d4e23f28177e310689db522 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'vpp/vpp-api')
-rw-r--r--vpp/vpp-api/vpe.api6
1 files changed, 3 insertions, 3 deletions
diff --git a/vpp/vpp-api/vpe.api b/vpp/vpp-api/vpe.api
index a1ea1b2f..0184a3e1 100644
--- a/vpp/vpp-api/vpe.api
+++ b/vpp/vpp-api/vpe.api
@@ -3854,7 +3854,7 @@ manual_java define classify_table_ids_reply {
u32 context;
u32 retval;
u32 count;
- u32 ids[0];
+ u32 ids[count];
};
/** \brief Classify table ids by interface index request
@@ -3919,7 +3919,7 @@ manual_java define classify_table_info_reply {
u32 next_table_index;
u32 miss_next_index;
u32 mask_length;
- u8 mask[0];
+ u8 mask[mask_length];
};
/** \brief Classify sessions dump request
@@ -3950,5 +3950,5 @@ manual_java define classify_session_details {
i32 advance;
u32 opaque_index;
u32 match_length;
- u8 match[0];
+ u8 match[match_length];
};