Go to the source code of this file.
|
static u8 * | format_sticky_hash_miss_trace (u8 *s, va_list *args) |
|
typedef | CLIB_PACKED (struct{ethernet_header_t eh;ip4_header_t ip;}) |
|
static uword | sticky_hash_miss_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
clib_error_t * | sticky_hash_miss_init (vlib_main_t *vm) |
|
static int | ip4_sticky_hash_enable_disable (sticky_hash_main_t *mp, u32 fwd_sw_if_index, u8 *fwd_mask, u32 rev_sw_if_index, u8 *rev_mask, u32 nbuckets, int enable_disable) |
|
static clib_error_t * | ip4_sticky_hash_init_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
u8 * | format_sticky_hash_session (u8 *s, va_list *args) |
|
static clib_error_t * | show_ip4_sticky_hash_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
#define foreach_sticky_hash_miss_error _(MISSES, "forward flow classify misses") |
Enumerator |
---|
STICKY_HASH_MISS_NEXT_IP4_INPUT |
|
STICKY_HASH_MISS_N_NEXT |
|
Definition at line 116 of file sticky_hash.c.
static u8* format_sticky_hash_miss_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
u8* format_sticky_hash_session |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
static int ip4_sticky_hash_enable_disable |
( |
sticky_hash_main_t * |
mp, |
|
|
u32 |
fwd_sw_if_index, |
|
|
u8 * |
fwd_mask, |
|
|
u32 |
rev_sw_if_index, |
|
|
u8 * |
rev_mask, |
|
|
u32 |
nbuckets, |
|
|
int |
enable_disable |
|
) |
| |
|
static |
Initial value:= {
.path = "show sticky classify",
.short_help = "Display sticky classifier tables",
}
static clib_error_t * show_ip4_sticky_hash_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (show_sticky_hash_command)
Definition at line 567 of file sticky_hash.c.
Initial value:= {
.path = "ip sticky classify",
.short_help = "ip sticky classify fwd <intfc> rev <intfc> "
"[nbuckets <nn>][disable]",
}
static clib_error_t * ip4_sticky_hash_init_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (sticky_hash_init_command)
Definition at line 445 of file sticky_hash.c.
char* sticky_hash_miss_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_sticky_hash_miss_error
Definition at line 95 of file sticky_hash.c.
Initial value:= {
.name = "sticky-hash-miss",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static u8 * format_sticky_hash_miss_trace(u8 *s, va_list *args)
bad routing header type(not 4)") sr_error (NO_MORE_SEGMENTS
static char * sticky_hash_miss_error_strings[]
static uword sticky_hash_miss_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (sticky_hash_miss_node)
Definition at line 247 of file sticky_hash.c.