ns3-bgp  0.2
BGP module for ns-3.
Public Member Functions | List of all members
ns3::BgpNs3Fsm Class Reference

ns3 smart pointer wrapper for libbgp BGP FSM. More...

#include <bgp-ns3-fsm.h>

Inheritance diagram for ns3::BgpNs3Fsm:
Inheritance graph
[legend]
Collaboration diagram for ns3::BgpNs3Fsm:
Collaboration graph
[legend]

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
 
BgpRib4getRib4 () const
 
BgpRib6getRib6 () 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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ BgpNs3Fsm()

ns3::BgpNs3Fsm::BgpNs3Fsm ( libbgp::BgpConfig  config)

Construct a new ns3-ptr wrapped libbgp BgpFsm.

Parameters
configBgpConfig to forward to BgpFsm.

Definition at line 20 of file bgp-ns3-fsm.cc.


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