INET Framework for OMNeT++/OMNEST
inet::bgp Namespace Reference

Namespaces

 fsm
 

Classes

class  BGPASPathSegment
 Class generated from inet/routing/bgpv4/BGPMessage/BGPASPathSegment.msg:30 by nedtool. More...
 
class  BGPHeader
 Class generated from inet/routing/bgpv4/BGPMessage/BGPHeader.msg:49 by nedtool. More...
 
class  BGPKeepAliveMessage
 Class generated from inet/routing/bgpv4/BGPMessage/BGPKeepAlive.msg:33 by nedtool. More...
 
class  BGPOpenMessage
 Class generated from inet/routing/bgpv4/BGPMessage/BGPOpen.msg:64 by nedtool. More...
 
struct  BGPOptionalParameters
 Struct generated from inet/routing/bgpv4/BGPMessage/BGPOpen.msg:40 by nedtool. More...
 
struct  BGPParameterValues
 Struct generated from inet/routing/bgpv4/BGPMessage/BGPOpen.msg:34 by nedtool. More...
 
class  BGPRouting
 
class  BGPSession
 
struct  BGPUpdateAttributeFlags
 Struct generated from inet/routing/bgpv4/BGPMessage/BGPUpdatePathAttributes.msg:42 by nedtool. More...
 
struct  BGPUpdateAttributeType
 Struct generated from inet/routing/bgpv4/BGPMessage/BGPUpdatePathAttributes.msg:50 by nedtool. More...
 
class  BGPUpdateMessage
 
class  BGPUpdateMessage_Base
 Class generated from inet/routing/bgpv4/BGPMessage/BGPUpdate.msg:82 by nedtool. More...
 
struct  BGPUpdateNLRI
 Struct generated from inet/routing/bgpv4/BGPMessage/BGPUpdate.msg:48 by nedtool. More...
 
class  BGPUpdatePathAttributeList
 Class generated from inet/routing/bgpv4/BGPMessage/BGPUpdate.msg:58 by nedtool. More...
 
class  BGPUpdatePathAttributes
 Class generated from inet/routing/bgpv4/BGPMessage/BGPUpdatePathAttributes.msg:56 by nedtool. More...
 
class  BGPUpdatePathAttributesASPath
 Class generated from inet/routing/bgpv4/BGPMessage/BGPUpdatePathAttributes.msg:69 by nedtool. More...
 
class  BGPUpdatePathAttributesAtomicAggregate
 Class generated from inet/routing/bgpv4/BGPMessage/BGPUpdatePathAttributes.msg:93 by nedtool. More...
 
class  BGPUpdatePathAttributesLocalPref
 Class generated from inet/routing/bgpv4/BGPMessage/BGPUpdatePathAttributes.msg:81 by nedtool. More...
 
class  BGPUpdatePathAttributesNextHop
 Class generated from inet/routing/bgpv4/BGPMessage/BGPUpdatePathAttributes.msg:75 by nedtool. More...
 
class  BGPUpdatePathAttributesOrigin
 Class generated from inet/routing/bgpv4/BGPMessage/BGPUpdatePathAttributes.msg:63 by nedtool. More...
 
struct  BGPUpdateWithdrawnRoutes
 Struct generated from inet/routing/bgpv4/BGPMessage/BGPUpdate.msg:42 by nedtool. More...
 
class  RoutingTableEntry
 
struct  SessionInfo
 

Typedefs

typedef IPv4Address NextHop
 
typedef unsigned short ASID
 
typedef unsigned long SessionID
 

Enumerations

enum  BGPSessionType { IGP = 0, EGP = 1, INCOMPLETE = 2 }
 Enum generated from inet/routing/bgpv4/BGPCommon.msg:22 by nedtool. More...
 
enum  BGPPathSegmentType { AS_SET = 1, AS_SEQUENCE = 2 }
 Enum generated from inet/routing/bgpv4/BGPCommon.msg:29 by nedtool. More...
 
enum  BGPType { BGP_OPEN = 1, BGP_UPDATE = 2, BGP_NOTIFICATION = 3, BGP_KEEPALIVE = 4 }
 Enum generated from inet/routing/bgpv4/BGPMessage/BGPHeader.msg:33 by nedtool. More...
 
enum  BGPUpdateAttributeTypeCode {
  ORIGIN = 1, AS_PATH = 2, NEXT_HOP = 3, LOCAL_PREF = 5,
  ATOMIC_AGGREGATE = 6
}
 Enum generated from inet/routing/bgpv4/BGPMessage/BGPUpdatePathAttributes.msg:33 by nedtool. More...
 
enum  BGPUpdateAtomicAggregateValues { NO_SPECIFIC_ROUTE = 0, SPECIFIC_ROUTE = 1 }
 Enum generated from inet/routing/bgpv4/BGPMessage/BGPUpdatePathAttributes.msg:87 by nedtool. More...
 

Functions

void doParsimPacking (omnetpp::cCommBuffer *b, const BGPASPathSegment &obj)
 
void doParsimUnpacking (omnetpp::cCommBuffer *b, BGPASPathSegment &obj)
 
void doParsimPacking (omnetpp::cCommBuffer *b, const BGPHeader &obj)
 
void doParsimUnpacking (omnetpp::cCommBuffer *b, BGPHeader &obj)
 
void doParsimPacking (omnetpp::cCommBuffer *b, const BGPKeepAliveMessage &obj)
 
void doParsimUnpacking (omnetpp::cCommBuffer *b, BGPKeepAliveMessage &obj)
 
void INET_API __doPacking (omnetpp::cCommBuffer *b, const BGPParameterValues &a)
 
void INET_API __doUnpacking (omnetpp::cCommBuffer *b, BGPParameterValues &a)
 
void doParsimPacking (omnetpp::cCommBuffer *b, const BGPParameterValues &obj)
 
void doParsimUnpacking (omnetpp::cCommBuffer *b, BGPParameterValues &obj)
 
void INET_API __doPacking (omnetpp::cCommBuffer *b, const BGPOptionalParameters &a)
 
void INET_API __doUnpacking (omnetpp::cCommBuffer *b, BGPOptionalParameters &a)
 
void doParsimPacking (omnetpp::cCommBuffer *b, const BGPOptionalParameters &obj)
 
void doParsimUnpacking (omnetpp::cCommBuffer *b, BGPOptionalParameters &obj)
 
void doParsimPacking (omnetpp::cCommBuffer *b, const BGPOpenMessage &obj)
 
void doParsimUnpacking (omnetpp::cCommBuffer *b, BGPOpenMessage &obj)
 
 Register_Class (BGPUpdateMessage) void BGPUpdateMessage
 
void INET_API __doPacking (omnetpp::cCommBuffer *b, const BGPUpdateWithdrawnRoutes &a)
 
void INET_API __doUnpacking (omnetpp::cCommBuffer *b, BGPUpdateWithdrawnRoutes &a)
 
void doParsimPacking (omnetpp::cCommBuffer *b, const BGPUpdateWithdrawnRoutes &obj)
 
void doParsimUnpacking (omnetpp::cCommBuffer *b, BGPUpdateWithdrawnRoutes &obj)
 
void INET_API __doPacking (omnetpp::cCommBuffer *b, const BGPUpdateNLRI &a)
 
void INET_API __doUnpacking (omnetpp::cCommBuffer *b, BGPUpdateNLRI &a)
 
void doParsimPacking (omnetpp::cCommBuffer *b, const BGPUpdateNLRI &obj)
 
void doParsimUnpacking (omnetpp::cCommBuffer *b, BGPUpdateNLRI &obj)
 
void doParsimPacking (omnetpp::cCommBuffer *b, const BGPUpdatePathAttributeList &obj)
 
void doParsimUnpacking (omnetpp::cCommBuffer *b, BGPUpdatePathAttributeList &obj)
 
void INET_API __doPacking (omnetpp::cCommBuffer *b, const BGPUpdateAttributeFlags &a)
 
void INET_API __doUnpacking (omnetpp::cCommBuffer *b, BGPUpdateAttributeFlags &a)
 
void doParsimPacking (omnetpp::cCommBuffer *b, const BGPUpdateAttributeFlags &obj)
 
void doParsimUnpacking (omnetpp::cCommBuffer *b, BGPUpdateAttributeFlags &obj)
 
void INET_API __doPacking (omnetpp::cCommBuffer *b, const BGPUpdateAttributeType &a)
 
void INET_API __doUnpacking (omnetpp::cCommBuffer *b, BGPUpdateAttributeType &a)
 
void doParsimPacking (omnetpp::cCommBuffer *b, const BGPUpdateAttributeType &obj)
 
void doParsimUnpacking (omnetpp::cCommBuffer *b, BGPUpdateAttributeType &obj)
 
void doParsimPacking (omnetpp::cCommBuffer *b, const BGPUpdatePathAttributes &obj)
 
void doParsimUnpacking (omnetpp::cCommBuffer *b, BGPUpdatePathAttributes &obj)
 
void doParsimPacking (omnetpp::cCommBuffer *b, const BGPUpdatePathAttributesOrigin &obj)
 
void doParsimUnpacking (omnetpp::cCommBuffer *b, BGPUpdatePathAttributesOrigin &obj)
 
void doParsimPacking (omnetpp::cCommBuffer *b, const BGPUpdatePathAttributesASPath &obj)
 
void doParsimUnpacking (omnetpp::cCommBuffer *b, BGPUpdatePathAttributesASPath &obj)
 
void doParsimPacking (omnetpp::cCommBuffer *b, const BGPUpdatePathAttributesNextHop &obj)
 
void doParsimUnpacking (omnetpp::cCommBuffer *b, BGPUpdatePathAttributesNextHop &obj)
 
void doParsimPacking (omnetpp::cCommBuffer *b, const BGPUpdatePathAttributesLocalPref &obj)
 
void doParsimUnpacking (omnetpp::cCommBuffer *b, BGPUpdatePathAttributesLocalPref &obj)
 
void doParsimPacking (omnetpp::cCommBuffer *b, const BGPUpdatePathAttributesAtomicAggregate &obj)
 
void doParsimUnpacking (omnetpp::cCommBuffer *b, BGPUpdatePathAttributesAtomicAggregate &obj)
 
 Define_Module (BGPRouting)
 
std::ostream & operator<< (std::ostream &out, RoutingTableEntry &entry)
 

Variables

const unsigned char TCP_PORT = 179
 
const unsigned char START_EVENT_KIND = 81
 
const unsigned char CONNECT_RETRY_KIND = 82
 
const unsigned char HOLD_TIME_KIND = 83
 
const unsigned char KEEP_ALIVE_KIND = 89
 
const unsigned char NB_TIMERS = 4
 
const unsigned char NB_STATS = 6
 
const unsigned char DEFAULT_COST = 1
 
const unsigned char NB_SESSION_MAX = 255
 
const unsigned char ROUTE_DESTINATION_CHANGED = 90
 
const unsigned char NEW_ROUTE_ADDED = 91
 
const unsigned char NEW_SESSION_ESTABLISHED = 92
 
const unsigned char ASLOOP_NO_DETECTED = 93
 
const unsigned char ASLOOP_DETECTED = 94
 
const int BGP_OPEN_OCTETS = 10
 

Typedef Documentation

typedef unsigned short inet::bgp::ASID
typedef unsigned long inet::bgp::SessionID

Enumeration Type Documentation

Enum generated from inet/routing/bgpv4/BGPCommon.msg:29 by nedtool.

enum BGPPathSegmentType
{
AS_SET = 1;
AS_SEQUENCE = 2;
}
Enumerator
AS_SET 
AS_SEQUENCE 
63  {
64  AS_SET = 1,
65  AS_SEQUENCE = 2
66 };
Definition: BGPCommon_m.h:64
Definition: BGPCommon_m.h:65

Enum generated from inet/routing/bgpv4/BGPCommon.msg:22 by nedtool.

enum BGPSessionType
{
IGP = 0;
EGP = 1;
INCOMPLETE = 2;
}
Enumerator
IGP 
EGP 
INCOMPLETE 
46  {
47  IGP = 0,
48  EGP = 1,
49  INCOMPLETE = 2
50 };
Definition: BGPCommon_m.h:49
Definition: BGPCommon_m.h:48
Definition: BGPCommon_m.h:47

Enum generated from inet/routing/bgpv4/BGPMessage/BGPHeader.msg:33 by nedtool.

//
// BGPv4 message types
//
enum BGPType
{
BGP_OPEN = 1;
BGP_UPDATE = 2;
BGP_NOTIFICATION = 3;
BGP_KEEPALIVE = 4;
}
Enumerator
BGP_OPEN 
BGP_UPDATE 
BGP_NOTIFICATION 
BGP_KEEPALIVE 
56  {
57  BGP_OPEN = 1,
58  BGP_UPDATE = 2,
59  BGP_NOTIFICATION = 3,
60  BGP_KEEPALIVE = 4
61 };
Definition: BGPHeader_m.h:59
Definition: BGPHeader_m.h:58
Definition: BGPHeader_m.h:60
Definition: BGPHeader_m.h:57

Enum generated from inet/routing/bgpv4/BGPMessage/BGPUpdatePathAttributes.msg:87 by nedtool.

//ATOMIC_AGGREGATE (RFC4271 Section 4.3, Type code 6):
enum BGPUpdateAtomicAggregateValues
{
NO_SPECIFIC_ROUTE = 0;
SPECIFIC_ROUTE = 1;
}
Enumerator
NO_SPECIFIC_ROUTE 
SPECIFIC_ROUTE 
314  {
315  NO_SPECIFIC_ROUTE = 0,
316  SPECIFIC_ROUTE = 1
317 };
Definition: BGPUpdatePathAttributes_m.h:315
Definition: BGPUpdatePathAttributes_m.h:316

Enum generated from inet/routing/bgpv4/BGPMessage/BGPUpdatePathAttributes.msg:33 by nedtool.

enum BGPUpdateAttributeTypeCode
{
ORIGIN = 1;
AS_PATH = 2;
NEXT_HOP = 3;
LOCAL_PREF = 5;
ATOMIC_AGGREGATE = 6;
}
Enumerator
ORIGIN 
AS_PATH 
NEXT_HOP 
LOCAL_PREF 
ATOMIC_AGGREGATE 
54  {
55  ORIGIN = 1,
56  AS_PATH = 2,
57  NEXT_HOP = 3,
58  LOCAL_PREF = 5,
60 };
Definition: BGPUpdatePathAttributes_m.h:58
Definition: BGPUpdatePathAttributes_m.h:59
Definition: BGPUpdatePathAttributes_m.h:56
Definition: BGPUpdatePathAttributes_m.h:57
Definition: BGPUpdatePathAttributes_m.h:55

Function Documentation

void INET_API inet::bgp::__doPacking ( omnetpp::cCommBuffer *  b,
const BGPParameterValues a 
)

Referenced by doParsimPacking().

void INET_API inet::bgp::__doPacking ( omnetpp::cCommBuffer *  b,
const BGPUpdateWithdrawnRoutes a 
)
void INET_API inet::bgp::__doPacking ( omnetpp::cCommBuffer *  b,
const BGPOptionalParameters a 
)
void INET_API inet::bgp::__doPacking ( omnetpp::cCommBuffer *  b,
const BGPUpdateNLRI a 
)
void INET_API inet::bgp::__doPacking ( omnetpp::cCommBuffer *  b,
const BGPUpdateAttributeFlags a 
)
void INET_API inet::bgp::__doPacking ( omnetpp::cCommBuffer *  b,
const BGPUpdateAttributeType a 
)
void INET_API inet::bgp::__doUnpacking ( omnetpp::cCommBuffer *  b,
BGPParameterValues a 
)

Referenced by doParsimUnpacking().

void INET_API inet::bgp::__doUnpacking ( omnetpp::cCommBuffer *  b,
BGPUpdateWithdrawnRoutes a 
)
void INET_API inet::bgp::__doUnpacking ( omnetpp::cCommBuffer *  b,
BGPOptionalParameters a 
)
void INET_API inet::bgp::__doUnpacking ( omnetpp::cCommBuffer *  b,
BGPUpdateNLRI a 
)
void INET_API inet::bgp::__doUnpacking ( omnetpp::cCommBuffer *  b,
BGPUpdateAttributeFlags a 
)
void INET_API inet::bgp::__doUnpacking ( omnetpp::cCommBuffer *  b,
BGPUpdateAttributeType a 
)
inet::bgp::Define_Module ( BGPRouting  )
void inet::bgp::doParsimPacking ( omnetpp::cCommBuffer *  b,
const BGPParameterValues obj 
)
inline
55 { __doPacking(b, obj); }
void INET_API __doPacking(omnetpp::cCommBuffer *b, const BGPOptionalParameters &a)
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimPacking ( omnetpp::cCommBuffer *  b,
const BGPUpdateWithdrawnRoutes obj 
)
inline
58 { __doPacking(b, obj); }
void INET_API __doPacking(omnetpp::cCommBuffer *b, const BGPUpdateNLRI &a)
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimPacking ( omnetpp::cCommBuffer *  b,
const BGPOptionalParameters obj 
)
inline
73 { __doPacking(b, obj); }
void INET_API __doPacking(omnetpp::cCommBuffer *b, const BGPOptionalParameters &a)
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimPacking ( omnetpp::cCommBuffer *  b,
const BGPUpdateNLRI obj 
)
inline
75 { __doPacking(b, obj); }
void INET_API __doPacking(omnetpp::cCommBuffer *b, const BGPUpdateNLRI &a)
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimPacking ( omnetpp::cCommBuffer *  b,
const BGPKeepAliveMessage obj 
)
inline
76 {obj.parsimPack(b);}
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimPacking ( omnetpp::cCommBuffer *  b,
const BGPUpdateAttributeFlags obj 
)
inline
78 { __doPacking(b, obj); }
void INET_API __doPacking(omnetpp::cCommBuffer *b, const BGPUpdateAttributeType &a)
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimPacking ( omnetpp::cCommBuffer *  b,
const BGPASPathSegment obj 
)
inline
87 {obj.parsimPack(b);}
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimPacking ( omnetpp::cCommBuffer *  b,
const BGPUpdateAttributeType obj 
)
inline
95 { __doPacking(b, obj); }
void INET_API __doPacking(omnetpp::cCommBuffer *b, const BGPUpdateAttributeType &a)
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimPacking ( omnetpp::cCommBuffer *  b,
const BGPHeader obj 
)
inline
107 {obj.parsimPack(b);}
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimPacking ( omnetpp::cCommBuffer *  b,
const BGPUpdatePathAttributes obj 
)
inline
138 {obj.parsimPack(b);}
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimPacking ( omnetpp::cCommBuffer *  b,
const BGPUpdatePathAttributeList obj 
)
inline
147 {obj.parsimPack(b);}
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimPacking ( omnetpp::cCommBuffer *  b,
const BGPOpenMessage obj 
)
inline
153 {obj.parsimPack(b);}
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimPacking ( omnetpp::cCommBuffer *  b,
const BGPUpdatePathAttributesOrigin obj 
)
inline
177 {obj.parsimPack(b);}
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimPacking ( omnetpp::cCommBuffer *  b,
const BGPUpdatePathAttributesASPath obj 
)
inline
220 {obj.parsimPack(b);}
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimPacking ( omnetpp::cCommBuffer *  b,
const BGPUpdatePathAttributesNextHop obj 
)
inline
260 {obj.parsimPack(b);}
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimPacking ( omnetpp::cCommBuffer *  b,
const BGPUpdatePathAttributesLocalPref obj 
)
inline
299 {obj.parsimPack(b);}
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimPacking ( omnetpp::cCommBuffer *  b,
const BGPUpdatePathAttributesAtomicAggregate obj 
)
inline
354 {obj.parsimPack(b);}
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimUnpacking ( omnetpp::cCommBuffer *  b,
BGPParameterValues obj 
)
inline
56 { __doUnpacking(b, obj); }
value< double, units::m > b
Definition: Units.h:1054
void INET_API __doUnpacking(omnetpp::cCommBuffer *b, BGPOptionalParameters &a)
void inet::bgp::doParsimUnpacking ( omnetpp::cCommBuffer *  b,
BGPUpdateWithdrawnRoutes obj 
)
inline
59 { __doUnpacking(b, obj); }
value< double, units::m > b
Definition: Units.h:1054
void INET_API __doUnpacking(omnetpp::cCommBuffer *b, BGPUpdateNLRI &a)
void inet::bgp::doParsimUnpacking ( omnetpp::cCommBuffer *  b,
BGPOptionalParameters obj 
)
inline
74 { __doUnpacking(b, obj); }
value< double, units::m > b
Definition: Units.h:1054
void INET_API __doUnpacking(omnetpp::cCommBuffer *b, BGPOptionalParameters &a)
void inet::bgp::doParsimUnpacking ( omnetpp::cCommBuffer *  b,
BGPUpdateNLRI obj 
)
inline
76 { __doUnpacking(b, obj); }
value< double, units::m > b
Definition: Units.h:1054
void INET_API __doUnpacking(omnetpp::cCommBuffer *b, BGPUpdateNLRI &a)
void inet::bgp::doParsimUnpacking ( omnetpp::cCommBuffer *  b,
BGPKeepAliveMessage obj 
)
inline
77 {obj.parsimUnpack(b);}
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimUnpacking ( omnetpp::cCommBuffer *  b,
BGPUpdateAttributeFlags obj 
)
inline
79 { __doUnpacking(b, obj); }
void INET_API __doUnpacking(omnetpp::cCommBuffer *b, BGPUpdateAttributeType &a)
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimUnpacking ( omnetpp::cCommBuffer *  b,
BGPASPathSegment obj 
)
inline
88 {obj.parsimUnpack(b);}
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimUnpacking ( omnetpp::cCommBuffer *  b,
BGPUpdateAttributeType obj 
)
inline
96 { __doUnpacking(b, obj); }
void INET_API __doUnpacking(omnetpp::cCommBuffer *b, BGPUpdateAttributeType &a)
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimUnpacking ( omnetpp::cCommBuffer *  b,
BGPHeader obj 
)
inline
108 {obj.parsimUnpack(b);}
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimUnpacking ( omnetpp::cCommBuffer *  b,
BGPUpdatePathAttributes obj 
)
inline
139 {obj.parsimUnpack(b);}
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimUnpacking ( omnetpp::cCommBuffer *  b,
BGPUpdatePathAttributeList obj 
)
inline
148 {obj.parsimUnpack(b);}
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimUnpacking ( omnetpp::cCommBuffer *  b,
BGPOpenMessage obj 
)
inline
154 {obj.parsimUnpack(b);}
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimUnpacking ( omnetpp::cCommBuffer *  b,
BGPUpdatePathAttributesOrigin obj 
)
inline
178 {obj.parsimUnpack(b);}
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimUnpacking ( omnetpp::cCommBuffer *  b,
BGPUpdatePathAttributesASPath obj 
)
inline
221 {obj.parsimUnpack(b);}
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimUnpacking ( omnetpp::cCommBuffer *  b,
BGPUpdatePathAttributesNextHop obj 
)
inline
261 {obj.parsimUnpack(b);}
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimUnpacking ( omnetpp::cCommBuffer *  b,
BGPUpdatePathAttributesLocalPref obj 
)
inline
300 {obj.parsimUnpack(b);}
value< double, units::m > b
Definition: Units.h:1054
void inet::bgp::doParsimUnpacking ( omnetpp::cCommBuffer *  b,
BGPUpdatePathAttributesAtomicAggregate obj 
)
inline
355 {obj.parsimUnpack(b);}
value< double, units::m > b
Definition: Units.h:1054
std::ostream& inet::bgp::operator<< ( std::ostream &  out,
RoutingTableEntry entry 
)
inline
68 {
69  out << "BGP - Destination: "
70  << entry.getDestination().str()
71  << '/'
72  << entry.getNetmask().str()
73  << " , PathType: ";
74  switch (entry.getPathType()) {
75  case EGP:
76  out << "EGP";
77  break;
78 
79  case IGP:
80  out << "IGP";
81  break;
82 
83  case INCOMPLETE:
84  out << "Incomplete";
85  break;
86 
87  default:
88  out << "Unknown";
89  break;
90  }
91 
92  out << " , NextHops: "
93  << entry.getGateway()
94  << " , AS: ";
95  unsigned int ASCount = entry.getASCount();
96  for (unsigned int i = 0; i < ASCount; i++) {
97  out << entry.getAS(i)
98  << ' ';
99  }
100  return out;
101 }
Definition: BGPCommon_m.h:49
Definition: BGPCommon_m.h:48
Definition: BGPCommon_m.h:47
inet::bgp::Register_Class ( BGPUpdateMessage  )
27 {
28  unsigned short delta_size = size - getWithdrawnRoutesArraySize();
29  unsigned short delta_bytes = delta_size * 5; // 5 = Withdrawn Route length
30  setByteLength(getByteLength() + delta_bytes);
31 }

Variable Documentation

const unsigned char inet::bgp::ASLOOP_DETECTED = 94
const unsigned char inet::bgp::ASLOOP_NO_DETECTED = 93
const int inet::bgp::BGP_OPEN_OCTETS = 10
const unsigned char inet::bgp::CONNECT_RETRY_KIND = 82
const unsigned char inet::bgp::DEFAULT_COST = 1
const unsigned char inet::bgp::HOLD_TIME_KIND = 83
const unsigned char inet::bgp::KEEP_ALIVE_KIND = 89
const unsigned char inet::bgp::NB_SESSION_MAX = 255
const unsigned char inet::bgp::NB_STATS = 6
const unsigned char inet::bgp::NB_TIMERS = 4
const unsigned char inet::bgp::NEW_ROUTE_ADDED = 91
const unsigned char inet::bgp::NEW_SESSION_ESTABLISHED = 92
const unsigned char inet::bgp::ROUTE_DESTINATION_CHANGED = 90
const unsigned char inet::bgp::START_EVENT_KIND = 81
const unsigned char inet::bgp::TCP_PORT = 179