FD.io VPP  v19.04.2-12-g66b1689
Vector Packet Processing
gbp_learn.h File Reference
+ Include dependency graph for gbp_learn.h:
+ This graph shows which files directly or indirectly include this file:

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...
 

Macros

#define GBP_ENDPOINT_HASH_LEARN_RATE   (1e-2)
 The maximum learning rate per-hashed EP. More...
 

Typedefs

typedef enum gbp_learn_mode_t_ gbb_learn_mode_t
 
typedef struct gbp_learn_main_t_ gbp_learn_main_t
 Grouping of global data for the GBP source EPG classification feature. More...
 

Enumerations

enum  gbp_learn_mode_t_ { GBP_LEARN_MODE_L2, GBP_LEARN_MODE_L3 }
 

Functions

void gbp_learn_enable (u32 sw_if_index, gbb_learn_mode_t mode)
 
void gbp_learn_disable (u32 sw_if_index, gbb_learn_mode_t mode)
 

Variables

gbp_learn_main_t gbp_learn_main
 

Macro Definition Documentation

#define GBP_ENDPOINT_HASH_LEARN_RATE   (1e-2)

The maximum learning rate per-hashed EP.

Definition at line 24 of file gbp_learn.h.

Typedef Documentation

Grouping of global data for the GBP source EPG classification feature.

Enumeration Type Documentation

Enumerator
GBP_LEARN_MODE_L2 
GBP_LEARN_MODE_L3 

Definition at line 26 of file gbp_learn.h.

Function Documentation

void gbp_learn_disable ( u32  sw_if_index,
gbb_learn_mode_t  mode 
)

Definition at line 41 of file gbp_learn.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gbp_learn_enable ( u32  sw_if_index,
gbb_learn_mode_t  mode 
)

Definition at line 25 of file gbp_learn.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

gbp_learn_main_t gbp_learn_main

Definition at line 22 of file gbp_learn.c.