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

Class generated from inet/networklayer/ipv6/IPv6ExtensionHeaders.msg:82 by nedtool. More...

#include <IPv6ExtensionHeaders_m.h>

Inheritance diagram for inet::IPv6FragmentHeader:
inet::IPv6ExtensionHeader

Public Member Functions

 IPv6FragmentHeader ()
 
 IPv6FragmentHeader (const IPv6FragmentHeader &other)
 
virtual ~IPv6FragmentHeader ()
 
IPv6FragmentHeaderoperator= (const IPv6FragmentHeader &other)
 
virtual IPv6FragmentHeaderdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual unsigned short getFragmentOffset () const
 
virtual void setFragmentOffset (unsigned short fragmentOffset)
 
virtual unsigned int getIdentification () const
 
virtual void setIdentification (unsigned int identification)
 
virtual bool getMoreFragments () const
 
virtual void setMoreFragments (bool moreFragments)
 
- Public Member Functions inherited from inet::IPv6ExtensionHeader
 IPv6ExtensionHeader ()
 
 IPv6ExtensionHeader (const IPv6ExtensionHeader &other)
 
virtual ~IPv6ExtensionHeader ()
 
IPv6ExtensionHeaderoperator= (const IPv6ExtensionHeader &other)
 
virtual short getExtensionType () const
 
virtual void setExtensionType (short extensionType)
 
virtual short getByteLength () const
 
virtual void setByteLength (short byteLength)
 

Protected Member Functions

bool operator== (const IPv6FragmentHeader &)
 
- Protected Member Functions inherited from inet::IPv6ExtensionHeader
bool operator== (const IPv6ExtensionHeader &)
 

Protected Attributes

unsigned short fragmentOffset
 
unsigned int identification
 
bool moreFragments
 
- Protected Attributes inherited from inet::IPv6ExtensionHeader
short extensionType
 
short byteLength
 

Private Member Functions

void copy (const IPv6FragmentHeader &other)
 

Detailed Description

Class generated from inet/networklayer/ipv6/IPv6ExtensionHeaders.msg:82 by nedtool.

//
// Fragment Header
// RFC 2460 Section 4.5
// Next Header Value: 44
//
class IPv6FragmentHeader extends IPv6ExtensionHeader
{
    extensionType = IP_PROT_IPv6EXT_FRAGMENT;
    byteLength = IPv6_FRAGMENT_HEADER_LENGTH;
    unsigned short fragmentOffset;
    unsigned int identification;  // datagram ID: identifies which datagram this fragment belongs to.
    bool moreFragments; //Is this the last fragment?
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::IPv6ExtensionHeader.

221 {return new IPv6FragmentHeader(*this);}
virtual unsigned short inet::IPv6FragmentHeader::getFragmentOffset ( ) const
virtual
virtual unsigned int inet::IPv6FragmentHeader::getIdentification ( ) const
virtual
virtual bool inet::IPv6FragmentHeader::getMoreFragments ( ) const
virtual
IPv6FragmentHeader& inet::IPv6FragmentHeader::operator= ( const IPv6FragmentHeader other)
bool inet::IPv6FragmentHeader::operator== ( const IPv6FragmentHeader )
protected
virtual void inet::IPv6FragmentHeader::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::IPv6ExtensionHeader.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::IPv6ExtensionHeader.

Referenced by inet::doParsimUnpacking().

virtual void inet::IPv6FragmentHeader::setFragmentOffset ( unsigned short  fragmentOffset)
virtual
virtual void inet::IPv6FragmentHeader::setIdentification ( unsigned int  identification)
virtual
virtual void inet::IPv6FragmentHeader::setMoreFragments ( bool  moreFragments)
virtual

Member Data Documentation

unsigned short inet::IPv6FragmentHeader::fragmentOffset
protected
unsigned int inet::IPv6FragmentHeader::identification
protected
bool inet::IPv6FragmentHeader::moreFragments
protected

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