INET Framework for OMNeT++/OMNEST
|
Class generated from inet/routing/bgpv4/BGPMessage/BGPOpen.msg:64
by nedtool.
More...
#include <BGPOpen_m.h>
Public Member Functions | |
BGPOpenMessage (const char *name=nullptr, short kind=0) | |
BGPOpenMessage (const BGPOpenMessage &other) | |
virtual | ~BGPOpenMessage () |
BGPOpenMessage & | operator= (const BGPOpenMessage &other) |
virtual BGPOpenMessage * | dup () const override |
virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
virtual char | version () const |
virtual void | setVersion (char version) |
virtual unsigned short | myAS () const |
virtual void | setMyAS (unsigned short myAS) |
virtual ::omnetpp::simtime_t | holdTime () const |
virtual void | setHoldTime (::omnetpp::simtime_t holdTime) |
virtual IPv4Address & | BGPIdentifier () |
virtual const IPv4Address & | BGPIdentifier () const |
virtual void | setBGPIdentifier (const IPv4Address &BGPIdentifier) |
virtual void | setOptionalParametersArraySize (unsigned int size) |
virtual unsigned int | optionalParametersArraySize () const |
virtual BGPOptionalParameters & | optionalParameters (unsigned int k) |
virtual const BGPOptionalParameters & | optionalParameters (unsigned int k) const |
virtual void | setOptionalParameters (unsigned int k, const BGPOptionalParameters &optionalParameters) |
Public Member Functions inherited from inet::bgp::BGPHeader | |
BGPHeader (const char *name=nullptr, short kind=0) | |
BGPHeader (const BGPHeader &other) | |
virtual | ~BGPHeader () |
BGPHeader & | operator= (const BGPHeader &other) |
virtual char | getType () const |
virtual void | setType (char type) |
Protected Member Functions | |
bool | operator== (const BGPOpenMessage &) |
Protected Member Functions inherited from inet::bgp::BGPHeader | |
bool | operator== (const BGPHeader &) |
Protected Attributes | |
char | version_var |
unsigned short | myAS_var |
::omnetpp::simtime_t | holdTime_var |
IPv4Address | BGPIdentifier_var |
BGPOptionalParameters * | optionalParameters_var |
unsigned int | optionalParameters_arraysize |
Protected Attributes inherited from inet::bgp::BGPHeader | |
char | type |
Private Member Functions | |
void | copy (const BGPOpenMessage &other) |
Class generated from inet/routing/bgpv4/BGPMessage/BGPOpen.msg:64
by nedtool.
// // Represents a BGPv4 OPEN message. // // Fields modelled: // - Version: 1 octet (BGP version) // - My Autonomous system: 2 octets (AS of the sender) // - Hold Time: 2 octets (nbr de secondes que l'emetteur propose pour le compteur de renetue) // - BGP Identifier: 4 octets // - Optional Param Length: 1 octet (if = 0, no optional parameters) // - Optional Parameters: // - Parameter Type // - Parameter Length // - Parameter Values (variable size) // - Auth code // - Authentication Data // packet BGPOpenMessage extends BGPHeader { @omitGetVerb(true); @fieldNameSuffix("_var"); type = BGP_OPEN; byteLength = BGP_HEADER_OCTETS + BGP_OPEN_OCTETS;
char version = 4; unsigned short myAS; simtime_t holdTime; IPv4Address BGPIdentifier; BGPOptionalParameters optionalParameters[]; }
inet::bgp::BGPOpenMessage::BGPOpenMessage | ( | const char * | name = nullptr , |
short | kind = 0 |
||
) |
inet::bgp::BGPOpenMessage::BGPOpenMessage | ( | const BGPOpenMessage & | other | ) |
|
virtual |
|
virtual |
|
inlinevirtual |
Referenced by BGPIdentifier().
|
private |
|
inlineoverridevirtual |
Reimplemented from inet::bgp::BGPHeader.
virtual ::omnetpp::simtime_t inet::bgp::BGPOpenMessage::holdTime | ( | ) | const |
|
virtual |
BGPOpenMessage& inet::bgp::BGPOpenMessage::operator= | ( | const BGPOpenMessage & | other | ) |
|
protected |
|
virtual |
|
inlinevirtual |
Referenced by optionalParameters().
|
virtual |
|
overridevirtual |
Reimplemented from inet::bgp::BGPHeader.
Referenced by inet::bgp::doParsimPacking().
|
overridevirtual |
Reimplemented from inet::bgp::BGPHeader.
Referenced by inet::bgp::doParsimUnpacking().
|
virtual |
Referenced by inet::bgp::BGPSession::sendOpenMessage().
|
virtual |
Referenced by inet::bgp::BGPSession::sendOpenMessage().
|
virtual |
Referenced by inet::bgp::BGPSession::sendOpenMessage().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |