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

Go to the source code of this file.

Data Structures

struct  graph_link_t
 
struct  graph_dir_t
 
struct  graph_node_t
 
struct  graph_t
 

Functions

static void graph_dir_free (graph_dir_t *d)
 
static graph_link_tgraph_dir_get_link_to_node (graph_dir_t *d, u32 node_index)
 
static uword graph_dir_add_link (graph_dir_t *d, u32 node_index, u32 distance)
 
static void graph_dir_del_link (graph_dir_t *d, u32 node_index)
 
u32 graph_set_link (graph_t *g, u32 src, u32 dst, u32 distance)
 
static void graph_set_bidirectional_link (graph_t *g, u32 src, u32 dst, u32 distance)
 
void graph_del_link (graph_t *g, u32 src, u32 dst)
 
uword graph_del_node (graph_t *g, u32 src)
 

Variables

unformat_function_t unformat_graph
 
format_function_t format_graph
 
format_function_t format_graph_node
 

Function Documentation

void graph_del_link ( graph_t g,
u32  src,
u32  dst 
)

Definition at line 67 of file graph.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uword graph_del_node ( graph_t g,
u32  src 
)

Definition at line 80 of file graph.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static uword graph_dir_add_link ( graph_dir_t d,
u32  node_index,
u32  distance 
)
inlinestatic

Definition at line 60 of file graph.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void graph_dir_del_link ( graph_dir_t d,
u32  node_index 
)
inlinestatic

Definition at line 72 of file graph.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void graph_dir_free ( graph_dir_t d)
inlinestatic

Definition at line 46 of file graph.h.

+ Here is the caller graph for this function:

static graph_link_t* graph_dir_get_link_to_node ( graph_dir_t d,
u32  node_index 
)
inlinestatic

Definition at line 53 of file graph.h.

+ Here is the caller graph for this function:

static void graph_set_bidirectional_link ( graph_t g,
u32  src,
u32  dst,
u32  distance 
)
inlinestatic

Definition at line 106 of file graph.h.

+ Here is the call graph for this function:

u32 graph_set_link ( graph_t g,
u32  src,
u32  dst,
u32  distance 
)

Definition at line 19 of file graph.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

format_function_t format_graph

Definition at line 116 of file graph.h.

format_function_t format_graph_node

Definition at line 117 of file graph.h.

unformat_function_t unformat_graph

Definition at line 115 of file graph.h.