![]() |
SolarCapture C Bindings User Guide
SF-115721-CD
Draft 2A
|
A packet predicate object. More...
#include <predicate.h>
Data Fields | |
sc_pkt_predicate_test_fn * | pred_test_fn |
void * | pred_private |
A packet predicate object.
This can be used with an sc_filter node to match packets for filtering.
void* pred_private |
Field to hold state for the predicate function
sc_pkt_predicate_test_fn* pred_test_fn |
The predicate test function. It should return 1 (true) or 0 (false)