CNDP  22.08.0
cne_node_register Struct Reference

#include <cne_graph.h>

Data Fields

char name [CNE_NODE_NAMESIZE]
 
uint64_t flags
 
cne_node_process_t process
 
cne_node_init_t init
 
cne_node_fini_t fini
 
cne_node_t id
 
cne_node_t parent_id
 
cne_edge_t nb_edges
 
const char * next_nodes []
 

Detailed Description

Structure defines the node registration parameters.

See also
__cne_node_register(), CNE_NODE_REGISTER()

Definition at line 427 of file cne_graph.h.

Field Documentation

◆ name

char name[CNE_NODE_NAMESIZE]

Name of the node.

Definition at line 428 of file cne_graph.h.

◆ flags

uint64_t flags

Node configuration flag.

Definition at line 429 of file cne_graph.h.

◆ process

Node process function.

Definition at line 430 of file cne_graph.h.

◆ init

Node init function.

Definition at line 431 of file cne_graph.h.

◆ fini

Node fini function.

Definition at line 432 of file cne_graph.h.

◆ id

Node Identifier.

Definition at line 433 of file cne_graph.h.

◆ parent_id

cne_node_t parent_id

Identifier of parent node.

Definition at line 434 of file cne_graph.h.

◆ nb_edges

cne_edge_t nb_edges

Number of edges from this node.

Definition at line 435 of file cne_graph.h.

◆ next_nodes

const char* next_nodes[]

Names of next nodes.

Definition at line 436 of file cne_graph.h.


The documentation for this struct was generated from the following file: