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 (session_t *s, int is_active_open) |
|
static int | proxy_accept_callback (session_t *s) |
|
static void | proxy_disconnect_callback (session_t *s) |
|
static void | proxy_reset_callback (session_t *s) |
|
static int | proxy_connected_callback (u32 app_index, u32 api_context, session_t *s, u8 is_fail) |
|
static int | proxy_add_segment_callback (u32 client_index, u64 segment_handle) |
|
static int | proxy_rx_callback (session_t *s) |
|
static int | active_open_connected_callback (u32 app_index, u32 opaque, session_t *s, u8 is_fail) |
|
static void | active_open_reset_callback (session_t *s) |
|
static int | active_open_create_callback (session_t *s) |
|
static void | active_open_disconnect_callback (session_t *s) |
|
static int | active_open_rx_callback (session_t *s) |
|
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()
static int active_open_connected_callback |
( |
u32 |
app_index, |
|
|
u32 |
opaque, |
|
|
session_t * |
s, |
|
|
u8 |
is_fail |
|
) |
| |
|
static |
◆ active_open_create_callback()
static int active_open_create_callback |
( |
session_t * |
s | ) |
|
|
static |
◆ active_open_disconnect_callback()
static void active_open_disconnect_callback |
( |
session_t * |
s | ) |
|
|
static |
◆ active_open_reset_callback()
static void active_open_reset_callback |
( |
session_t * |
s | ) |
|
|
static |
◆ active_open_rx_callback()
static int active_open_rx_callback |
( |
session_t * |
s | ) |
|
|
static |
◆ delete_proxy_session()
static void delete_proxy_session |
( |
session_t * |
s, |
|
|
int |
is_active_open |
|
) |
| |
|
static |
◆ proxy_accept_callback()
static int proxy_accept_callback |
( |
session_t * |
s | ) |
|
|
static |
◆ 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()
static int proxy_connected_callback |
( |
u32 |
app_index, |
|
|
u32 |
api_context, |
|
|
session_t * |
s, |
|
|
u8 |
is_fail |
|
) |
| |
|
static |
◆ proxy_disconnect_callback()
static void proxy_disconnect_callback |
( |
session_t * |
s | ) |
|
|
static |
◆ proxy_main_init()
◆ proxy_reset_callback()
static void proxy_reset_callback |
( |
session_t * |
s | ) |
|
|
static |
◆ proxy_rx_callback()
static int proxy_rx_callback |
( |
session_t * |
s | ) |
|
|
static |
◆ 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_rx_callback(session_t *s)
static int active_open_create_callback(session_t *s)
static int active_open_connected_callback(u32 app_index, u32 opaque, session_t *s, u8 is_fail)
static void active_open_disconnect_callback(session_t *s)
static void active_open_reset_callback(session_t *s)
Definition at line 365 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 577 of file proxy.c.
◆ proxy_main
◆ proxy_session_cb_vft
Initial value:= {
}
static int proxy_accept_callback(session_t *s)
static void proxy_reset_callback(session_t *s)
static int proxy_connected_callback(u32 app_index, u32 api_context, session_t *s, u8 is_fail)
static int proxy_rx_callback(session_t *s)
static void proxy_disconnect_callback(session_t *s)
static int proxy_add_segment_callback(u32 client_index, u64 segment_handle)
Definition at line 260 of file proxy.c.