Go to the source code of this file.
|
static void | delete_proxy_session (stream_session_t *s, int is_active_open) |
|
static int | proxy_accept_callback (stream_session_t *s) |
|
static void | proxy_disconnect_callback (stream_session_t *s) |
|
static void | proxy_reset_callback (stream_session_t *s) |
|
static int | proxy_connected_callback (u32 app_index, u32 api_context, stream_session_t *s, u8 is_fail) |
|
static int | proxy_add_segment_callback (u32 client_index, const ssvm_private_t *sp) |
|
static int | proxy_rx_callback (stream_session_t *s) |
|
static int | active_open_connected_callback (u32 app_index, u32 opaque, stream_session_t *s, u8 is_fail) |
|
static void | active_open_reset_callback (stream_session_t *s) |
|
static int | active_open_create_callback (stream_session_t *s) |
|
static void | active_open_disconnect_callback (stream_session_t *s) |
|
static int | active_open_rx_callback (stream_session_t *s) |
|
static void | create_api_loopbacks (vlib_main_t *vm) |
|
static int | proxy_server_attach () |
|
static int | active_open_attach (void) |
|
static int | proxy_server_listen () |
|
static int | proxy_server_create (vlib_main_t *vm) |
|
static clib_error_t * | proxy_server_create_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
clib_error_t * | proxy_main_init (vlib_main_t *vm) |
|
static int active_open_attach |
( |
void |
| ) |
|
|
static |
static int proxy_add_segment_callback |
( |
u32 |
client_index, |
|
|
const ssvm_private_t * |
sp |
|
) |
| |
|
static |
static int proxy_server_attach |
( |
| ) |
|
|
static |
static int proxy_server_listen |
( |
| ) |
|
|
static |
Initial value:= {
}
static int active_open_connected_callback(u32 app_index, u32 opaque, stream_session_t *s, u8 is_fail)
static void active_open_reset_callback(stream_session_t *s)
static int active_open_create_callback(stream_session_t *s)
static void active_open_disconnect_callback(stream_session_t *s)
static int active_open_rx_callback(stream_session_t *s)
Definition at line 345 of file proxy.c.
Initial value:=
{
.path = "test proxy server",
.short_help = "test proxy server [server-uri <tcp://ip/port>]"
"[client-uri <tcp://ip/port>][fifo-size <nn>][rcv-buf-size <nn>]"
"[prealloc-fifos <nn>][private-segment-size <mem>]"
"[private-segment-count <nn>]",
}
static clib_error_t * proxy_server_create_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (proxy_create_command)
Definition at line 571 of file proxy.c.
Initial value:= {
}
static int proxy_add_segment_callback(u32 client_index, const ssvm_private_t *sp)
static void proxy_reset_callback(stream_session_t *s)
static int proxy_connected_callback(u32 app_index, u32 api_context, stream_session_t *s, u8 is_fail)
static int proxy_accept_callback(stream_session_t *s)
static void proxy_disconnect_callback(stream_session_t *s)
static int proxy_rx_callback(stream_session_t *s)
Definition at line 229 of file proxy.c.