SolarCapture C Bindings
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups
Data Structures | Typedefs | Functions
predicate.h File Reference

sc_pkt_predicate: Interface for testing properties of packets. More...

Go to the source code of this file.

Data Structures

struct  sc_pkt_predicate
 A packet predicate object. More...
 

Typedefs

typedef int( sc_pkt_predicate_test_fn )(struct sc_pkt_predicate *, struct sc_packet *)
 

Functions

int sc_pkt_predicate_alloc (struct sc_pkt_predicate **pred_out, int private_bytes)
 Allocate a packet predicate object. More...
 
struct sc_objectsc_pkt_predicate_to_object (struct sc_pkt_predicate *pred)
 Convert a sc_pkt_predicate into a sc_object. More...
 
struct sc_pkt_predicatesc_pkt_predicate_from_object (struct sc_object *obj)
 Convert a sc_object into a sc_pkt_predicate. More...
 

Detailed Description

sc_pkt_predicate: Interface for testing properties of packets.