FD.io VPP  v19.04.4-rc0-5-ge88582fac
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

◆ GBP_ENDPOINT_HASH_LEARN_RATE

#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

◆ gbb_learn_mode_t

◆ gbp_learn_main_t

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

Enumeration Type Documentation

◆ gbp_learn_mode_t_

Enumerator
GBP_LEARN_MODE_L2 
GBP_LEARN_MODE_L3 

Definition at line 26 of file gbp_learn.h.

Function Documentation

◆ gbp_learn_disable()

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:

◆ gbp_learn_enable()

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

gbp_learn_main_t gbp_learn_main

Definition at line 22 of file gbp_learn.c.