diff options
author | Ole Troan <ot@cisco.com> | 2019-09-11 17:49:08 +0200 |
---|---|---|
committer | Ole Troan <ot@cisco.com> | 2019-09-12 13:17:40 +0200 |
commit | e6a5712624186d4162cbba8e49ff15362aeda17d (patch) | |
tree | b5ced6fc0c1b5d635ce1cc6780d570ec91daa77c /src/plugins | |
parent | 4b943d632864949310da4c88ea00e59f6043ae40 (diff) |
api: split vl_api_prefix into two
One type for address with prefix and one type for prefix.
Ticket: VPP-1769
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: Icfec51d9b7d5cde1d69fbecdd97498688ab7b295
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lb/lb.api | 10 | ||||
-rw-r--r-- | src/plugins/lb/lb_types.api | 2 |
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 818e51462c5..8f3cb3ae1cf 100644 --- a/src/plugins/lb/lb_types.api +++ b/src/plugins/lb/lb_types.api @@ -67,7 +67,7 @@ enum lb_nat_protocol */ typeonly define lb_vip { - vl_api_prefix_t pfx; + vl_api_address_with_prefix_t pfx; vl_api_ip_proto_t protocol; u16 port; }; |