FD.io VPP
v20.09-64-g4f7b92f0a
Vector Packet Processing
|
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 |
#define GBP_SRC_N_CLASSIFY GBP_SRC_N_CLASSIFY |
Definition at line 31 of file gbp_classify.h.
typedef struct gbp_src_classify_main_t_ gbp_src_classify_main_t |
Grouping of global data for the GBP source EPG classification feature.
typedef enum gbp_src_classify_type_t_ gbp_src_classify_type_t |
Enumerator | |
---|---|
GBP_CLASSIFY_GET_IP_SRC | |
GBP_CLASSIFY_GET_IP_DST |
Definition at line 47 of file gbp_classify.h.
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.
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 | ||
) |
gbp_src_classify_main_t gbp_src_classify_main |
Definition at line 22 of file gbp_classify.c.