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

Class generated from inet/networklayer/icmpv6/Ipv6NdMessage.msg:46 by opp_msgtool. More...

#include <Ipv6NdMessage_m.h>

Inheritance diagram for inet::Ipv6NdSourceTargetLinkLayerAddress:
inet::Ipv6NdOption inet::Ipv6NdSourceLinkLayerAddress inet::Ipv6NdTargetLinkLayerAddress

Public Member Functions

 Ipv6NdSourceTargetLinkLayerAddress ()
 
 Ipv6NdSourceTargetLinkLayerAddress (const Ipv6NdSourceTargetLinkLayerAddress &other)
 
virtual ~Ipv6NdSourceTargetLinkLayerAddress ()
 
Ipv6NdSourceTargetLinkLayerAddressoperator= (const Ipv6NdSourceTargetLinkLayerAddress &other)
 
virtual Ipv6NdSourceTargetLinkLayerAddressdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual const MacAddressgetLinkLayerAddress () const
 
virtual MacAddressgetLinkLayerAddressForUpdate ()
 
virtual void setLinkLayerAddress (const MacAddress &linkLayerAddress)
 
- Public Member Functions inherited from inet::Ipv6NdOption
 Ipv6NdOption ()
 
 Ipv6NdOption (const Ipv6NdOption &other)
 
virtual ~Ipv6NdOption ()
 
Ipv6NdOptionoperator= (const Ipv6NdOption &other)
 
virtual Ipv6NdOptionTypes getType () const
 
virtual void setType (Ipv6NdOptionTypes type)
 
virtual short getOptionLength () const
 
virtual void setOptionLength (short optionLength)
 
virtual void setPaddingBytesArraySize (size_t size)
 
virtual size_t getPaddingBytesArraySize () const
 
virtual char getPaddingBytes (size_t k) const
 
virtual void setPaddingBytes (size_t k, char paddingBytes)
 
virtual void insertPaddingBytes (size_t k, char paddingBytes)
 
void insertPaddingBytes (char paddingBytes)
 
virtual void appendPaddingBytes (char paddingBytes)
 
virtual void erasePaddingBytes (size_t k)
 

Protected Member Functions

bool operator== (const Ipv6NdSourceTargetLinkLayerAddress &)=delete
 
- Protected Member Functions inherited from inet::Ipv6NdOption
bool operator== (const Ipv6NdOption &)=delete
 

Protected Attributes

MacAddress linkLayerAddress
 
- Protected Attributes inherited from inet::Ipv6NdOption
Ipv6NdOptionTypes type = static_cast<Ipv6NdOptionTypes>(0)
 
short optionLength = 0
 
char * paddingBytes = nullptr
 
size_t paddingBytes_arraysize = 0
 

Private Member Functions

void copy (const Ipv6NdSourceTargetLinkLayerAddress &other)
 

Detailed Description

Class generated from inet/networklayer/icmpv6/Ipv6NdMessage.msg:46 by opp_msgtool.

class Ipv6NdSourceTargetLinkLayerAddress extends Ipv6NdOption
{
    optionLength = 1;    // 8 byte ( when using MacAddress)
    MacAddress linkLayerAddress;
}

Constructor & Destructor Documentation

◆ Ipv6NdSourceTargetLinkLayerAddress() [1/2]

inet::Ipv6NdSourceTargetLinkLayerAddress::Ipv6NdSourceTargetLinkLayerAddress ( )

◆ Ipv6NdSourceTargetLinkLayerAddress() [2/2]

inet::Ipv6NdSourceTargetLinkLayerAddress::Ipv6NdSourceTargetLinkLayerAddress ( const Ipv6NdSourceTargetLinkLayerAddress other)

◆ ~Ipv6NdSourceTargetLinkLayerAddress()

virtual inet::Ipv6NdSourceTargetLinkLayerAddress::~Ipv6NdSourceTargetLinkLayerAddress ( )
virtual

Member Function Documentation

◆ copy()

void inet::Ipv6NdSourceTargetLinkLayerAddress::copy ( const Ipv6NdSourceTargetLinkLayerAddress other)
private

◆ dup()

virtual Ipv6NdSourceTargetLinkLayerAddress* inet::Ipv6NdSourceTargetLinkLayerAddress::dup ( ) const
inlineoverridevirtual

◆ getLinkLayerAddress()

virtual const MacAddress& inet::Ipv6NdSourceTargetLinkLayerAddress::getLinkLayerAddress ( ) const
virtual

◆ getLinkLayerAddressForUpdate()

virtual MacAddress& inet::Ipv6NdSourceTargetLinkLayerAddress::getLinkLayerAddressForUpdate ( )
inlinevirtual
186 { return const_cast<MacAddress&>(const_cast<Ipv6NdSourceTargetLinkLayerAddress*>(this)->getLinkLayerAddress());}

◆ operator=()

Ipv6NdSourceTargetLinkLayerAddress& inet::Ipv6NdSourceTargetLinkLayerAddress::operator= ( const Ipv6NdSourceTargetLinkLayerAddress other)

◆ operator==()

bool inet::Ipv6NdSourceTargetLinkLayerAddress::operator== ( const Ipv6NdSourceTargetLinkLayerAddress )
protecteddelete

◆ parsimPack()

virtual void inet::Ipv6NdSourceTargetLinkLayerAddress::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

◆ parsimUnpack()

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

◆ setLinkLayerAddress()

virtual void inet::Ipv6NdSourceTargetLinkLayerAddress::setLinkLayerAddress ( const MacAddress linkLayerAddress)
virtual

Member Data Documentation

◆ linkLayerAddress

MacAddress inet::Ipv6NdSourceTargetLinkLayerAddress::linkLayerAddress
protected

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