Go to the source code of this file.
|
static void | proxy_cb_fn (void *data, u32 data_len) |
|
static void | proxy_call_main_thread (vnet_connect_args_t *a) |
|
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, u64 segment_handle) |
|
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) |
|
◆ active_open_attach()
static int active_open_attach |
( |
void |
| ) |
|
|
static |
◆ active_open_connected_callback()
◆ active_open_create_callback()
◆ active_open_disconnect_callback()
◆ active_open_reset_callback()
◆ active_open_rx_callback()
◆ create_api_loopbacks()
◆ delete_proxy_session()
◆ proxy_accept_callback()
◆ proxy_add_segment_callback()
static int proxy_add_segment_callback |
( |
u32 |
client_index, |
|
|
u64 |
segment_handle |
|
) |
| |
|
static |
◆ proxy_call_main_thread()
◆ proxy_cb_fn()
static void proxy_cb_fn |
( |
void * |
data, |
|
|
u32 |
data_len |
|
) |
| |
|
static |
◆ proxy_connected_callback()
◆ proxy_disconnect_callback()
◆ proxy_main_init()
◆ proxy_reset_callback()
◆ proxy_rx_callback()
◆ proxy_server_attach()
static int proxy_server_attach |
( |
| ) |
|
|
static |
◆ proxy_server_create()
◆ proxy_server_create_command_fn()
◆ proxy_server_listen()
static int proxy_server_listen |
( |
| ) |
|
|
static |
◆ active_open_clients
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 368 of file proxy.c.
◆ proxy_create_command
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 594 of file proxy.c.
◆ proxy_main
◆ proxy_session_cb_vft
Initial value:= {
}
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)
static int proxy_add_segment_callback(u32 client_index, u64 segment_handle)
Definition at line 264 of file proxy.c.