![]() |
FD.io VPP
v19.08-27-gf4dcae4
Vector Packet Processing
|
Include dependency graph for gbp_itf.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | gbp_itf_hdl_t_ |
Macros | |
| #define | foreach_gdb_l3_feature |
| #define | GBP_ITF_L3_FEAT_LEARN (GBP_ITF_L3_FEAT_LEARN_IP4|GBP_ITF_L3_FEAT_LEARN_IP6) |
| #define | GBP_ITF_HDL_INIT {.gh_which = ~0} |
Typedefs | |
| typedef enum gbp_itf_l3_feat_pos_t_ | gbp_itf_l3_feat_pos_t |
| typedef enum gbp_itf_l3_feat_t_ | gbp_itf_l3_feat_t |
| typedef struct gbp_itf_hdl_t_ | gbp_itf_hdl_t |
| typedef void(* | gbp_itf_free_fn_t) (u32 sw_if_index) |
Enumerations | |
| enum | gbp_itf_l3_feat_pos_t_ { foreach_gdb_l3_feature } |
| enum | gbp_itf_l3_feat_t_ { GBP_ITF_L3_FEAT_NONE, foreach_gdb_l3_feature } |
Functions | |
| void | gbp_itf_hdl_reset (gbp_itf_hdl_t *gh) |
| bool | gbp_itf_hdl_is_valid (gbp_itf_hdl_t gh) |
| gbp_itf_hdl_t | gbp_itf_l2_add_and_lock (u32 sw_if_index, u32 bd_index) |
| gbp_itf_hdl_t | gbp_itf_l3_add_and_lock (u32 sw_if_index, index_t gri) |
| gbp_itf_hdl_t | gbp_itf_l2_add_and_lock_w_free (u32 sw_if_index, u32 bd_index, gbp_itf_free_fn_t ff) |
| gbp_itf_hdl_t | gbp_itf_l3_add_and_lock_w_free (u32 sw_if_index, index_t gri, gbp_itf_free_fn_t ff) |
| void | gbp_itf_unlock (gbp_itf_hdl_t *hdl) |
| void | gbp_itf_lock (gbp_itf_hdl_t hdl) |
| gbp_itf_hdl_t | gbp_itf_clone_and_lock (gbp_itf_hdl_t hdl) |
| u32 | gbp_itf_get_sw_if_index (gbp_itf_hdl_t hdl) |
| void | gbp_itf_l2_set_input_feature (gbp_itf_hdl_t hdl, l2input_feat_masks_t feats) |
| void | gbp_itf_l2_set_output_feature (gbp_itf_hdl_t hdl, l2output_feat_masks_t feats) |
| void | gbp_itf_l3_set_input_feature (gbp_itf_hdl_t hdl, gbp_itf_l3_feat_t feats) |
| u8 * | format_gbp_itf_hdl (u8 *s, va_list *args) |
Variables | |
| static const gbp_itf_hdl_t | GBP_ITF_HDL_INVALID = GBP_ITF_HDL_INIT |
| foreach_gdb_l3_feature |
| #define GBP_ITF_L3_FEAT_LEARN (GBP_ITF_L3_FEAT_LEARN_IP4|GBP_ITF_L3_FEAT_LEARN_IP6) |
| typedef void(* gbp_itf_free_fn_t) (u32 sw_if_index) |
| typedef struct gbp_itf_hdl_t_ gbp_itf_hdl_t |
| typedef enum gbp_itf_l3_feat_pos_t_ gbp_itf_l3_feat_pos_t |
| typedef enum gbp_itf_l3_feat_t_ gbp_itf_l3_feat_t |
| enum gbp_itf_l3_feat_t_ |
| gbp_itf_hdl_t gbp_itf_clone_and_lock | ( | gbp_itf_hdl_t | hdl | ) |
| u32 gbp_itf_get_sw_if_index | ( | gbp_itf_hdl_t | hdl | ) |
| bool gbp_itf_hdl_is_valid | ( | gbp_itf_hdl_t | gh | ) |
| void gbp_itf_hdl_reset | ( | gbp_itf_hdl_t * | gh | ) |
| gbp_itf_hdl_t gbp_itf_l2_add_and_lock | ( | u32 | sw_if_index, |
| u32 | bd_index | ||
| ) |
| gbp_itf_hdl_t gbp_itf_l2_add_and_lock_w_free | ( | u32 | sw_if_index, |
| u32 | bd_index, | ||
| gbp_itf_free_fn_t | ff | ||
| ) |
| void gbp_itf_l2_set_input_feature | ( | gbp_itf_hdl_t | hdl, |
| l2input_feat_masks_t | feats | ||
| ) |
| void gbp_itf_l2_set_output_feature | ( | gbp_itf_hdl_t | hdl, |
| l2output_feat_masks_t | feats | ||
| ) |
| gbp_itf_hdl_t gbp_itf_l3_add_and_lock | ( | u32 | sw_if_index, |
| index_t | gri | ||
| ) |
| gbp_itf_hdl_t gbp_itf_l3_add_and_lock_w_free | ( | u32 | sw_if_index, |
| index_t | gri, | ||
| gbp_itf_free_fn_t | ff | ||
| ) |
| void gbp_itf_l3_set_input_feature | ( | gbp_itf_hdl_t | hdl, |
| gbp_itf_l3_feat_t | feats | ||
| ) |
| void gbp_itf_lock | ( | gbp_itf_hdl_t | hdl | ) |
| void gbp_itf_unlock | ( | gbp_itf_hdl_t * | hdl | ) |
|
static |