INET Framework for OMNeT++/OMNEST
inet::tcp::TCPOption Class Reference

Class generated from inet/transportlayer/tcp_common/TCPSegment.msg:129 by nedtool. More...

#include <TCPSegment_m.h>

Inheritance diagram for inet::tcp::TCPOption:
inet::tcp::TCPOptionEnd inet::tcp::TCPOptionMaxSegmentSize inet::tcp::TCPOptionNop inet::tcp::TCPOptionSack inet::tcp::TCPOptionSackPermitted inet::tcp::TCPOptionTimestamp inet::tcp::TCPOptionUnknown inet::tcp::TCPOptionWindowScale

Public Member Functions

 TCPOption ()
 
 TCPOption (const TCPOption &other)
 
virtual ~TCPOption ()
 
TCPOptionoperator= (const TCPOption &other)
 
virtual TCPOptiondup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual unsigned short getKind () const
 
virtual void setKind (unsigned short kind)
 
virtual unsigned short getLength () const
 
virtual void setLength (unsigned short length)
 

Protected Member Functions

bool operator== (const TCPOption &)
 

Protected Attributes

unsigned short kind
 
unsigned short length
 

Private Member Functions

void copy (const TCPOption &other)
 

Detailed Description

Class generated from inet/transportlayer/tcp_common/TCPSegment.msg:129 by nedtool.

class TCPOption
{
    unsigned short kind @enum(TCPOptionNumbers) = -1;  // option kind
    unsigned short length = 1;                    // option length
}

Constructor & Destructor Documentation

inet::tcp::TCPOption::TCPOption ( )
inet::tcp::TCPOption::TCPOption ( const TCPOption other)
virtual inet::tcp::TCPOption::~TCPOption ( )
virtual

Member Function Documentation

void inet::tcp::TCPOption::copy ( const TCPOption other)
private
TCPOption& inet::tcp::TCPOption::operator= ( const TCPOption other)
bool inet::tcp::TCPOption::operator== ( const TCPOption )
protected
virtual void inet::tcp::TCPOption::setKind ( unsigned short  kind)
virtual
virtual void inet::tcp::TCPOption::setLength ( unsigned short  length)
virtual

Member Data Documentation

unsigned short inet::tcp::TCPOption::kind
protected
unsigned short inet::tcp::TCPOption::length
protected

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