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)  

feature_recorder.cpp File Reference
#include "config.h"
#include "bulk_extractor_i.h"
#include "unicode_escape.h"
#include "histogram.h"
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <iomanip>
Include dependency graph for feature_recorder.cpp:

Go to the source code of this file.

Classes

class  mhistogram_callback
 

Macros

#define MAXPATHLEN   65536
 
#define O_BINARY   0
 

Functions

static bool isodigit (char c)
 
static int hexval (char ch)
 
std::string replace (const std::string &src, char f, char t)
 
std::string valid_dosname (std::string in)
 

Macro Definition Documentation

◆ MAXPATHLEN

#define MAXPATHLEN   65536

Definition at line 17 of file feature_recorder.cpp.

◆ O_BINARY

#define O_BINARY   0

Definition at line 21 of file feature_recorder.cpp.

Function Documentation

◆ hexval()

static int hexval ( char  ch)
inlinestatic

Definition at line 197 of file feature_recorder.cpp.

Referenced by feature_recorder::unquote_string().

◆ isodigit()

static bool isodigit ( char  c)
inlinestatic

Definition at line 187 of file feature_recorder.cpp.

References c.

Referenced by feature_recorder::unquote_string().

◆ replace()

std::string replace ( const std::string &  src,
char  f,
char  t 
)

replace a character in a string with another

Definition at line 759 of file feature_recorder.cpp.

◆ valid_dosname()

std::string valid_dosname ( std::string  in)

CARVING SUPPORT

Carving support. 2014-04-24 - $ is no longer valid either 2013-08-29 - replace invalid characters in filenames 2013-07-30 - automatically bin directories 2013-06-08 - filenames are the forensic path.

Definition at line 780 of file feature_recorder.cpp.

Referenced by feature_recorder::carve().