FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
gbp_classify.h File Reference
+ Include dependency graph for gbp_classify.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

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

Macros

#define GBP_SRC_N_CLASSIFY   GBP_SRC_N_CLASSIFY
 

Typedefs

typedef enum gbp_src_classify_type_t_ gbp_src_classify_type_t
 
typedef struct gbp_src_classify_main_t_ gbp_src_classify_main_t
 Grouping of global data for the GBP source EPG classification feature. More...
 

Enumerations

enum  gbp_src_classify_type_t_ { GBP_SRC_CLASSIFY_NULL, GBP_SRC_CLASSIFY_PORT, GBP_SRC_CLASSIFY_LPM, GBP_SRC_CLASSIFY_LPM_ANON }
 
enum  gbp_classify_get_ip_way { GBP_CLASSIFY_GET_IP_SRC = 0, GBP_CLASSIFY_GET_IP_DST = 1 }
 

Functions

static_always_inline dpo_proto_t gbp_classify_get_ip_address (const ethernet_header_t *eh0, const ip4_address_t **ip4, const ip6_address_t **ip6, const enum gbp_classify_get_ip_way way)
 

Variables

gbp_src_classify_main_t gbp_src_classify_main
 

Macro Definition Documentation

◆ GBP_SRC_N_CLASSIFY

#define GBP_SRC_N_CLASSIFY   GBP_SRC_N_CLASSIFY

Definition at line 31 of file gbp_classify.h.

Typedef Documentation

◆ gbp_src_classify_main_t

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

◆ gbp_src_classify_type_t

Enumeration Type Documentation

◆ gbp_classify_get_ip_way

Enumerator
GBP_CLASSIFY_GET_IP_SRC 
GBP_CLASSIFY_GET_IP_DST 

Definition at line 47 of file gbp_classify.h.

◆ gbp_src_classify_type_t_

Enumerator
GBP_SRC_CLASSIFY_NULL 
GBP_SRC_CLASSIFY_PORT 
GBP_SRC_CLASSIFY_LPM 
GBP_SRC_CLASSIFY_LPM_ANON 

Definition at line 24 of file gbp_classify.h.

Function Documentation

◆ gbp_classify_get_ip_address()

static_always_inline dpo_proto_t gbp_classify_get_ip_address ( const ethernet_header_t eh0,
const ip4_address_t **  ip4,
const ip6_address_t **  ip6,
const enum gbp_classify_get_ip_way  way 
)

Definition at line 54 of file gbp_classify.h.

+ Here is the caller graph for this function:

Variable Documentation

◆ gbp_src_classify_main

gbp_src_classify_main_t gbp_src_classify_main

Definition at line 22 of file gbp_classify.c.