libbgp  0.6
A C++ BGP Library.
Public Attributes | List of all members
libbgp::Route4AddEvent Class Reference

An Route4AddEvent. More...

#include <route-event.h>

Inheritance diagram for libbgp::Route4AddEvent:
Inheritance graph
[legend]
Collaboration diagram for libbgp::Route4AddEvent:
Collaboration graph
[legend]

Public Attributes

const std::vector< std::shared_ptr< BgpPathAttrib > > * shared_attribs
 Shared attributes for the new routes.
 
const std::vector< Prefix4 > * new_routes
 Newly added routes.
 
const std::vector< BgpRib4Entry > * replaced_entries
 Pointer to the route replacement entries vector.
 
uint32_t ibgp_peer_asn
 ASN of the IBGP peer if the originating session is a IBGP session. More...
 
- Public Attributes inherited from libbgp::RouteEvent
RouteEventType type
 Type of this event.
 

Detailed Description

An Route4AddEvent.

Examples:
route-event-bus.cc.

Definition at line 54 of file route-event.h.

Member Data Documentation

◆ ibgp_peer_asn

uint32_t libbgp::Route4AddEvent::ibgp_peer_asn

ASN of the IBGP peer if the originating session is a IBGP session.

ASN of the IBGP peer. If the originating session is not IBGP, ibgp_peer_asn will be 0;

Definition at line 88 of file route-event.h.


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