PcapPlusPlus  24.09
TcpLayer.h File Reference
#include "DeprecationUtils.h"
#include "Layer.h"
#include "TLVData.h"
#include <string.h>

Go to the source code of this file.

Classes

struct  pcpp::tcphdr
 
class  pcpp::TcpOption
 
class  pcpp::TcpOptionBuilder
 
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::TcpOptionType : uint8_t {
  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 ,
  pcpp::TCPOPT_Unknown = 255
}
 
enum class  pcpp::TcpOptionEnumType : uint8_t {
  pcpp::Nop = 1 , pcpp::Eol = 0 , pcpp::Mss = 2 , pcpp::Window = 3 ,
  pcpp::SackPerm = 4 , pcpp::Sack = 5 , pcpp::Echo = 6 , pcpp::EchoReply = 7 ,
  pcpp::Timestamp = 8 , pcpp::Cc = 11 , pcpp::CcNew = 12 , pcpp::CcEcho = 13 ,
  pcpp::Md5 = 19 , pcpp::MpTcp = 0x1e , pcpp::Scps = 20 , pcpp::Snack = 21 ,
  pcpp::RecBound = 22 , pcpp::CorrExp = 23 , pcpp::Qs = 27 , pcpp::UserTo = 28 ,
  pcpp::ExpFd = 0xfd , pcpp::ExpFe = 0xfe , pcpp::RvbdProbe = 76 , pcpp::RvbdTrpy = 78 ,
  pcpp::Unknown = 255
}
 

Macro Definition Documentation

◆ PCPP_TCPOLEN_CC

#define PCPP_TCPOLEN_CC   6

◆ PCPP_TCPOLEN_CCECHO

#define PCPP_TCPOLEN_CCECHO   6

◆ PCPP_TCPOLEN_CCNEW

#define PCPP_TCPOLEN_CCNEW   6

◆ PCPP_TCPOLEN_CORREXP

#define PCPP_TCPOLEN_CORREXP   2

◆ PCPP_TCPOLEN_ECHO

#define PCPP_TCPOLEN_ECHO   6

◆ PCPP_TCPOLEN_ECHOREPLY

#define PCPP_TCPOLEN_ECHOREPLY   6

◆ PCPP_TCPOLEN_EOL

#define PCPP_TCPOLEN_EOL   1

◆ PCPP_TCPOLEN_EXP_MIN

#define PCPP_TCPOLEN_EXP_MIN   2

◆ PCPP_TCPOLEN_MD5

#define PCPP_TCPOLEN_MD5   18

◆ PCPP_TCPOLEN_MPTCP_MIN

#define PCPP_TCPOLEN_MPTCP_MIN   8

◆ PCPP_TCPOLEN_MSS

#define PCPP_TCPOLEN_MSS   4

◆ PCPP_TCPOLEN_NOP

#define PCPP_TCPOLEN_NOP   1

◆ PCPP_TCPOLEN_QS

#define PCPP_TCPOLEN_QS   8

◆ PCPP_TCPOLEN_RECBOUND

#define PCPP_TCPOLEN_RECBOUND   2

◆ PCPP_TCPOLEN_RVBD_PROBE_MIN

#define PCPP_TCPOLEN_RVBD_PROBE_MIN   3

◆ PCPP_TCPOLEN_RVBD_TRPY_MIN

#define PCPP_TCPOLEN_RVBD_TRPY_MIN   16

◆ PCPP_TCPOLEN_SACK_MIN

#define PCPP_TCPOLEN_SACK_MIN   2

◆ PCPP_TCPOLEN_SACK_PERM

#define PCPP_TCPOLEN_SACK_PERM   2

◆ PCPP_TCPOLEN_SCPS

#define PCPP_TCPOLEN_SCPS   4

◆ PCPP_TCPOLEN_SNACK

#define PCPP_TCPOLEN_SNACK   6

◆ PCPP_TCPOLEN_TIMESTAMP

#define PCPP_TCPOLEN_TIMESTAMP   10

◆ PCPP_TCPOLEN_USER_TO

#define PCPP_TCPOLEN_USER_TO   4

◆ PCPP_TCPOLEN_WINDOW

#define PCPP_TCPOLEN_WINDOW   3