![]() |
SolarCapture C Bindings
|
sc_vi: Supports receiving packets from the network. More...
Go to the source code of this file.
Functions | |
| int | sc_vi_alloc (struct sc_vi **vi_out, const struct sc_attr *attr, struct sc_thread *thread, const char *interface) |
| Allocate a VI instance. More... | |
| int | sc_vi_set_recv_node (struct sc_vi *vi, struct sc_node *node, const char *name_opt) |
| Set the node a VI should deliver its received packets to. More... | |
| int | sc_vi_add_stream (struct sc_vi *vi, struct sc_stream *stream) |
| Direct a packet stream to a VI. More... | |
| struct sc_thread * | sc_vi_get_thread (const struct sc_vi *vi) |
| Return the thread associated with a VI. More... | |
| const char * | sc_vi_get_interface_name (const struct sc_vi *vi) |
| Return the name of the network interface associated with a VI. More... | |
| int | sc_vi_group_alloc (struct sc_vi_group **vi_out, const struct sc_attr *attr, struct sc_session *session, const char *interface, int num_vis) |
| Allocate a VI group. More... | |
| struct sc_session * | sc_vi_group_get_session (const struct sc_vi_group *vi_group) |
| Return the session associated with a VI group. More... | |
| int | sc_vi_alloc_from_group (struct sc_vi **vi_out, const struct sc_attr *attr, struct sc_thread *thread, struct sc_vi_group *vi_group) |
| Allocate a VI instance from a VI group. More... | |
| int | sc_vi_group_add_stream (struct sc_vi_group *vi_group, struct sc_stream *stream) |
| Direct a packet stream to a group of VIs. More... | |
sc_vi: Supports receiving packets from the network.
1.8.6