INET Framework for OMNeT++/OMNEST
PacketDrillTcpOption Class Reference

#include <PacketDrillUtils.h>

Inheritance diagram for PacketDrillTcpOption:

Public Member Functions

 PacketDrillTcpOption (uint16 kind_, uint16 length_)
 
uint16 getKind ()
 
uint16 getLength ()
 
void setLength (uint16 len)
 
uint16 getMss ()
 
void setMss (uint16 mss_)
 
uint16 getWindowScale ()
 
void setWindowScale (uint16 ws_)
 
uint32 getVal ()
 
void setVal (uint32 val_)
 
uint32 getEcr ()
 
void setEcr (uint32 ecr_)
 
cQueue * getBlockList ()
 
void setBlockList (cQueue *bList)
 
uint16 getBlockCount ()
 
void increaseBlockCount ()
 

Private Attributes

uint16 kind
 
uint16 length
 
uint16 mss
 
struct {
   uint32   val
 
   uint32   ecr
 
timeStamp
 
cQueue * blockList
 
uint8 windowScale
 
uint16 blockCount
 

Constructor & Destructor Documentation

PacketDrillTcpOption::PacketDrillTcpOption ( uint16  kind_,
uint16  length_ 
)
392 {
393  kind = kind_;
394  length = length_;
395  mss = 0;
396  timeStamp.val = 0;
397  timeStamp.ecr = 0;
398  blockList = nullptr;
399  windowScale = 0;
400  blockCount = 0;
401 }
cQueue * blockList
Definition: PacketDrillUtils.h:695
uint16 blockCount
Definition: PacketDrillUtils.h:697
uint16 mss
Definition: PacketDrillUtils.h:689
uint8 windowScale
Definition: PacketDrillUtils.h:696
uint16 kind
Definition: PacketDrillUtils.h:687
uint16 length
Definition: PacketDrillUtils.h:688
struct PacketDrillTcpOption::@2 timeStamp

Member Function Documentation

uint16 PacketDrillTcpOption::getBlockCount ( )
inline
713 { return blockCount; };
uint16 blockCount
Definition: PacketDrillUtils.h:697
cQueue* PacketDrillTcpOption::getBlockList ( )
inline

Referenced by setOptionValues().

711 { return blockList; };
cQueue * blockList
Definition: PacketDrillUtils.h:695
uint32 PacketDrillTcpOption::getEcr ( )
inline

Referenced by setOptionValues().

709 { return timeStamp.ecr; };
struct PacketDrillTcpOption::@2 timeStamp
uint16 PacketDrillTcpOption::getKind ( )
inline

Referenced by setOptionValues().

700 { return kind; };
uint16 kind
Definition: PacketDrillUtils.h:687
uint16 PacketDrillTcpOption::getLength ( )
inline

Referenced by PacketDrill::buildTCPPacket(), and setOptionValues().

701 { return length; };
uint16 length
Definition: PacketDrillUtils.h:688
uint16 PacketDrillTcpOption::getMss ( )
inline

Referenced by setOptionValues().

703 { return mss; };
uint16 mss
Definition: PacketDrillUtils.h:689
uint32 PacketDrillTcpOption::getVal ( )
inline

Referenced by setOptionValues().

707 { return timeStamp.val; };
struct PacketDrillTcpOption::@2 timeStamp
uint16 PacketDrillTcpOption::getWindowScale ( )
inline

Referenced by setOptionValues().

705 { return windowScale; };
uint8 windowScale
Definition: PacketDrillUtils.h:696
void PacketDrillTcpOption::increaseBlockCount ( )
inline
714 { blockCount++; };
uint16 blockCount
Definition: PacketDrillUtils.h:697
void PacketDrillTcpOption::setBlockList ( cQueue *  bList)
inline
712 { blockList = bList; };
cQueue * blockList
Definition: PacketDrillUtils.h:695
void PacketDrillTcpOption::setEcr ( uint32  ecr_)
inline
710 { timeStamp.ecr = ecr_; };
struct PacketDrillTcpOption::@2 timeStamp
void PacketDrillTcpOption::setLength ( uint16  len)
inline
702 {length = len;};
uint16_t len
Definition: TCP_NSC.cc:85
uint16 length
Definition: PacketDrillUtils.h:688
void PacketDrillTcpOption::setMss ( uint16  mss_)
inline
704 { mss = mss_; };
uint16 mss
Definition: PacketDrillUtils.h:689
void PacketDrillTcpOption::setVal ( uint32  val_)
inline
708 { timeStamp.val = val_; };
struct PacketDrillTcpOption::@2 timeStamp
void PacketDrillTcpOption::setWindowScale ( uint16  ws_)
inline
706 { windowScale = ws_; };
uint8 windowScale
Definition: PacketDrillUtils.h:696

Member Data Documentation

uint16 PacketDrillTcpOption::blockCount
private
cQueue* PacketDrillTcpOption::blockList
private
uint32 PacketDrillTcpOption::ecr
uint16 PacketDrillTcpOption::kind
private
uint16 PacketDrillTcpOption::length
private
uint16 PacketDrillTcpOption::mss
private
struct { ... } PacketDrillTcpOption::timeStamp
uint32 PacketDrillTcpOption::val
uint8 PacketDrillTcpOption::windowScale
private

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