summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-09-11 17:49:08 +0200
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-09-19 14:24:54 +0000
commit75761b933f3e28494bae4b2cf5636a07ffe6ce18 (patch)
treea9663623eba8a5c26c6bcceab1606c946ce29754 /src/plugins
parentfbc388986e3f38aaedff87b843137be81b7d4f91 (diff)
api: split vl_api_prefix into two
One type for address with prefix and one type for prefix. Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: Icfec51d9b7d5cde1d69fbecdd97498688ab7b295 Signed-off-by: Ole Troan <ot@cisco.com> Signed-off-by: Klement Sekera <ksekera@cisco.com> Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lb/lb.api10
-rw-r--r--src/plugins/lb/lb_types.api2
2 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/lb/lb.api b/src/plugins/lb/lb.api
index 867832df966..b9f5c22126a 100644
--- a/src/plugins/lb/lb.api
+++ b/src/plugins/lb/lb.api
@@ -39,7 +39,7 @@ autoreply manual_print define lb_conf
autoreply manual_print define lb_add_del_vip {
u32 client_index;
u32 context;
- vl_api_prefix_t pfx;
+ vl_api_address_with_prefix_t pfx;
u8 protocol [default=255];
u16 port;
vl_api_lb_encap_type_t encap;
@@ -64,7 +64,7 @@ autoreply manual_print define lb_add_del_vip {
autoreply manual_print define lb_add_del_as {
u32 client_index;
u32 context;
- vl_api_prefix_t pfx;
+ vl_api_address_with_prefix_t pfx;
u8 protocol [default=255];
u16 port;
vl_api_address_t as_address;
@@ -82,7 +82,7 @@ autoreply manual_print define lb_add_del_as {
autoreply manual_print define lb_flush_vip {
u32 client_index;
u32 context;
- vl_api_prefix_t pfx;
+ vl_api_address_with_prefix_t pfx;
u8 protocol;
u16 port;
};
@@ -94,7 +94,7 @@ autoreply manual_print define lb_flush_vip {
define lb_vip_dump{
u32 client_index;
u32 context;
- vl_api_prefix_t pfx;
+ vl_api_address_with_prefix_t pfx;
vl_api_prefix_matcher_t pfx_matcher;
u8 protocol [default=255];
u16 port;
@@ -126,7 +126,7 @@ define lb_as_dump{
u32 client_index;
u32 context;
/* vip */
- vl_api_prefix_t pfx;
+ vl_api_address_with_prefix_t pfx;
u8 protocol;
u16 port;
};
diff --git a/src/plugins/lb/lb_types.api b/src/plugins/lb/lb_types.api
index e01db5dd16c..cadd2b033f2 100644
--- a/src/plugins/lb/lb_types.api
+++ b/src/plugins/lb/lb_types.api
@@ -67,7 +67,7 @@ enum lb_nat_protocol
*/
typedef lb_vip
{
- vl_api_prefix_t pfx;
+ vl_api_address_with_prefix_t pfx;
vl_api_ip_proto_t protocol;
u16 port;
};