tcpflow  1.6.1
About: tcpflow is a TCP/IP packet demultiplexer that captures data transmitted as part of TCP connections (flows), and stores the data in a way that is convenient for protocol analysis and debugging.
  Fossies Dox: tcpflow-1.6.1.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

pos0_t Class Reference

#include <sbuf.h>

Collaboration diagram for pos0_t:
[legend]

Public Member Functions

 pos0_t ()
 
 pos0_t (std::string s)
 
 pos0_t (std::string s, uint64_t o)
 
 pos0_t (const pos0_t &obj)
 
std::string str () const
 
bool isRecursive () const
 
std::string firstPart () const
 
std::string lastAddedPart () const
 
std::string alphaPart () const
 
uint64_t imageOffset () const
 
pos0_t shift (int64_t s) const
 

Public Attributes

const std::string path
 
const uint64_t offset
 

Detailed Description

The pos0_t structure is used to record the forensic path of the first byte of an sbuf. The forensic path can include strings associated with decompressors and ordinals associated with offsets.

e.g., 1000-GZIP-300-BASE64-30 means go 1000 bytes into the stream, unzip, go 300 bytes into the decompressed stream, un-BASE64, and go 30 bytes into that.

pos0_t uses a string to hold the base path and the offset into that path in a 64-bit number.

Definition at line 70 of file sbuf.h.


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