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)  

tcp_header_t Class Reference

#include <tcpip.h>

Collaboration diagram for tcp_header_t:
[legend]

Public Member Functions

 tcp_header_t (const u_char *data)
 
 tcp_header_t (const tcp_header_t &b)
 
tcp_header_toperator= (const tcp_header_t &that)
 
virtual ~tcp_header_t ()
 
size_t tcp_header_len ()
 
uint16_t sport ()
 
uint16_t dport ()
 
be13::tcp_seq seq ()
 
bool th_fin ()
 
bool th_ack ()
 
bool th_syn ()
 

Public Attributes

struct be13::tcphdrtcp_header
 

Detailed Description

Definition at line 219 of file tcpip.h.

Constructor & Destructor Documentation

◆ tcp_header_t() [1/2]

tcp_header_t::tcp_header_t ( const u_char *  data)
inline

Definition at line 222 of file tcpip.h.

◆ tcp_header_t() [2/2]

tcp_header_t::tcp_header_t ( const tcp_header_t b)
inline

Definition at line 225 of file tcpip.h.

◆ ~tcp_header_t()

virtual tcp_header_t::~tcp_header_t ( )
inlinevirtual

Definition at line 232 of file tcpip.h.

Member Function Documentation

◆ dport()

uint16_t tcp_header_t::dport ( )
inline

Definition at line 236 of file tcpip.h.

References tcp_header, and be13::tcphdr::th_dport.

◆ operator=()

tcp_header_t& tcp_header_t::operator= ( const tcp_header_t that)
inline

Definition at line 227 of file tcpip.h.

References tcp_header.

◆ seq()

be13::tcp_seq tcp_header_t::seq ( )
inline

Definition at line 237 of file tcpip.h.

References tcp_header, and be13::tcphdr::th_seq.

◆ sport()

uint16_t tcp_header_t::sport ( )
inline

Definition at line 235 of file tcpip.h.

References tcp_header, and be13::tcphdr::th_sport.

◆ tcp_header_len()

size_t tcp_header_t::tcp_header_len ( )
inline

Definition at line 234 of file tcpip.h.

References tcp_header, and be13::tcphdr::th_off.

◆ th_ack()

bool tcp_header_t::th_ack ( )
inline

Definition at line 239 of file tcpip.h.

References tcp_header, TH_ACK, and be13::tcphdr::th_flags.

◆ th_fin()

bool tcp_header_t::th_fin ( )
inline

Definition at line 238 of file tcpip.h.

References tcp_header, TH_FIN, and be13::tcphdr::th_flags.

◆ th_syn()

bool tcp_header_t::th_syn ( )
inline

Definition at line 240 of file tcpip.h.

References tcp_header, be13::tcphdr::th_flags, and TH_SYN.

Member Data Documentation

◆ tcp_header

struct be13::tcphdr* tcp_header_t::tcp_header

Definition at line 233 of file tcpip.h.

Referenced by dport(), operator=(), seq(), sport(), tcp_header_len(), th_ack(), th_fin(), and th_syn().


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