PcapPlusPlus
TcpLayer.h File Reference
#include <Layer.h>
#include <string.h>

Go to the source code of this file.

Classes

struct  pcpp::tcphdr
 
struct  pcpp::TcpOptionData
 
class  pcpp::TcpLayer
 

Namespaces

 pcpp
 The main namespace for the PcapPlusPlus lib.
 

Macros

#define PCPP_TCPOLEN_NOP   1
 
#define PCPP_TCPOLEN_EOL   1
 
#define PCPP_TCPOLEN_MSS   4
 
#define PCPP_TCPOLEN_WINDOW   3
 
#define PCPP_TCPOLEN_SACK_PERM   2
 
#define PCPP_TCPOLEN_SACK_MIN   2
 
#define PCPP_TCPOLEN_ECHO   6
 
#define PCPP_TCPOLEN_ECHOREPLY   6
 
#define PCPP_TCPOLEN_TIMESTAMP   10
 
#define PCPP_TCPOLEN_CC   6
 
#define PCPP_TCPOLEN_CCNEW   6
 
#define PCPP_TCPOLEN_CCECHO   6
 
#define PCPP_TCPOLEN_MD5   18
 
#define PCPP_TCPOLEN_MPTCP_MIN   8
 
#define PCPP_TCPOLEN_SCPS   4
 
#define PCPP_TCPOLEN_SNACK   6
 
#define PCPP_TCPOLEN_RECBOUND   2
 
#define PCPP_TCPOLEN_CORREXP   2
 
#define PCPP_TCPOLEN_QS   8
 
#define PCPP_TCPOLEN_USER_TO   4
 
#define PCPP_TCPOLEN_RVBD_PROBE_MIN   3
 
#define PCPP_TCPOLEN_RVBD_TRPY_MIN   16
 
#define PCPP_TCPOLEN_EXP_MIN   2
 

Enumerations

enum  pcpp::TcpOption {
  pcpp::PCPP_TCPOPT_NOP = 1, pcpp::PCPP_TCPOPT_EOL = 0, pcpp::TCPOPT_MSS = 2, pcpp::PCPP_TCPOPT_WINDOW = 3,
  pcpp::TCPOPT_SACK_PERM = 4, pcpp::PCPP_TCPOPT_SACK = 5, pcpp::TCPOPT_ECHO = 6, pcpp::TCPOPT_ECHOREPLY = 7,
  pcpp::PCPP_TCPOPT_TIMESTAMP = 8, pcpp::TCPOPT_CC = 11, pcpp::TCPOPT_CCNEW = 12, pcpp::TCPOPT_CCECHO = 13,
  pcpp::TCPOPT_MD5 = 19, pcpp::TCPOPT_MPTCP = 0x1e, pcpp::TCPOPT_SCPS = 20, pcpp::TCPOPT_SNACK = 21,
  pcpp::TCPOPT_RECBOUND = 22, pcpp::TCPOPT_CORREXP = 23, pcpp::TCPOPT_QS = 27, pcpp::TCPOPT_USER_TO = 28,
  pcpp::TCPOPT_EXP_FD = 0xfd, pcpp::TCPOPT_EXP_FE = 0xfe, pcpp::TCPOPT_RVBD_PROBE = 76, pcpp::TCPOPT_RVBD_TRPY = 78
}
 

Macro Definition Documentation

#define PCPP_TCPOLEN_CC   6
#define PCPP_TCPOLEN_CCECHO   6
#define PCPP_TCPOLEN_CCNEW   6
#define PCPP_TCPOLEN_CORREXP   2
#define PCPP_TCPOLEN_ECHO   6
#define PCPP_TCPOLEN_ECHOREPLY   6
#define PCPP_TCPOLEN_EOL   1
#define PCPP_TCPOLEN_EXP_MIN   2
#define PCPP_TCPOLEN_MD5   18
#define PCPP_TCPOLEN_MPTCP_MIN   8
#define PCPP_TCPOLEN_MSS   4
#define PCPP_TCPOLEN_NOP   1
#define PCPP_TCPOLEN_QS   8
#define PCPP_TCPOLEN_RECBOUND   2
#define PCPP_TCPOLEN_RVBD_PROBE_MIN   3
#define PCPP_TCPOLEN_RVBD_TRPY_MIN   16
#define PCPP_TCPOLEN_SACK_MIN   2
#define PCPP_TCPOLEN_SACK_PERM   2
#define PCPP_TCPOLEN_SCPS   4
#define PCPP_TCPOLEN_SNACK   6
#define PCPP_TCPOLEN_TIMESTAMP   10
#define PCPP_TCPOLEN_USER_TO   4
#define PCPP_TCPOLEN_WINDOW   3