FD.io VPP  v21.06-1-gbb7418cf9
Vector Packet Processing
graph_api.c File Reference
+ Include dependency graph for graph_api.c:

Go to the source code of this file.

Macros

#define REPLY_MSG_ID_BASE   gmp->msg_id_base
 
#define MIN(x, y)   (((x) < (y)) ? (x) : (y))
 

Functions

void graph_node_invalid_cache (void)
 
static clib_error_tgraph_node_cache_reaper (u32 client_index)
 
 VL_MSG_API_REAPER_FUNCTION (graph_node_cache_reaper)
 
static void send_graph_node_reply (vl_api_registration_t *rp, u32 context, u32 retval, u32 cursor)
 
static void send_graph_node_details (vlib_node_main_t *nm, vl_api_registration_t *reg, u32 context, vlib_node_t *n, bool want_arcs)
 
static int node_cmp (void *a1, void *a2)
 
static void vl_api_graph_node_get_t_handler (vl_api_graph_node_get_t *mp)
 
static clib_error_tgraph_api_hookup (vlib_main_t *vm)
 

Variables

graph_main_t graph_main
 

Macro Definition Documentation

◆ MIN

#define MIN (   x,
 
)    (((x) < (y)) ? (x) : (y))

Definition at line 33 of file graph_api.c.

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   gmp->msg_id_base

Definition at line 24 of file graph_api.c.

Function Documentation

◆ graph_api_hookup()

static clib_error_t* graph_api_hookup ( vlib_main_t vm)
static

Definition at line 248 of file graph_api.c.

+ Here is the call graph for this function:

◆ graph_node_cache_reaper()

static clib_error_t* graph_node_cache_reaper ( u32  client_index)
static

Definition at line 50 of file graph_api.c.

+ Here is the call graph for this function:

◆ graph_node_invalid_cache()

void graph_node_invalid_cache ( void  )

Definition at line 41 of file graph_api.c.

+ Here is the caller graph for this function:

◆ node_cmp()

static int node_cmp ( void *  a1,
void *  a2 
)
static

Definition at line 119 of file graph_api.c.

+ Here is the caller graph for this function:

◆ send_graph_node_details()

static void send_graph_node_details ( vlib_node_main_t nm,
vl_api_registration_t reg,
u32  context,
vlib_node_t n,
bool  want_arcs 
)
static

Definition at line 77 of file graph_api.c.

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

◆ send_graph_node_reply()

static void send_graph_node_reply ( vl_api_registration_t rp,
u32  context,
u32  retval,
u32  cursor 
)
static

Definition at line 60 of file graph_api.c.

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

◆ vl_api_graph_node_get_t_handler()

static void vl_api_graph_node_get_t_handler ( vl_api_graph_node_get_t mp)
static

Definition at line 141 of file graph_api.c.

+ Here is the call graph for this function:

◆ VL_MSG_API_REAPER_FUNCTION()

VL_MSG_API_REAPER_FUNCTION ( graph_node_cache_reaper  )
+ Here is the caller graph for this function:

Variable Documentation

◆ graph_main

graph_main_t graph_main

Definition at line 30 of file graph_api.c.