FD.io VPP  v18.04-17-g3a0d853
Vector Packet Processing
sctp.api
Go to the documentation of this file.
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 {
33  u8 src_address[16];
34  u8 dst_address[16];
35  };
36 
37 autoreply define sctp_del_src_dst_connection {
42  u8 src_address[16];
43  u8 dst_address[16];
44  };
45 
46 autoreply define sctp_config {
51  };
unsigned int u32
Definition: types.h:88
option version
Definition: sctp.api:16
unsigned char u8
Definition: types.h:56