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

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

#include <ICMPv6Message_m.h>

Inheritance diagram for inet::ICMPv6Message:
inet::ICMPv6DestUnreachableMsg inet::ICMPv6EchoReplyMsg inet::ICMPv6EchoRequestMsg inet::ICMPv6PacketTooBigMsg inet::ICMPv6ParamProblemMsg inet::ICMPv6TimeExceededMsg inet::IPv6NDMessage inet::IPv6NeighbourAdvertisement inet::IPv6NeighbourSolicitation inet::IPv6Redirect inet::IPv6RouterAdvertisement inet::IPv6RouterSolicitation

Public Member Functions

 ICMPv6Message (const char *name=nullptr, short kind=0)
 
 ICMPv6Message (const ICMPv6Message &other)
 
virtual ~ICMPv6Message ()
 
ICMPv6Messageoperator= (const ICMPv6Message &other)
 
virtual ICMPv6Messagedup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual int getType () const
 
virtual void setType (int type)
 

Protected Member Functions

bool operator== (const ICMPv6Message &)
 

Protected Attributes

int type
 

Private Member Functions

void copy (const ICMPv6Message &other)
 

Detailed Description

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

//
// Represents an ICMPv6 packet.
//
// Notes:
//    1. number of octets excluding the error datagram that is usually appended
//       in optInfo, i.e. the Type|CODE|CHECKSUM|UNUSED/POINTER/MTU/OTHER
//       as defined in RFC2463
//    2. Any ICMP type with MSB set, i.e. >=128 is an Informational ICMP message
//
packet ICMPv6Message
{
    int type @enum(ICMPv6Type);
        //int code; //TODO: this should be specific to different ICMP types.
}

Constructor & Destructor Documentation

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

Member Function Documentation

void inet::ICMPv6Message::copy ( const ICMPv6Message other)
private
ICMPv6Message& inet::ICMPv6Message::operator= ( const ICMPv6Message other)
bool inet::ICMPv6Message::operator== ( const ICMPv6Message )
protected

Member Data Documentation

int inet::ICMPv6Message::type
protected

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