SolarCapture C Bindings
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups
Functions
node.h File Reference

sc_node: An object that processes packets. More...

Go to the source code of this file.

Functions

int sc_node_alloc (struct sc_node **node_out, const struct sc_attr *attr, struct sc_thread *thread, const struct sc_node_factory *factory, const struct sc_arg *args, int n_args)
 Allocate a packet processing node. More...
 
int sc_node_alloc_named (struct sc_node **node_out, const struct sc_attr *attr, struct sc_thread *thread, const char *factory_name, const char *lib_name, const struct sc_arg *args, int n_args)
 Allocate a packet processing node by name. More...
 
int sc_node_add_link (struct sc_node *from_node, const char *link_name, struct sc_node *to_node, const char *to_name_opt)
 Add a link from one node to another. More...
 
struct sc_thread * sc_node_get_thread (const struct sc_node *node)
 Return the thread associated with a node. More...
 
int sc_node_factory_lookup (const struct sc_node_factory **factory_out, struct sc_session *session, const char *factory_name, const char *lib_name)
 Find a node factory. More...
 
void sc_node_add_info_str (struct sc_node *node, const char *field_name, const char *field_val)
 Export information to solar_capture_monitor. More...
 
void sc_node_add_info_int (struct sc_node *node, const char *field_name, int64_t field_val)
 Export information to solar_capture_monitor. More...
 

Detailed Description

sc_node: An object that processes packets.