26 #include <sctp/sctp.api_enum.h> 27 #include <sctp/sctp.api_types.h> 29 #define REPLY_MSG_ID_BASE sctp_main.msg_id_base 37 vl_api_sctp_add_src_dst_connection_reply_t *rmp;
49 REPLY_MACRO (VL_API_SCTP_ADD_SRC_DST_CONNECTION_REPLY);
56 vl_api_sctp_del_src_dst_connection_reply_t *rmp;
66 REPLY_MACRO (VL_API_SCTP_ADD_SRC_DST_CONNECTION_REPLY);
73 vl_api_sctp_config_reply_t *rmp;
83 #include <sctp/sctp.api.c> static void vl_api_sctp_add_src_dst_connection_t_handler(vl_api_sctp_add_src_dst_connection_t *mp)
clib_error_t * sctp_plugin_api_hookup(vlib_main_t *vm)
struct _sctp_user_configuration sctp_user_configuration_t
u8 sctp_configure(sctp_user_configuration_t config)
u8 sctp_sub_connection_add_ip4(vlib_main_t *vm, ip4_address_t *lcl_addr, ip4_address_t *rmt_addr)
u8 sctp_sub_connection_del_ip4(ip4_address_t *lcl_addr, ip4_address_t *rmt_addr)
static void vl_api_sctp_config_t_handler(vl_api_sctp_config_t *mp)
static void vl_api_sctp_del_src_dst_connection_t_handler(vl_api_sctp_del_src_dst_connection_t *mp)
static vlib_main_t * vlib_get_main(void)
u8 sctp_sub_connection_del_ip6(ip6_address_t *lcl_addr, ip6_address_t *rmt_addr)
static void setup_message_id_table(snat_main_t *sm, api_main_t *am)
u8 sctp_sub_connection_add_ip6(vlib_main_t *vm, ip6_address_t *lcl_addr, ip6_address_t *rmt_addr)
Configure SCTP source addresses, for active-open SCTP sessions.