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

Class generated from inet/networklayer/icmpv6/ICMPv6Message.msg:140 by nedtool. More...

#include <ICMPv6Message_m.h>

Inheritance diagram for inet::ICMPv6EchoRequestMsg:
inet::ICMPv6Message

Public Member Functions

 ICMPv6EchoRequestMsg (const char *name=nullptr, short kind=0)
 
 ICMPv6EchoRequestMsg (const ICMPv6EchoRequestMsg &other)
 
virtual ~ICMPv6EchoRequestMsg ()
 
ICMPv6EchoRequestMsgoperator= (const ICMPv6EchoRequestMsg &other)
 
virtual ICMPv6EchoRequestMsgdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual int getCode () const
 
virtual void setCode (int code)
 
virtual int getIdentifier () const
 
virtual void setIdentifier (int identifier)
 
virtual int getSeqNumber () const
 
virtual void setSeqNumber (int seqNumber)
 
- Public Member Functions inherited from inet::ICMPv6Message
 ICMPv6Message (const char *name=nullptr, short kind=0)
 
 ICMPv6Message (const ICMPv6Message &other)
 
virtual ~ICMPv6Message ()
 
ICMPv6Messageoperator= (const ICMPv6Message &other)
 
virtual int getType () const
 
virtual void setType (int type)
 

Protected Member Functions

bool operator== (const ICMPv6EchoRequestMsg &)
 
- Protected Member Functions inherited from inet::ICMPv6Message
bool operator== (const ICMPv6Message &)
 

Protected Attributes

int code
 
int identifier
 
int seqNumber
 
- Protected Attributes inherited from inet::ICMPv6Message
int type
 

Private Member Functions

void copy (const ICMPv6EchoRequestMsg &other)
 

Detailed Description

Class generated from inet/networklayer/icmpv6/ICMPv6Message.msg:140 by nedtool.

//
// ICMPv6 Echo Request packet (RFC2463: Section 4).
// Data is attached through encapsulation (see ICMPv6.cc)
//
packet ICMPv6EchoRequestMsg extends ICMPv6Message
{
    int code; //set to 0.
    int identifier; // identifier to aid in matching Echo replies. May be Zero
    int seqNumber; // sequence number to aid in matching Echo replies. May be Zero
        //Data is attached through encapsulation. See ICMPv6.cc
}

Constructor & Destructor Documentation

inet::ICMPv6EchoRequestMsg::ICMPv6EchoRequestMsg ( const char *  name = nullptr,
short  kind = 0 
)
inet::ICMPv6EchoRequestMsg::ICMPv6EchoRequestMsg ( const ICMPv6EchoRequestMsg other)
virtual inet::ICMPv6EchoRequestMsg::~ICMPv6EchoRequestMsg ( )
virtual

Member Function Documentation

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

Reimplemented from inet::ICMPv6Message.

396 {return new ICMPv6EchoRequestMsg(*this);}
ICMPv6EchoRequestMsg(const char *name=nullptr, short kind=0)
virtual int inet::ICMPv6EchoRequestMsg::getCode ( ) const
virtual
virtual int inet::ICMPv6EchoRequestMsg::getIdentifier ( ) const
virtual
virtual int inet::ICMPv6EchoRequestMsg::getSeqNumber ( ) const
virtual
ICMPv6EchoRequestMsg& inet::ICMPv6EchoRequestMsg::operator= ( const ICMPv6EchoRequestMsg other)
bool inet::ICMPv6EchoRequestMsg::operator== ( const ICMPv6EchoRequestMsg )
protected
virtual void inet::ICMPv6EchoRequestMsg::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::ICMPv6Message.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::ICMPv6Message.

Referenced by inet::doParsimUnpacking().

virtual void inet::ICMPv6EchoRequestMsg::setCode ( int  code)
virtual
virtual void inet::ICMPv6EchoRequestMsg::setIdentifier ( int  identifier)
virtual
virtual void inet::ICMPv6EchoRequestMsg::setSeqNumber ( int  seqNumber)
virtual

Member Data Documentation

int inet::ICMPv6EchoRequestMsg::code
protected
int inet::ICMPv6EchoRequestMsg::identifier
protected
int inet::ICMPv6EchoRequestMsg::seqNumber
protected

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