ns3-bgp  0.2
BGP module for ns-3.
Public Attributes | List of all members
ns3::Peer Class Reference

Peer configuration class. More...

#include <bgp.h>

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

Public Attributes

uint32_t local_asn
 local ASN.
 
uint32_t peer_asn
 peer ASN.
 
Ipv4Address peer_address
 peer's address.
 
libbgp::BgpFilterRules ingress_rules
 ingress router filter rules. See libbgp documents.
 
libbgp::BgpFilterRules egress_rules
 egress router filter rules. See libbgp documents.
 
bool passive
 passive peering (don't send OPEN)
 
int8_t allow_local_as
 Allow N local ASN in AS_PATH.
 
int32_t weight
 weight of this peer
 
bool no_nexthop_check
 disable nexthop attribute validation
 
bool forced_default_nexthop
 always use peering IP as nexthop.
 
bool ibgp_alter_nexthop
 alter IBGP nexthop attribute the same way as EBGP.
 
uint8_t ebgp_multihop
 

Detailed Description

Peer configuration class.

Examples:
bgp-example.cc.

Definition at line 34 of file bgp.h.


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