FD.io VPP
v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | bier_fmask_id_t_ |
A key/ID for a BIER forwarding Mas (FMask). More... | |
Typedefs | |
typedef enum bier_hdr_type_t_ | bier_hdr_type_t |
bier_fmask_db : The BIER fmask Database More... | |
typedef enum bier_nh_type_t_ | bier_nh_type_t |
BIER next-hop type. More... | |
typedef struct bier_fmask_id_t_ | bier_fmask_id_t |
A key/ID for a BIER forwarding Mas (FMask). More... | |
typedef walk_rc_t(* | bier_fmask_walk_fn_t) (index_t bfmi, void *ctx) |
Walk all the BIER fmasks. More... | |
Enumerations | |
enum | bier_hdr_type_t_ { BIER_HDR_O_MPLS, BIER_HDR_O_OTHER } |
bier_fmask_db : The BIER fmask Database More... | |
enum | bier_nh_type_t_ { BIER_NH_IP, BIER_NH_UDP } |
BIER next-hop type. More... | |
Functions | |
index_t | bier_fmask_db_find_or_create_and_lock (index_t bti, const fib_route_path_t *rpath) |
index_t | bier_fmask_db_find (index_t bti, const fib_route_path_t *rpath) |
void | bier_fmask_db_remove (const bier_fmask_id_t *fmid) |
void | bier_fmask_db_walk (bier_fmask_walk_fn_t fn, void *ctx) |
typedef struct bier_fmask_id_t_ bier_fmask_id_t |
A key/ID for a BIER forwarding Mas (FMask).
This is a simplified version of a fib_route_path_t.
Walk all the BIER fmasks.
Definition at line 99 of file bier_fmask_db.h.
typedef enum bier_hdr_type_t_ bier_hdr_type_t |
bier_fmask_db : The BIER fmask Database
BIER header encapulsation types
typedef enum bier_nh_type_t_ bier_nh_type_t |
BIER next-hop type.
enum bier_hdr_type_t_ |
bier_fmask_db : The BIER fmask Database
BIER header encapulsation types
Enumerator | |
---|---|
BIER_HDR_O_MPLS | BIER Header in MPLS networks. |
BIER_HDR_O_OTHER | BIER header in non-MPLS networks. |
Definition at line 29 of file bier_fmask_db.h.
enum bier_nh_type_t_ |
BIER next-hop type.
Enumerator | |
---|---|
BIER_NH_IP | BIER Header in MPLS networks. |
BIER_NH_UDP | BIER header in non-MPLS networks. |
Definition at line 44 of file bier_fmask_db.h.
index_t bier_fmask_db_find | ( | index_t | bti, |
const fib_route_path_t * | rpath | ||
) |
Definition at line 90 of file bier_fmask_db.c.
index_t bier_fmask_db_find_or_create_and_lock | ( | index_t | bti, |
const fib_route_path_t * | rpath | ||
) |
Definition at line 108 of file bier_fmask_db.c.
void bier_fmask_db_remove | ( | const bier_fmask_id_t * | fmid | ) |
void bier_fmask_db_walk | ( | bier_fmask_walk_fn_t | fn, |
void * | ctx | ||
) |
Definition at line 155 of file bier_fmask_db.c.