INET Framework for OMNeT++/OMNEST
inet::IPv4OptionUnknown Class Reference

Class generated from inet/networklayer/ipv4/IPv4Datagram.msg:154 by nedtool. More...

#include <IPv4Datagram_m.h>

Inheritance diagram for inet::IPv4OptionUnknown:
inet::IPv4Option inet::TLVOptionBase

Public Member Functions

 IPv4OptionUnknown ()
 
 IPv4OptionUnknown (const IPv4OptionUnknown &other)
 
virtual ~IPv4OptionUnknown ()
 
IPv4OptionUnknownoperator= (const IPv4OptionUnknown &other)
 
virtual IPv4OptionUnknowndup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual void setBytesArraySize (unsigned int size)
 
virtual unsigned int getBytesArraySize () const
 
virtual uint8_t getBytes (unsigned int k) const
 
virtual void setBytes (unsigned int k, uint8_t bytes)
 
- Public Member Functions inherited from inet::IPv4Option
 IPv4Option ()
 
 IPv4Option (const IPv4Option &other)
 
virtual ~IPv4Option ()
 
IPv4Optionoperator= (const IPv4Option &other)
 
- Public Member Functions inherited from inet::TLVOptionBase
 TLVOptionBase ()
 
 TLVOptionBase (const TLVOptionBase &other)
 
virtual ~TLVOptionBase ()
 
TLVOptionBaseoperator= (const TLVOptionBase &other)
 
virtual short getType () const
 
virtual void setType (short type)
 
virtual short getLength () const
 
virtual void setLength (short length)
 

Protected Member Functions

bool operator== (const IPv4OptionUnknown &)
 
- Protected Member Functions inherited from inet::IPv4Option
bool operator== (const IPv4Option &)
 
- Protected Member Functions inherited from inet::TLVOptionBase
bool operator== (const TLVOptionBase &)
 

Protected Attributes

uint8_t * bytes
 
unsigned int bytes_arraysize
 
- Protected Attributes inherited from inet::TLVOptionBase
short type
 
short length
 

Private Member Functions

void copy (const IPv4OptionUnknown &other)
 

Detailed Description

Class generated from inet/networklayer/ipv4/IPv4Datagram.msg:154 by nedtool.

class IPv4OptionUnknown extends IPv4Option
{
    // type = any
    // length = 2 + getBytesArraySize()
    uint8_t bytes[];
}

Constructor & Destructor Documentation

inet::IPv4OptionUnknown::IPv4OptionUnknown ( )
inet::IPv4OptionUnknown::IPv4OptionUnknown ( const IPv4OptionUnknown other)
virtual inet::IPv4OptionUnknown::~IPv4OptionUnknown ( )
virtual

Member Function Documentation

void inet::IPv4OptionUnknown::copy ( const IPv4OptionUnknown other)
private
virtual IPv4OptionUnknown* inet::IPv4OptionUnknown::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::IPv4Option.

440 {return new IPv4OptionUnknown(*this);}
virtual uint8_t inet::IPv4OptionUnknown::getBytes ( unsigned int  k) const
virtual
virtual unsigned int inet::IPv4OptionUnknown::getBytesArraySize ( ) const
virtual
IPv4OptionUnknown& inet::IPv4OptionUnknown::operator= ( const IPv4OptionUnknown other)
bool inet::IPv4OptionUnknown::operator== ( const IPv4OptionUnknown )
protected
virtual void inet::IPv4OptionUnknown::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::IPv4Option.

Referenced by inet::doParsimPacking().

virtual void inet::IPv4OptionUnknown::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual

Reimplemented from inet::IPv4Option.

Referenced by inet::doParsimUnpacking().

virtual void inet::IPv4OptionUnknown::setBytes ( unsigned int  k,
uint8_t  bytes 
)
virtual
virtual void inet::IPv4OptionUnknown::setBytesArraySize ( unsigned int  size)
virtual

Member Data Documentation

uint8_t* inet::IPv4OptionUnknown::bytes
protected
unsigned int inet::IPv4OptionUnknown::bytes_arraysize
protected

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