![]() |
SolarCapture C Bindings User Guide
SF-115721-CD
Draft 2A
|
Forward input to output, and a copy of input to the 'tap' output with optional filtering.
Forward input to output and a copy of input to the 'tap' output. If a BPF or predicate filter is specified, only packets matching the filter are duplicated to the 'tap' output.
The node can be placed in one of two modes:
Note: In reliable mode this node can potentially create a backlog large enough to provoke drops in an upstream node or VI.
Argument | Optional? | Default | Type | Description |
---|---|---|---|---|
snap | Yes | 0 | SC_PARAM_INT | Copy at most n bytes of the duplicated frames, set to 0 to disable. |
reliable | Yes | 0 | SC_PARAM_INT | Set to 1/0 to enable/disable reliable mode. |
bpf | Yes | NULL | SC_PARAM_STR | Filter to select packets to duplicate in BPF format. |
predicate | Yes | NULL | SC_PARAM_OBJ | Predicate object to select packets to duplicate. |
Note: At most one of bpf and predicate may be specified.
None
Link | Description |
---|---|
"" | All packets are sent down this link. |
"tap" | The copy of the input. |