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

This section describes the built-in nodes included in SolarCapture.

Node Description
sc_append_to_list Append incoming packets to an sc_packet_list.
sc_arista_ts Replace packet buffer timestamp with timestamp from Arista 7150 switch.
sc_batch_limiter Node to limit the batch size sent to downstream nodes.
sc_cpacket_encap This node adds cPacket timestamps to packets.
sc_cpacket_ts Node to replace card arrival timestamp with CPacket footer timestamp.
sc_delay_line Node to delay upstream packets by a random time within a given time range.
sc_exit Node that causes the process to exit when a condition is met.
sc_fd_reader Reads data from a file or file descriptor.
sc_fd_writer Write data to a file descriptor.
sc_filter Node to filter packets, directing all matched packets to one output, and all other packets to another output.
sc_flow_balancer This node distributes load by spreading packets over its output links while preserving flow affinity.
sc_injector Packets sent to an injector node are transmitted on the network.
sc_line_reader This node parses out lines from a data stream.
sc_merge_sorter Merges inputs to output, sorting in timestamp order.
sc_no_op Forward inputs to output.
sc_pacer Emits packets at the time indicated by their associated timestamp.
sc_pass_n A node which forwards a fixed number of packets.
sc_pcap_packer A node that packs incoming packets into buffers that are ready to be written to a pcap file.
sc_pool_forwarder Node that forwards packets from a packet pool.
sc_ps_packer Takes individual packets as input and packs them into packed-stream format.
sc_ps_unpacker Takes packed-stream buffers as input and unpacks them.
sc_range_filter Node that forwards one or more ranges of packets.
sc_rate_monitor Node that measures and exports packet rate and bandwidth to solar_capture_monitor.
sc_reader Converts PCAP file format to SolarCapture packets on output.
sc_repeater Replay packets in a loop.
sc_rr_gather This node receives packets from multiple inputs, and forwards one packet from each input in turn in round-robin order.
sc_rr_spreader This node spreads received packets over its set of outgoing links in round-robin order.
sc_rt_pacer Emits packets at a variable rate determined by a control input.
sc_shm_broadcast Export packets or messages to a shared memory channel with multiple consumers.
sc_shm_export Export packets or messages to a shared memory channel.
sc_shm_import Import packets or messages from a shared memory channel.
sc_sim_work Simulate doing CPU intensive work on each packet.
sc_snap Node that limits the length of a packet buffer.
sc_subnode_helper Node used as a sub-node to manage inputs and/or pools.
sc_tap Forward input to output, and a copy of input to the 'tap' output with optional filtering.
sc_timestamp_filter Filter packets, accepting only those in a given range of timestamps.
sc_token_bucket_shaper This node performs traffic shaping using the token bucket algorithm.
sc_tracer Write debug trace to standard error.
sc_ts_adjust Adjust packet buffer timestamps.
sc_tunnel A node used to pass sc_packet objects between two SolarCapture sessions via a TCP socket.
sc_tuntap Pass packets between SolarCapture and the kernel stack via a tun/tap interface.
sc_vi_node A node which passes packets to and/or from a network interface.
sc_vss Replace packet buffer timestamp with timestamp generated by VSS packet broker, and demultiplex by VSS port.
sc_writer Node that writes packets to a file in pcap format.