X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fgbp%2Fgbp.h;h=50039b3bdcf709b9fa28ec6fe735b2eec27d4df6;hb=59f71132e;hp=06612cd948fa2265ef4f4afec259c683336bed76;hpb=22b3b846822df2701bb6cb508fa4e023526e5717;p=vpp.git diff --git a/src/plugins/gbp/gbp.h b/src/plugins/gbp/gbp.h index 06612cd948f..50039b3bdcf 100644 --- a/src/plugins/gbp/gbp.h +++ b/src/plugins/gbp/gbp.h @@ -36,7 +36,6 @@ #include #include #include -#include #include #include @@ -48,6 +47,28 @@ typedef struct extern gbp_main_t gbp_main; +typedef enum gbp_policy_type_t_ +{ + GBP_POLICY_PORT, + GBP_POLICY_MAC, + GBP_POLICY_LPM, + GBP_N_POLICY +#define GBP_N_POLICY GBP_N_POLICY +} gbp_policy_type_t; + +/** + * Grouping of global data for the GBP source EPG classification feature + */ +typedef struct gbp_policy_main_t_ +{ + /** + * Next nodes for L2 output features + */ + u32 l2_output_feat_next[GBP_N_POLICY][32]; +} gbp_policy_main_t; + +extern gbp_policy_main_t gbp_policy_main; + #endif /*