FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
gbp_route_domain.h File Reference
+ Include dependency graph for gbp_route_domain.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  gpb_route_domain_t_
 A route Domain Representation. More...
 

Typedefs

typedef struct gpb_route_domain_t_ gbp_route_domain_t
 A route Domain Representation. More...
 
typedef int(* gbp_route_domain_cb_t) (gbp_route_domain_t *gb, void *ctx)
 

Functions

int gbp_route_domain_add_and_lock (u32 rd_id, gbp_scope_t scope, u32 ip4_table_id, u32 ip6_table_id, u32 ip4_uu_sw_if_index, u32 ip6_uu_sw_if_index)
 
void gbp_route_domain_unlock (index_t grdi)
 
index_t gbp_route_domain_find_and_lock (u32 rd_id)
 
index_t gbp_route_domain_find (u32 rd_id)
 
index_t gbp_route_domain_index (const gbp_route_domain_t *)
 
int gbp_route_domain_delete (u32 rd_id)
 
gbp_route_domain_tgbp_route_domain_get (index_t i)
 
u32 gbp_route_domain_get_rd_id (index_t i)
 
gbp_scope_t gbp_route_domain_get_scope (index_t i)
 
void gbp_route_domain_walk (gbp_route_domain_cb_t bgpe, void *ctx)
 
const mac_address_tgbp_route_domain_get_local_mac (void)
 
const mac_address_tgbp_route_domain_get_remote_mac (void)
 
u8format_gbp_route_domain (u8 *s, va_list *args)
 

Typedef Documentation

◆ gbp_route_domain_cb_t

typedef int(* gbp_route_domain_cb_t) (gbp_route_domain_t *gb, void *ctx)

Definition at line 68 of file gbp_route_domain.h.

◆ gbp_route_domain_t

A route Domain Representation.

This is a standard route-domain plus all the attributes it must have to supprt the GBP model.

Function Documentation

◆ format_gbp_route_domain()

u8* format_gbp_route_domain ( u8 s,
va_list *  args 
)

Definition at line 374 of file gbp_route_domain.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gbp_route_domain_add_and_lock()

int gbp_route_domain_add_and_lock ( u32  rd_id,
gbp_scope_t  scope,
u32  ip4_table_id,
u32  ip6_table_id,
u32  ip4_uu_sw_if_index,
u32  ip6_uu_sw_if_index 
)

Definition at line 128 of file gbp_route_domain.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gbp_route_domain_delete()

int gbp_route_domain_delete ( u32  rd_id)

Definition at line 256 of file gbp_route_domain.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gbp_route_domain_find()

index_t gbp_route_domain_find ( u32  rd_id)

Definition at line 87 of file gbp_route_domain.c.

+ Here is the caller graph for this function:

◆ gbp_route_domain_find_and_lock()

index_t gbp_route_domain_find_and_lock ( u32  rd_id)

Definition at line 100 of file gbp_route_domain.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gbp_route_domain_get()

gbp_route_domain_t* gbp_route_domain_get ( index_t  i)

Definition at line 72 of file gbp_route_domain.c.

+ Here is the caller graph for this function:

◆ gbp_route_domain_get_local_mac()

const mac_address_t* gbp_route_domain_get_local_mac ( void  )

Definition at line 276 of file gbp_route_domain.c.

+ Here is the caller graph for this function:

◆ gbp_route_domain_get_rd_id()

u32 gbp_route_domain_get_rd_id ( index_t  i)

Definition at line 236 of file gbp_route_domain.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gbp_route_domain_get_remote_mac()

const mac_address_t* gbp_route_domain_get_remote_mac ( void  )

Definition at line 282 of file gbp_route_domain.c.

+ Here is the caller graph for this function:

◆ gbp_route_domain_get_scope()

gbp_scope_t gbp_route_domain_get_scope ( index_t  i)

Definition at line 246 of file gbp_route_domain.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gbp_route_domain_index()

index_t gbp_route_domain_index ( const gbp_route_domain_t )

Definition at line 66 of file gbp_route_domain.c.

+ Here is the caller graph for this function:

◆ gbp_route_domain_unlock()

void gbp_route_domain_unlock ( index_t  grdi)

Definition at line 208 of file gbp_route_domain.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gbp_route_domain_walk()

void gbp_route_domain_walk ( gbp_route_domain_cb_t  bgpe,
void *  ctx 
)

Definition at line 288 of file gbp_route_domain.c.

+ Here is the caller graph for this function: