FD.io VPP  v18.07.1-19-g511ce25
Vector Packet Processing
bier_fmask_db.h File Reference
+ Include dependency graph for bier_fmask_db.h:
+ This graph shows which files directly or indirectly include this file:

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 Documentation

A key/ID for a BIER forwarding Mas (FMask).

This is a simplified version of a fib_route_path_t.

typedef walk_rc_t(* bier_fmask_walk_fn_t) (index_t bfmi, void *ctx)

Walk all the BIER fmasks.

Definition at line 99 of file bier_fmask_db.h.

bier_fmask_db : The BIER fmask Database

BIER header encapulsation types

BIER next-hop type.

Enumeration Type Documentation

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.

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.

Function Documentation

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.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void bier_fmask_db_remove ( const bier_fmask_id_t fmid)

Definition at line 138 of file bier_fmask_db.c.

+ Here is the caller graph for this function:

void bier_fmask_db_walk ( bier_fmask_walk_fn_t  fn,
void *  ctx 
)

Definition at line 155 of file bier_fmask_db.c.

+ Here is the caller graph for this function: