SolarCapture C Bindings User Guide  SF-115721-CD
Draft 2A
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
sc_tuntap Node Reference

Pass packets between SolarCapture and the kernel stack via a tun/tap interface.

Detailed Description

Packets sent to this node are forwarded to the kernel stack via the tun/tap interface. Packets sent to the tun/tap interface by the kernel stack are delivered through the node's output link.

You can also create an sc_tuntap node indirectly by creating an sc_vi_node with an interface name such as "tap:tap0".

Arguments

Argument Optional? Default Type Description
interface No SC_PARAM_STR Name for the tun/tap interface.
up Yes 1 SC_PARAM_INT Whether or not to bring the interface up.