The Bgp Application.
More...
#include <bgp.h>
|
static TypeId | GetTypeId (void) |
|
The Bgp Application.
Definition at line 77 of file bgp.h.
◆ AddPeer()
void ns3::Bgp::AddPeer |
( |
const Peer & |
peer | ) |
|
Add a peer to the BGP application.
- Parameters
-
Definition at line 385 of file bgp.cc.
◆ AddRoute() [1/3]
Add a route to BGP routing table.
- Parameters
-
route | The route. |
nexthop | Nexthop. |
Definition at line 396 of file bgp.cc.
◆ AddRoute() [2/3]
void ns3::Bgp::AddRoute |
( |
uint32_t |
prefix, |
|
|
uint8_t |
mask, |
|
|
uint32_t |
nexthop |
|
) |
| |
Add a route to BGP routing table.
- Parameters
-
prefix | The prefix of the route in network byte order. |
mask | The netmask of the route in CIDR notation. |
nexthop | Nexthop. |
Definition at line 408 of file bgp.cc.
◆ AddRoute() [3/3]
void ns3::Bgp::AddRoute |
( |
const Ipv4Address & |
prefix, |
|
|
const Ipv4Mask & |
mask, |
|
|
const Ipv4Address & |
nexthop |
|
) |
| |
Add a route to BGP routing table.
- Parameters
-
prefix | Prefix of the route. |
mask | Netmask of the route. |
nexthop | Nexthop of the route. |
Definition at line 420 of file bgp.cc.
◆ SetBgpId()
void ns3::Bgp::SetBgpId |
( |
Ipv4Address |
bgp_id | ) |
|
Set local router ID.
- Parameters
-
Definition at line 440 of file bgp.cc.
◆ SetClockInterval()
void ns3::Bgp::SetClockInterval |
( |
Time |
interval | ) |
|
Set Tick() interval.
- Parameters
-
Definition at line 460 of file bgp.cc.
◆ SetHoldTimer()
void ns3::Bgp::SetHoldTimer |
( |
Time |
hold_timer | ) |
|
Set local hold timer.
- Parameters
-
Definition at line 450 of file bgp.cc.
◆ SetLibbgpLogLevel()
Set libbgp log level.
- Parameters
-
Definition at line 430 of file bgp.cc.
The documentation for this class was generated from the following files: