aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/tcp/tcp.api
diff options
context:
space:
mode:
authorJakub Grajciar <jgrajcia@cisco.com>2020-01-03 10:02:32 +0100
committerOle Trøan <otroan@employees.org>2020-01-03 13:14:47 +0000
commit956819afa9a7150a05239432289a881898dae138 (patch)
tree116552f4164f725719f304bec48cb9361047db94 /src/vnet/tcp/tcp.api
parent99c7b395e9cb72667b2cb8ffd7c987d42b48ea13 (diff)
tcp: api clenup
Use consistent API types. Type: fix Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com> Change-Id: I48f08cc657c28ad1eef50c917a560425137bb70e Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Diffstat (limited to 'src/vnet/tcp/tcp.api')
-rw-r--r--src/vnet/tcp/tcp.api16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/vnet/tcp/tcp.api b/src/vnet/tcp/tcp.api
index cfef9d62848..d745e0268b0 100644
--- a/src/vnet/tcp/tcp.api
+++ b/src/vnet/tcp/tcp.api
@@ -13,8 +13,10 @@
* limitations under the License.
*/
-option version = "1.0.0";
-
+option version = "2.0.0";
+
+import "vnet/ip/ip_types.api";
+
/** \brief Configure TCP source addresses, for active-open TCP sessions
TCP src/dst ports are 16 bits, with the low-order 1024 ports
@@ -22,9 +24,9 @@ option version = "1.0.0";
source IP addresses if one wishes to initiate a large number of
connections.
- Each of those addresses needs to have a receive adjacency -
+ Each of those addresses needs to have a receive adjacency -
either a /32 or a /128 - and vpp needs to answer (proxy) arps or
- neighbor discovery requests for the addresses.
+ neighbor discovery requests for the addresses.
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@@ -36,9 +38,7 @@ option version = "1.0.0";
autoreply define tcp_configure_src_addresses {
u32 client_index;
u32 context;
- u8 is_ipv6;
u32 vrf_id;
- u8 first_address[16];
- u8 last_address[16];
+ vl_api_address_t first_address;
+ vl_api_address_t last_address;
};
-