![]() |
SolarCapture C Bindings User Guide
SF-115721-CD
Draft 2A
|
Node that forwards one or more ranges of packets.
Node that forwards one or more ranges of packets.
Incoming packets are assigned an index starting at zero. Packets whose index lies within the ranges indicated by the "range" argument are forwarded to the default output, and other packets are forwarded to the "reject" output or freed.
Argument | Optional? | Default | Type | Description |
---|---|---|---|---|
range | No | SC_PARAM_STR | Comma-separated list of packet ranges or indices. |
Link | Description |
---|---|
"" | Packets indicated by the "range" argument are forwarded here. |
"reject" | Other packets are forwarded here. |
Statistics exposed by the sc_filter, sc_range_filter and sc_timestamp_filter nodes.
Name | Type | Data Type | Description |
---|---|---|---|
pkts_rejected | uint64_t | pkt_count | The number of packets not matched by the filter. |