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)  

tcpip.cpp File Reference
#include "tcpflow.h"
#include "tcpip.h"
#include "tcpdemux.h"
#include <iostream>
#include <sstream>
#include <vector>
#include <string>
Include dependency graph for tcpip.cpp:

Go to the source code of this file.

Functions

static int shift_file (int fd, size_t inslen)
 
void update_seen (recon_set *seen, uint64_t pos, uint32_t length)
 

Function Documentation

◆ shift_file()

static int shift_file ( int  fd,
size_t  inslen 
)
static

Definition at line 425 of file tcpip.cpp.

References DEBUG, and SEEK_SET.

Referenced by tcpip::store_packet().

◆ update_seen()

void update_seen ( recon_set *  seen,
uint64_t  pos,
uint32_t  length 
)

Definition at line 454 of file tcpip.cpp.

Referenced by tcpip::store_packet().