ns3-bgp
0.2
BGP module for ns-3.
|
ns3 smart pointer wrapper for libbgp BGP FSM. More...
#include <bgp-ns3-fsm.h>
Public Member Functions | |
BgpNs3Fsm (libbgp::BgpConfig config) | |
Construct a new ns3-ptr wrapped libbgp BgpFsm. More... | |
Public Member Functions inherited from libbgp::BgpFsm | |
uint32_t | getAsn () const |
uint32_t | getBgpId () const |
uint32_t | getPeerAsn () const |
uint32_t | getPeerBgpId () const |
uint16_t | getHoldTimer () const |
BgpRib4 & | getRib4 () const |
BgpRib6 & | getRib6 () const |
BgpState | getState () const |
int | start () |
int | stop () |
int | run (const uint8_t *buffer, const size_t buffer_size) |
int | tick () |
int | resetSoft () |
void | resetHard () |
Additional Inherited Members | |
Protected Member Functions inherited from libbgp::RouteEventReceiver | |
virtual bool | handleRouteEvent (const RouteEvent &ev)=0 |
ns3 smart pointer wrapper for libbgp BGP FSM.
Just a libbgp BGP FSM but inheriting ns3 SimpleRefCount.
Definition at line 25 of file bgp-ns3-fsm.h.
ns3::BgpNs3Fsm::BgpNs3Fsm | ( | libbgp::BgpConfig | config | ) |
Construct a new ns3-ptr wrapped libbgp BgpFsm.
config | BgpConfig to forward to BgpFsm. |
Definition at line 20 of file bgp-ns3-fsm.cc.