SolarCapture C Bindings User Guide  SF-115721-CD
Issue 1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
sc_pkt_predicate Struct Reference

A packet predicate object. More...

#include <predicate.h>

Data Fields

sc_pkt_predicate_test_fnpred_test_fn
 
void * pred_private
 

Detailed Description

A packet predicate object.

This can be used with an sc_filter node to match packets for filtering.

Field Documentation

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)


The documentation for this struct was generated from the following file: