2 * Copyright (c) 2018 SUSE LLC.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at:
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
16 option version = "2.0.0";
18 import "vnet/ip/ip_types.api";
20 /** \brief Configure SCTP source addresses, for active-open SCTP sessions
22 SCTP src/dst ports are 16 bits
23 @param client_index - opaque cookie to identify the sender
24 @param context - sender context, to match reply w/ request
25 @param vrf_id - fib table / vrf id for local adjacencies
26 @param src_address - src address that SCTP will use for this sub-conn
27 @param dst_address - dst address that SCTP will use for this sub-conn
29 autoreply define sctp_add_src_dst_connection {
33 vl_api_address_t src_address;
34 vl_api_address_t dst_address;
37 autoreply define sctp_del_src_dst_connection {
41 vl_api_address_t src_address;
42 vl_api_address_t dst_address;
45 autoreply define sctp_config {
48 bool never_delay_sack;