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

A node which forwards a fixed number of packets.

Detailed Description

This node forwards the indicated number of packets to its default output link. Any further packets that arrive at this node are either leaked (default) or forwarded to an output named "the_rest" (if it exists).

Arguments

Argument Optional? Default Type Description
n No SC_PARAM_INT Number of packets to forward.

Output Links

Link Description
"" The first n packets are forwarded here.
"the_rest" Subsequent packets are forwarded to this output if it exists.