FD.io VPP  v18.07-34-g55fbdb9
Vector Packet Processing
application_namespace.h File Reference
+ Include dependency graph for application_namespace.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define APP_NAMESPACE_INVALID_INDEX   ((u32)~0)
 

Typedefs

typedef struct _app_namespace app_namespace_t
 
typedef struct _vnet_app_namespace_add_del_args vnet_app_namespace_add_del_args_t
 

Functions

app_namespace_tapp_namespace_alloc (u8 *ns_id)
 
app_namespace_tapp_namespace_get (u32 index)
 
app_namespace_tapp_namespace_get_from_id (const u8 *ns_id)
 
u32 app_namespace_index (app_namespace_t *app_ns)
 
const u8app_namespace_id (app_namespace_t *app_ns)
 
const u8app_namespace_id_from_index (u32 index)
 
u32 app_namespace_index_from_id (const u8 *ns_id)
 
void app_namespaces_init (void)
 
clib_error_tvnet_app_namespace_add_del (vnet_app_namespace_add_del_args_t *a)
 
u32 app_namespace_get_fib_index (app_namespace_t *app_ns, u8 fib_proto)
 
session_table_tapp_namespace_get_local_table (app_namespace_t *app_ns)
 
static app_namespace_tapp_namespace_get_default (void)
 

Macro Definition Documentation

#define APP_NAMESPACE_INVALID_INDEX   ((u32)~0)

Definition at line 63 of file application_namespace.h.

Typedef Documentation

typedef struct _app_namespace app_namespace_t
typedef struct _vnet_app_namespace_add_del_args vnet_app_namespace_add_del_args_t

Function Documentation

app_namespace_t* app_namespace_alloc ( u8 ns_id)

Definition at line 53 of file application_namespace.c.

+ Here is the caller graph for this function:

app_namespace_t* app_namespace_get ( u32  index)

Definition at line 32 of file application_namespace.c.

+ Here is the caller graph for this function:

static app_namespace_t* app_namespace_get_default ( void  )
inlinestatic

Definition at line 79 of file application_namespace.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 app_namespace_get_fib_index ( app_namespace_t app_ns,
u8  fib_proto 
)

Definition at line 144 of file application_namespace.c.

+ Here is the caller graph for this function:

app_namespace_t* app_namespace_get_from_id ( const u8 ns_id)

Definition at line 38 of file application_namespace.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

session_table_t* app_namespace_get_local_table ( app_namespace_t app_ns)

Definition at line 151 of file application_namespace.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const u8* app_namespace_id ( app_namespace_t app_ns)

Definition at line 119 of file application_namespace.c.

+ Here is the caller graph for this function:

const u8* app_namespace_id_from_index ( u32  index)

Definition at line 135 of file application_namespace.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 app_namespace_index ( app_namespace_t app_ns)

Definition at line 47 of file application_namespace.c.

+ Here is the caller graph for this function:

u32 app_namespace_index_from_id ( const u8 ns_id)

Definition at line 125 of file application_namespace.c.

+ Here is the caller graph for this function:

void app_namespaces_init ( void  )

Definition at line 157 of file application_namespace.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* vnet_app_namespace_add_del ( vnet_app_namespace_add_del_args_t a)

Definition at line 65 of file application_namespace.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: