tcp: timestamp adjustment
[vpp.git] / src / vnet / sctp / sctp.api
1 /*
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:
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
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.
14  */
15
16 option version = "1.0.0";
17  
18 /** \brief Configure SCTP source addresses, for active-open SCTP sessions
19
20     SCTP src/dst ports are 16 bits
21     @param client_index - opaque cookie to identify the sender
22     @param context - sender context, to match reply w/ request
23     @param is_ipv6 - 1 for ipv6, 0 for ipv4
24     @param vrf_id - fib table / vrf id for local adjacencies
25     @param src_address - src address that SCTP will use for this sub-conn
26     @param dst_address - dst address that SCTP will use for this sub-conn
27 */
28 autoreply define sctp_add_src_dst_connection {
29     u32 client_index;
30     u32 context;
31     u8 is_ipv6;
32     u32 vrf_id;
33     u8 src_address[16];
34     u8 dst_address[16];
35  };
36  
37 autoreply define sctp_del_src_dst_connection {
38     u32 client_index;
39     u32 context;
40     u8 is_ipv6;
41     u32 vrf_id;
42     u8 src_address[16];
43     u8 dst_address[16];
44  };
45  
46 autoreply define sctp_config {
47     u32 client_index;
48     u32 context;
49     u8 never_delay_sack;
50     u8 never_bundle;
51  };