FD.io VPP  v19.04.2-12-g66b1689
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, 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)
 
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

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

Definition at line 71 of file gbp_route_domain.h.

A route Domain Representation.

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

Function Documentation

u8* format_gbp_route_domain ( u8 s,
va_list *  args 
)

Definition at line 359 of file gbp_route_domain.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int gbp_route_domain_add_and_lock ( u32  rd_id,
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:

int gbp_route_domain_delete ( u32  rd_id)

Definition at line 245 of file gbp_route_domain.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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:

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_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:

const mac_address_t* gbp_route_domain_get_local_mac ( void  )

Definition at line 265 of file gbp_route_domain.c.

+ Here is the caller graph for this function:

u32 gbp_route_domain_get_rd_id ( index_t  i)

Definition at line 235 of file gbp_route_domain.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const mac_address_t* gbp_route_domain_get_remote_mac ( void  )

Definition at line 271 of file gbp_route_domain.c.

+ Here is the caller graph for this function:

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:

void gbp_route_domain_unlock ( index_t  grdi)

Definition at line 206 of file gbp_route_domain.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gbp_route_domain_walk ( gbp_route_domain_cb_t  bgpe,
void *  ctx 
)

Definition at line 277 of file gbp_route_domain.c.

+ Here is the caller graph for this function: