FD.io VPP
v19.01.2-3-gf61a1a8
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | gbp_learn_main_t_ |
Grouping of global data for the GBP source EPG classification feature. More... | |
struct | gbp_learn_l2_t_ |
struct | gbp_learn_l2_trace_t_ |
per-packet trace data More... | |
struct | gbp_learn_l3_t_ |
struct | gbp_learn_l3_trace_t_ |
per-packet trace data More... | |
Macros | |
#define | GBP_ENDPOINT_HASH_LEARN_RATE (1e-2) |
The maximum learning rate per-hashed EP. More... | |
#define | GBP_LEARN_DBG(...) vlib_log_debug (gbp_learn_main.gl_logger, __VA_ARGS__); |
#define | foreach_gbp_learn _(DROP, "drop") |
Typedefs | |
typedef struct gbp_learn_main_t_ | gbp_learn_main_t |
Grouping of global data for the GBP source EPG classification feature. More... | |
typedef struct gbp_learn_l2_t_ | gbp_learn_l2_t |
typedef struct gbp_learn_l2_trace_t_ | gbp_learn_l2_trace_t |
per-packet trace data More... | |
typedef struct gbp_learn_l3_t_ | gbp_learn_l3_t |
typedef struct gbp_learn_l3_trace_t_ | gbp_learn_l3_trace_t |
per-packet trace data More... | |
Enumerations | |
enum | gbp_learn_error_t { GBP_LEARN_N_ERROR } |
enum | gbp_learn_next_t { GBP_LEARN_N_NEXT } |
Variables | |
static gbp_learn_main_t | gbp_learn_main |
static char * | gbp_learn_error_strings [] |
vlib_node_registration_t | gbp_learn_l2_node |
(constructor) VLIB_REGISTER_NODE (gbp_learn_l2_node) More... | |
vlib_node_registration_t | gbp_learn_ip4_node |
(constructor) VLIB_REGISTER_NODE (gbp_learn_ip4_node) More... | |
vlib_node_registration_t | gbp_learn_ip6_node |
(constructor) VLIB_REGISTER_NODE (gbp_learn_ip6_node) More... | |
#define foreach_gbp_learn _(DROP, "drop") |
Definition at line 58 of file gbp_learn.c.
#define GBP_ENDPOINT_HASH_LEARN_RATE (1e-2) |
The maximum learning rate per-hashed EP.
Definition at line 51 of file gbp_learn.c.
#define GBP_LEARN_DBG | ( | ... | ) | vlib_log_debug (gbp_learn_main.gl_logger, __VA_ARGS__); |
Definition at line 55 of file gbp_learn.c.
typedef struct gbp_learn_l2_t_ gbp_learn_l2_t |
typedef struct gbp_learn_l2_trace_t_ gbp_learn_l2_trace_t |
per-packet trace data
typedef struct gbp_learn_l3_t_ gbp_learn_l3_t |
typedef struct gbp_learn_l3_trace_t_ gbp_learn_l3_trace_t |
per-packet trace data
typedef struct gbp_learn_main_t_ gbp_learn_main_t |
Grouping of global data for the GBP source EPG classification feature.
enum gbp_learn_error_t |
Enumerator | |
---|---|
GBP_LEARN_N_ERROR |
Definition at line 61 of file gbp_learn.c.
enum gbp_learn_next_t |
Enumerator | |
---|---|
GBP_LEARN_N_NEXT |
Definition at line 75 of file gbp_learn.c.
void gbp_learn_disable | ( | u32 | sw_if_index, |
gbb_learn_mode_t | mode | ||
) |
Definition at line 720 of file gbp_learn.c.
void gbp_learn_enable | ( | u32 | sw_if_index, |
gbb_learn_mode_t | mode | ||
) |
Definition at line 706 of file gbp_learn.c.
|
inlinestatic |
|
static |
|
static |
|
static |
Definition at line 431 of file gbp_learn.c.
|
static |
|
static |
Definition at line 453 of file gbp_learn.c.
|
static |
|
static |
Definition at line 96 of file gbp_learn.c.
|
static |
Definition at line 165 of file gbp_learn.c.
|
static |
Definition at line 124 of file gbp_learn.c.
|
static |
Definition at line 146 of file gbp_learn.c.
|
static |
Definition at line 488 of file gbp_learn.c.
|
static |
Definition at line 412 of file gbp_learn.c.
VLIB_NODE_FUNCTION_MULTIARCH | ( | gbp_learn_l2_node | , |
gbp_learn_l2 | |||
) |
VLIB_NODE_FUNCTION_MULTIARCH | ( | gbp_learn_ip4_node | , |
gbp_learn_ip4 | |||
) |
VLIB_NODE_FUNCTION_MULTIARCH | ( | gbp_learn_ip6_node | , |
gbp_learn_ip6 | |||
) |
VNET_FEATURE_INIT | ( | gbp_learn_ip4 | , |
static | |||
) |
VNET_FEATURE_INIT | ( | gbp_learn_ip6 | , |
static | |||
) |
|
static |
Definition at line 69 of file gbp_learn.c.
vlib_node_registration_t gbp_learn_ip4_node |
(constructor) VLIB_REGISTER_NODE (gbp_learn_ip4_node)
Definition at line 671 of file gbp_learn.c.
vlib_node_registration_t gbp_learn_ip6_node |
(constructor) VLIB_REGISTER_NODE (gbp_learn_ip6_node)
Definition at line 687 of file gbp_learn.c.
vlib_node_registration_t gbp_learn_l2_node |
(constructor) VLIB_REGISTER_NODE (gbp_learn_l2_node)
Definition at line 381 of file gbp_learn.c.
|
static |
Definition at line 53 of file gbp_learn.c.