Go to the source code of this file.
#define foreach_syn_filter_error |
Value:_(THROTTLED, "TCP SYN packet throttle drops") \
_(OK, "TCP SYN packets passed")
Definition at line 57 of file tcp_syn_filter4.c.
Enumerator |
---|
SYN_FILTER_NEXT_DROP |
|
SYN_FILTER_N_NEXT |
|
Definition at line 75 of file tcp_syn_filter4.c.
static u8* format_syn_filter4_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
int syn_filter_enable_disable |
( |
u32 |
sw_if_index, |
|
|
int |
enable_disable |
|
) |
| |
VNET_FEATURE_INIT |
( |
syn_filter_4 |
, |
|
|
static |
|
|
) |
| |
Initial value:=
{
.path = "ip syn filter",
.short_help = "ip syn filter <interface-name> [disable]",
}
static clib_error_t * syn_filter_enable_disable_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (sr_content_command)
Definition at line 529 of file tcp_syn_filter4.c.
char* syn_filter4_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_syn_filter_error
Definition at line 69 of file tcp_syn_filter4.c.
Initial value:=
{
.name = "syn-filter-4",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static u8 * format_syn_filter4_trace(u8 *s, va_list *args)
static char * syn_filter4_error_strings[]
(constructor) VLIB_REGISTER_NODE (syn_filter4_node)
Definition at line 55 of file tcp_syn_filter4.c.