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

Class generated from inet/networklayer/icmpv6/IPv6NDMessage.msg:103 by nedtool. More...

#include <IPv6NDMessage_m.h>

Inheritance diagram for inet::IPv6RouterSolicitation:
inet::IPv6NDMessage inet::ICMPv6Message

Public Member Functions

 IPv6RouterSolicitation (const char *name=nullptr, short kind=0)
 
 IPv6RouterSolicitation (const IPv6RouterSolicitation &other)
 
virtual ~IPv6RouterSolicitation ()
 
IPv6RouterSolicitationoperator= (const IPv6RouterSolicitation &other)
 
virtual IPv6RouterSolicitationdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual MACAddressgetSourceLinkLayerAddress ()
 
virtual const MACAddressgetSourceLinkLayerAddress () const
 
virtual void setSourceLinkLayerAddress (const MACAddress &sourceLinkLayerAddress)
 
- Public Member Functions inherited from inet::IPv6NDMessage
 IPv6NDMessage (const char *name=nullptr, short kind=0)
 
 IPv6NDMessage (const IPv6NDMessage &other)
 
virtual ~IPv6NDMessage ()
 
IPv6NDMessageoperator= (const IPv6NDMessage &other)
 
virtual int getCode () const
 
virtual void setCode (int code)
 
- 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 IPv6RouterSolicitation &)
 
- Protected Member Functions inherited from inet::IPv6NDMessage
bool operator== (const IPv6NDMessage &)
 
- Protected Member Functions inherited from inet::ICMPv6Message
bool operator== (const ICMPv6Message &)
 

Protected Attributes

MACAddress sourceLinkLayerAddress
 
- Protected Attributes inherited from inet::IPv6NDMessage
int code
 
- Protected Attributes inherited from inet::ICMPv6Message
int type
 

Private Member Functions

void copy (const IPv6RouterSolicitation &other)
 

Detailed Description

Class generated from inet/networklayer/icmpv6/IPv6NDMessage.msg:103 by nedtool.

//
// Router Solicitation Message Format
// RFC 4861 Section 4.1
//
packet IPv6RouterSolicitation extends IPv6NDMessage
{
    // The link-layer address of the sender, if known.
    // MUST NOT be included if the Source Address is the unspecified address.
    // Otherwise, it SHOULD be included on link layers that have addresses.
    MACAddress sourceLinkLayerAddress;
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::IPv6NDMessage.

316 {return new IPv6RouterSolicitation(*this);}
IPv6RouterSolicitation(const char *name=nullptr, short kind=0)
virtual MACAddress& inet::IPv6RouterSolicitation::getSourceLinkLayerAddress ( )
virtual
virtual const MACAddress& inet::IPv6RouterSolicitation::getSourceLinkLayerAddress ( ) const
inlinevirtual

Referenced by getSourceLinkLayerAddress().

322 {return const_cast<IPv6RouterSolicitation*>(this)->getSourceLinkLayerAddress();}
IPv6RouterSolicitation(const char *name=nullptr, short kind=0)
virtual MACAddress & getSourceLinkLayerAddress()
IPv6RouterSolicitation& inet::IPv6RouterSolicitation::operator= ( const IPv6RouterSolicitation other)
bool inet::IPv6RouterSolicitation::operator== ( const IPv6RouterSolicitation )
protected
virtual void inet::IPv6RouterSolicitation::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::IPv6NDMessage.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::IPv6NDMessage.

Referenced by inet::doParsimUnpacking().

virtual void inet::IPv6RouterSolicitation::setSourceLinkLayerAddress ( const MACAddress sourceLinkLayerAddress)
virtual

Member Data Documentation

MACAddress inet::IPv6RouterSolicitation::sourceLinkLayerAddress
protected

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