![]() |
FD.io VPP
v18.04-17-g3a0d853
Vector Packet Processing
|
Include dependency graph for sctp_output.c:Go to the source code of this file.
Data Structures | |
| struct | sctp_tx_trace_t |
Macros | |
| #define | foreach_sctp4_output_next |
| #define | foreach_sctp6_output_next |
| #define | sctp_error(n, s) s, |
Typedefs | |
| typedef enum _sctp_output_next | sctp_output_next_t |
Variables | |
| vlib_node_registration_t | sctp4_output_node |
| (constructor) VLIB_REGISTER_NODE (sctp4_output_node) More... | |
| vlib_node_registration_t | sctp6_output_node |
| (constructor) VLIB_REGISTER_NODE (sctp6_output_node) More... | |
| static char * | sctp_error_strings [] |
| #define foreach_sctp4_output_next |
Definition at line 30 of file sctp_output.c.
| #define foreach_sctp6_output_next |
Definition at line 34 of file sctp_output.c.
| #define sctp_error | ( | n, | |
| s | |||
| ) | s, |
| typedef enum _sctp_output_next sctp_output_next_t |
| u32 ip4_sctp_compute_checksum | ( | vlib_main_t * | vm, |
| vlib_buffer_t * | p0, | ||
| ip4_header_t * | ip0 | ||
| ) |
Definition at line 97 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| u32 ip6_sctp_compute_checksum | ( | vlib_main_t * | vm, |
| vlib_buffer_t * | p0, | ||
| ip6_header_t * | ip0, | ||
| int * | bogus_lengthp | ||
| ) |
Definition at line 154 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 1589 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
|
inlinestatic |
Definition at line 285 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void sctp_compute_mac | ( | sctp_connection_t * | sctp_conn, |
| sctp_state_cookie_param_t * | state_cookie | ||
| ) |
| void sctp_data_retransmit | ( | sctp_connection_t * | sctp_conn | ) |
Definition at line 1513 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 405 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 364 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 323 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 357 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Flush ip lookup tx frames populated by timer pops.
Definition at line 70 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void sctp_flush_frame_to_output | ( | vlib_main_t * | vm, |
| u8 | thread_index, | ||
| u8 | is_ip4 | ||
| ) |
Flush tx frame populated by retransmits and timer pops.
Definition at line 54 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void sctp_flush_frames_to_output | ( | u8 | thread_index | ) |
Flush v4 and v6 sctp and ip-lookup tx frames for thread index.
Definition at line 87 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 307 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 271 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
| void sctp_prepare_abort_for_collision | ( | sctp_connection_t * | sctp_conn, |
| u8 | idx, | ||
| vlib_buffer_t * | b, | ||
| ip4_address_t * | ip4_addr, | ||
| ip6_address_t * | ip6_addr | ||
| ) |
Convert buffer to ABORT.
Definition at line 688 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void sctp_prepare_cookie_ack_chunk | ( | sctp_connection_t * | sctp_conn, |
| u8 | idx, | ||
| vlib_buffer_t * | b | ||
| ) |
Definition at line 526 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void sctp_prepare_cookie_echo_chunk | ( | sctp_connection_t * | sctp_conn, |
| u8 | idx, | ||
| vlib_buffer_t * | b, | ||
| u8 | reuse_buffer | ||
| ) |
Definition at line 560 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| u32 sctp_prepare_data_retransmit | ( | sctp_connection_t * | sctp_conn, |
| u8 | idx, | ||
| u32 | offset, | ||
| u32 | max_deq_bytes, | ||
| vlib_buffer_t ** | b | ||
| ) |
Definition at line 1461 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void sctp_prepare_heartbeat_ack_chunk | ( | sctp_connection_t * | sctp_conn, |
| u8 | idx, | ||
| vlib_buffer_t * | b | ||
| ) |
Convert buffer to HEARTBEAT_ACK.
Definition at line 1161 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void sctp_prepare_heartbeat_chunk | ( | sctp_connection_t * | sctp_conn, |
| u8 | idx, | ||
| vlib_buffer_t * | b | ||
| ) |
Convert buffer to HEARTBEAT.
Definition at line 1200 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void sctp_prepare_init_chunk | ( | sctp_connection_t * | sctp_conn, |
| u8 | idx, | ||
| vlib_buffer_t * | b | ||
| ) |
Convert buffer to INIT.
Definition at line 415 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void sctp_prepare_initack_chunk | ( | sctp_connection_t * | sctp_conn, |
| u8 | idx, | ||
| vlib_buffer_t * | b, | ||
| ip4_address_t * | ip4_addr, | ||
| u8 | add_ip4, | ||
| ip6_address_t * | ip6_addr, | ||
| u8 | add_ip6 | ||
| ) |
Convert buffer to INIT-ACK.
Definition at line 869 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void sctp_prepare_initack_chunk_for_collision | ( | sctp_connection_t * | sctp_conn, |
| u8 | idx, | ||
| vlib_buffer_t * | b, | ||
| ip4_address_t * | ip4_addr, | ||
| ip6_address_t * | ip6_addr | ||
| ) |
Convert buffer to INIT-ACK.
Definition at line 729 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void sctp_prepare_operation_error | ( | sctp_connection_t * | sctp_conn, |
| u8 | idx, | ||
| vlib_buffer_t * | b, | ||
| u8 | err_cause | ||
| ) |
Convert buffer to ERROR.
Definition at line 643 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void sctp_prepare_sack_chunk | ( | sctp_connection_t * | sctp_conn, |
| u8 | idx, | ||
| vlib_buffer_t * | b | ||
| ) |
Convert buffer to SACK.
Definition at line 1123 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void sctp_prepare_shutdown_ack_chunk | ( | sctp_connection_t * | sctp_conn, |
| u8 | idx, | ||
| vlib_buffer_t * | b | ||
| ) |
Convert buffer to SHUTDOWN_ACK.
Definition at line 1075 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void sctp_prepare_shutdown_chunk | ( | sctp_connection_t * | sctp_conn, |
| u8 | idx, | ||
| vlib_buffer_t * | b | ||
| ) |
Convert buffer to SHUTDOWN.
Definition at line 1012 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void sctp_prepare_shutdown_complete_chunk | ( | sctp_connection_t * | sctp_conn, |
| u8 | idx, | ||
| vlib_buffer_t * | b | ||
| ) |
Convert buffer to SHUTDOWN_COMPLETE.
Definition at line 1269 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Push SCTP header and update connection variables.
Definition at line 1363 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| u32 sctp_push_header | ( | transport_connection_t * | trans_conn, |
| vlib_buffer_t * | b | ||
| ) |
| void sctp_push_ip_hdr | ( | sctp_main_t * | tm, |
| sctp_sub_connection_t * | sctp_sub_conn, | ||
| vlib_buffer_t * | b | ||
| ) |
Definition at line 228 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 254 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void sctp_send_cookie_echo | ( | sctp_connection_t * | sctp_conn | ) |
Definition at line 598 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void sctp_send_heartbeat | ( | sctp_connection_t * | sctp_conn | ) |
Definition at line 1232 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void sctp_send_init | ( | sctp_connection_t * | sctp_conn | ) |
Definition at line 1314 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void sctp_send_shutdown | ( | sctp_connection_t * | sctp_conn | ) |
Definition at line 1048 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void sctp_send_shutdown_ack | ( | sctp_connection_t * | sctp_conn, |
| u8 | idx, | ||
| vlib_buffer_t * | b | ||
| ) |
Definition at line 1106 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void sctp_send_shutdown_complete | ( | sctp_connection_t * | sctp_conn, |
| u8 | idx, | ||
| vlib_buffer_t * | b0 | ||
| ) |
Definition at line 1297 of file sctp_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| VLIB_NODE_FUNCTION_MULTIARCH | ( | sctp4_output_node | , |
| sctp4_output | |||
| ) |
| VLIB_NODE_FUNCTION_MULTIARCH | ( | sctp6_output_node | , |
| sctp6_output | |||
| ) |
| vlib_node_registration_t sctp4_output_node |
(constructor) VLIB_REGISTER_NODE (sctp4_output_node)
Definition at line 20 of file sctp_output.c.
| vlib_node_registration_t sctp6_output_node |
(constructor) VLIB_REGISTER_NODE (sctp6_output_node)
Definition at line 21 of file sctp_output.c.
|
static |
Definition at line 38 of file sctp_output.c.