Segmentation and Reassembly Package

Function List

The Segmentation and Reassembly package contains the following KPs.

  • op_sar_bitrange_create() Creates a bit-range that defines a series of contiguous bits belonging to a single packet.
  • op_sar_bitrange_destroy() Deallocates memory associated with a bit-range.
  • op_sar_bitrange_info_get() Obtains information about a bit-range, placing the number of the starting bit, the number of bits, the size of the original packet, or the packet’s label into a variable.
  • op_sar_bitrange_print() Sends the contents of a bit-range to the standard output device in human readable form.
  • op_sar_buf_create() Creates a Sar buffer of the specified type, with the specified options.
  • op_sar_buf_destroy() Deallocates the specified buffer, releasing associated memory resources for other purposes.
  • op_sar_buf_options_set() Assigns the specified options to the specified buffer.
  • op_sar_buf_print() Prints information about the specified buffer onto the standard output device.
  • op_sar_buf_size() Obtains the number of bits stored in the specified buffer.
  • op_sar_pk_is_segment() Determines if the specified packet is a Sar segment.
  • op_sar_rsgbuf_bits_flush_abs() Flushes the specified absolute bit-range from the specified resegmentation buffer.
  • op_sar_rsgbuf_lbl_pk_range_get() Obtains bit-range parameters for a source packet, specified by its label, within the specified resegmentation buffer.
  • op_sar_rsgbuf_lbl_seg_range_get() Obtains bit-range parameters for a segment, specified by its label, within the specified resegmentation buffer.
  • op_sar_rsgbuf_seg_insert() Inserts the specified segment at the tail of the specified resegmentation buffer. The user-defined label and absolute index arguments respectively “tag” the segment’s bit-range for later reference.
  • op_sar_rsmbuf_pk_count() Obtains the number of complete source packets within the specified reassembly buffer.
  • op_sar_rsmbuf_pk_flush() Flushes all incomplete source packets from the specified reassembly buffer that have been in the buffer longer than the specified time limit.
  • op_sar_rsmbuf_pk_remove() Removes a complete source packet from the specified reassembly buffer. A pointer to the removed packet is returned.
  • op_sar_rsmbuf_seg_insert() Inserts the specified segment into the specified reassembly buffer.
  • op_sar_seg_bitrange_list_get() Returns a list of bit-ranges present in a specified segment.
  • op_sar_seg_create_vvec() Creates a new segment whose content is a value vector.
  • op_sar_seg_parent_packets_access() Returns a list of the parent packets of a Sar segment.
  • op_sar_segbuf_pk_insert() Inserts the specified source packet at the tail of the specified segmentation buffer. The user-defined label argument “tags” the packet for later references.
  • op_sar_srcbuf_bits_flush() Flushes the specified range of bits from the specified source buffer (either a segmentation or resegmentation buffer).
  • op_sar_srcbuf_seg_access() Copies a segment of the specified length from the head of the specified source buffer (either a segmentation or resegmentation buffer). A pointer to the segment is returned.
  • op_sar_srcbuf_seg_remove() Removes a segment of the specified length from the head of the specified source buffer (either a segmentation or resegmentation buffer). A pointer to the removed segment is returned.

See Package Overview for a general description of this package.