FD.io VPP  v20.01-48-g3e0dafb74
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)
 
int vnet_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

◆ APP_NAMESPACE_INVALID_INDEX

#define APP_NAMESPACE_INVALID_INDEX   ((u32)~0)

Definition at line 63 of file application_namespace.h.

Typedef Documentation

◆ app_namespace_t

typedef struct _app_namespace app_namespace_t

◆ vnet_app_namespace_add_del_args_t

typedef struct _vnet_app_namespace_add_del_args vnet_app_namespace_add_del_args_t

Function Documentation

◆ app_namespace_alloc()

app_namespace_t* app_namespace_alloc ( u8 ns_id)

Definition at line 53 of file application_namespace.c.

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

◆ app_namespace_get()

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:

◆ app_namespace_get_default()

static app_namespace_t* app_namespace_get_default ( void  )
inlinestatic

Definition at line 78 of file application_namespace.h.

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

◆ app_namespace_get_fib_index()

u32 app_namespace_get_fib_index ( app_namespace_t app_ns,
u8  fib_proto 
)

Definition at line 142 of file application_namespace.c.

+ Here is the caller graph for this function:

◆ app_namespace_get_from_id()

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:

◆ app_namespace_get_local_table()

session_table_t* app_namespace_get_local_table ( app_namespace_t app_ns)

Definition at line 149 of file application_namespace.c.

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

◆ app_namespace_id()

const u8* app_namespace_id ( app_namespace_t app_ns)

Definition at line 117 of file application_namespace.c.

+ Here is the caller graph for this function:

◆ app_namespace_id_from_index()

const u8* app_namespace_id_from_index ( u32  index)

Definition at line 133 of file application_namespace.c.

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

◆ app_namespace_index()

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:

◆ app_namespace_index_from_id()

u32 app_namespace_index_from_id ( const u8 ns_id)

Definition at line 123 of file application_namespace.c.

+ Here is the caller graph for this function:

◆ app_namespaces_init()

void app_namespaces_init ( void  )

Definition at line 155 of file application_namespace.c.

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

◆ vnet_app_namespace_add_del()

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