INET Framework for OMNeT++/OMNEST
inet::bgp::BGPHeader Class Reference

Class generated from inet/routing/bgpv4/BGPMessage/BGPHeader.msg:49 by nedtool. More...

#include <BGPHeader_m.h>

Inheritance diagram for inet::bgp::BGPHeader:
inet::bgp::BGPKeepAliveMessage inet::bgp::BGPOpenMessage inet::bgp::BGPUpdateMessage_Base inet::bgp::BGPUpdateMessage

Public Member Functions

 BGPHeader (const char *name=nullptr, short kind=0)
 
 BGPHeader (const BGPHeader &other)
 
virtual ~BGPHeader ()
 
BGPHeaderoperator= (const BGPHeader &other)
 
virtual BGPHeaderdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual char getType () const
 
virtual void setType (char type)
 

Protected Member Functions

bool operator== (const BGPHeader &)
 

Protected Attributes

char type
 

Private Member Functions

void copy (const BGPHeader &other)
 

Detailed Description

Class generated from inet/routing/bgpv4/BGPMessage/BGPHeader.msg:49 by nedtool.

//
// Represents a BGPv4 message header.
//
// Header fields modeled:
//   - Marker: 16 octets (authentication)
//   - Length: 2 octets  (total size of the message)
//   - Type: 1 octet
//
packet BGPHeader
{
    byteLength = BGP_HEADER_OCTETS;
    char type @enum(BGPType);
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented in inet::bgp::BGPUpdateMessage_Base, inet::bgp::BGPOpenMessage, inet::bgp::BGPKeepAliveMessage, and inet::bgp::BGPUpdateMessage.

98 {return new BGPHeader(*this);}
BGPHeader(const char *name=nullptr, short kind=0)
virtual char inet::bgp::BGPHeader::getType ( ) const
virtual
BGPHeader& inet::bgp::BGPHeader::operator= ( const BGPHeader other)
bool inet::bgp::BGPHeader::operator== ( const BGPHeader )
protected
virtual void inet::bgp::BGPHeader::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual
virtual void inet::bgp::BGPHeader::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual
virtual void inet::bgp::BGPHeader::setType ( char  type)
virtual

Member Data Documentation

char inet::bgp::BGPHeader::type
protected

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