SolarCapture C Bindings
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups
Data Structures
Here are the data structures with brief descriptions:
oCsc_argRepresentation of an argument. Used by node init functions
oCsc_arg.val
oCsc_arista_ts_nodeThis node is to be used with Arista switches that are able to add hardware timestamps to packets. This is useful when SolarCapture is doing software timestamping, as it provides more precise timestamps
oCsc_attrAttribute object
oCsc_batch_limiterNode to limit the maximum batch size sent to downstream nodes
oCsc_bpf_predicate
oCsc_callbackA callback object
oCsc_delay_lineNode to delay upstream packets by a random time within a given time range. Randomness is achieved by performing a hash on the destination IP address and can be controlled using the num_lines argument
oCsc_dlistDoubly linked list pointers
oCsc_filterNode to direct all matched packets to one output and all other packets to another output. The filter can be provided via a BPF string, or via a sc_pkt_predicate object
oCsc_iovec_ptr
oCsc_nodeDescription of a node
oCsc_node_factoryStruct to hold information about how to create an instance of this node
oCsc_node_linkDescription of a link the node has
oCsc_node_typeDescribes a type of node
oCsc_objectAn opaque object. Use this to pass all types of data that are not ints, doubles or char arrays (see SC_PARAM_INT, SC_PARAM_DBL and SC_PARAM_STR respectively for these) to nodes
oCsc_packetRepresentation of a packet
oCsc_packet_listA list of packets or packet buffers
oCsc_pkt_predicateA packet predicate object
oCsc_readerTakes an input stream of data in PCAP format and outputs individual packets
oCsc_session_errorA SolarCapture session error object returned by sc_session_error_get
oCsc_strip_vlan
oCsc_tapForward 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
\Csc_viA VI object