|
typedef | CLIB_PACKED (struct { union { struct { ip4_address_t src;ip4_address_t dst;u16 src_port;u16 dst_port;u32 proto;};u64 as_u64[2];};}) |
|
static void | make_v4_ss_kv (session_kv4_t *kv, ip4_address_t *lcl, ip4_address_t *rmt, u16 lcl_port, u16 rmt_port, u8 proto) |
|
static void | make_v4_listener_kv (session_kv4_t *kv, ip4_address_t *lcl, u16 lcl_port, u8 proto) |
|
static void | make_v4_proxy_kv (session_kv4_t *kv, ip4_address_t *lcl, u8 proto) |
|
static void | make_v4_ss_kv_from_tc (session_kv4_t *kv, transport_connection_t *tc) |
|
static void | make_v6_ss_kv (session_kv6_t *kv, ip6_address_t *lcl, ip6_address_t *rmt, u16 lcl_port, u16 rmt_port, u8 proto) |
|
static void | make_v6_listener_kv (session_kv6_t *kv, ip6_address_t *lcl, u16 lcl_port, u8 proto) |
|
static void | make_v6_proxy_kv (session_kv6_t *kv, ip6_address_t *lcl, u8 proto) |
|
static void | make_v6_ss_kv_from_tc (session_kv6_t *kv, transport_connection_t *tc) |
|
static session_table_t * | session_table_get_or_alloc (u8 fib_proto, u8 fib_index) |
|
static session_table_t * | session_table_get_or_alloc_for_connection (transport_connection_t *tc) |
|
static session_table_t * | session_table_get_for_connection (transport_connection_t *tc) |
|
static session_table_t * | session_table_get_for_fib_index (u32 fib_proto, u32 fib_index) |
|
u32 | session_lookup_get_index_for_fib (u32 fib_proto, u32 fib_index) |
|
int | session_lookup_add_connection (transport_connection_t *tc, u64 value) |
| Add transport connection to a session table. More...
|
|
int | session_lookup_add_session_endpoint (u32 table_index, session_endpoint_t *sep, u64 value) |
|
int | session_lookup_del_session_endpoint (u32 table_index, session_endpoint_t *sep) |
|
int | session_lookup_del_connection (transport_connection_t *tc) |
| Delete transport connection from session table. More...
|
|
int | session_lookup_del_session (session_t *s) |
|
static u8 | session_lookup_action_index_is_valid (u32 action_index) |
|
static u64 | session_lookup_action_to_handle (u32 action_index) |
|
static session_t * | session_lookup_app_listen_session (u32 app_index, u8 fib_proto, u8 transport_proto) |
|
static session_t * | session_lookup_action_to_session (u32 action_index, u8 fib_proto, u8 transport_proto) |
|
session_t * | session_lookup_rules_table_session4 (session_table_t *st, u8 proto, ip4_address_t *lcl, u16 lcl_port, ip4_address_t *rmt, u16 rmt_port) |
| UNUSED. More...
|
|
session_t * | session_lookup_rules_table_session6 (session_table_t *st, u8 proto, ip6_address_t *lcl, u16 lcl_port, ip6_address_t *rmt, u16 rmt_port) |
| UNUSED. More...
|
|
u64 | session_lookup_endpoint_listener (u32 table_index, session_endpoint_t *sep, u8 use_rules) |
| Lookup listener for session endpoint in table. More...
|
|
u64 | session_lookup_local_endpoint (u32 table_index, session_endpoint_t *sep) |
| Look up endpoint in local session table. More...
|
|
static session_t * | session_lookup_listener4_i (session_table_t *st, ip4_address_t *lcl, u16 lcl_port, u8 proto, u8 use_wildcard) |
|
session_t * | session_lookup_listener4 (u32 fib_index, ip4_address_t *lcl, u16 lcl_port, u8 proto) |
|
static session_t * | session_lookup_listener6_i (session_table_t *st, ip6_address_t *lcl, u16 lcl_port, u8 proto, u8 ip_wildcard) |
|
session_t * | session_lookup_listener6 (u32 fib_index, ip6_address_t *lcl, u16 lcl_port, u8 proto) |
|
session_t * | session_lookup_listener (u32 table_index, session_endpoint_t *sep) |
| Lookup listener, exact or proxy (inaddr_any:0) match. More...
|
|
session_t * | session_lookup_listener_wildcard (u32 table_index, session_endpoint_t *sep) |
| Lookup listener wildcard match. More...
|
|
int | session_lookup_add_half_open (transport_connection_t *tc, u64 value) |
|
int | session_lookup_del_half_open (transport_connection_t *tc) |
|
u64 | session_lookup_half_open_handle (transport_connection_t *tc) |
|
transport_connection_t * | session_lookup_half_open_connection (u64 handle, u8 proto, u8 is_ip4) |
|
transport_connection_t * | session_lookup_connection_wt4 (u32 fib_index, ip4_address_t *lcl, ip4_address_t *rmt, u16 lcl_port, u16 rmt_port, u8 proto, u32 thread_index, u8 *result) |
| Lookup connection with ip4 and transport layer information. More...
|
|
transport_connection_t * | session_lookup_connection4 (u32 fib_index, ip4_address_t *lcl, ip4_address_t *rmt, u16 lcl_port, u16 rmt_port, u8 proto) |
| Lookup connection with ip4 and transport layer information. More...
|
|
session_t * | session_lookup_safe4 (u32 fib_index, ip4_address_t *lcl, ip4_address_t *rmt, u16 lcl_port, u16 rmt_port, u8 proto) |
| Lookup session with ip4 and transport layer information. More...
|
|
transport_connection_t * | session_lookup_connection_wt6 (u32 fib_index, ip6_address_t *lcl, ip6_address_t *rmt, u16 lcl_port, u16 rmt_port, u8 proto, u32 thread_index, u8 *result) |
| Lookup connection with ip6 and transport layer information. More...
|
|
transport_connection_t * | session_lookup_connection6 (u32 fib_index, ip6_address_t *lcl, ip6_address_t *rmt, u16 lcl_port, u16 rmt_port, u8 proto) |
| Lookup connection with ip6 and transport layer information. More...
|
|
session_t * | session_lookup_safe6 (u32 fib_index, ip6_address_t *lcl, ip6_address_t *rmt, u16 lcl_port, u16 rmt_port, u8 proto) |
| Lookup session with ip6 and transport layer information. More...
|
|
int | vnet_session_rule_add_del (session_rule_add_del_args_t *args) |
|
void | session_lookup_set_tables_appns (app_namespace_t *app_ns) |
| Mark (global) tables as pertaining to app ns. More...
|
|
u8 * | format_ip4_session_lookup_kvp (u8 *s, va_list *args) |
|
static int | ip4_session_table_show (clib_bihash_kv_16_8_t *kvp, void *arg) |
|
void | session_lookup_show_table_entries (vlib_main_t *vm, session_table_t *table, u8 type, u8 is_local) |
|
static clib_error_t * | session_rule_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
void | session_lookup_dump_rules_table (u32 fib_index, u8 fib_proto, u8 transport_proto) |
|
void | session_lookup_dump_local_rules_table (u32 table_index, u8 fib_proto, u8 transport_proto) |
|
static clib_error_t * | show_session_rules_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
void | session_lookup_init (void) |
|