![]() |
SolarCapture C Bindings User Guide
SF-115721-CD
Issue 3
|
A node which passes packets to and/or from a network interface.
This node passes packets to and/or from a network interface.
Packets arriving at this node are passed to the indicated network interface. Packets received from the network interface are passed to this node's output link.
This node creates an sc_vi_node if an output link is added, and creates an sc_injector if an incoming link is added.
The 'streams' argument is used to indicate which packets from the interface should be captured on the receive path. This is analogous to calling sc_vi_add_stream().
If the interface name looks like "tap:name" then an sc_tuntap node is instantiated.
Argument | Optional? | Default | Type | Description |
---|---|---|---|---|
interface | No | SC_PARAM_STR | Name of the network interface. | |
streams | Yes | "all" | SC_PARAM_STR | ';' separated list of streams to be captured on receive. |