|
OpenSDN source code
|
#include <bgp_peer.h>


Classes | |
| class | DeleteActor |
| struct | OriginOverride |
| class | PeerStats |
Public Types | |
| typedef std::set< Address::Family > | AddressFamilyList |
| typedef AuthenticationData::KeyType | KeyType |
| typedef std::set< RouteTarget > | RouteTargetList |
| typedef boost::function< void()> | WalkDoneCb |
Public Types inherited from Peer | |
| enum | Type { MULTICAST_PEER , EVPN_PEER , BGP_PEER , EVPN_ROUTING_PEER , LINKLOCAL_PEER , ECMP_PEER , VXLAN_BGP_PEER , LOCAL_VM_PORT_PEER , LOCAL_VM_PEER , LOCAL_PEER , NOVA_PEER , VGW_PEER , MULTICAST_FABRIC_TREE_BUILDER , OVS_PEER , MULTICAST_TOR_PEER , MAC_VM_BINDING_PEER , INET_EVPN_PEER , MAC_LEARNING_PEER } |
| typedef std::map< std::string, Peer * > | PeerMap |
| typedef std::pair< std::string, Peer * > | PeerPair |
Public Member Functions | |
| BgpPeer (BgpServer *server, RoutingInstance *instance, const BgpNeighborConfig *config) | |
| virtual | ~BgpPeer () |
| virtual const std::string & | ToString () const |
| virtual const std::string & | ToUVEKey () const |
| virtual bool | SendUpdate (const uint8_t *msg, size_t msgsize, const std::string *msg_str) |
| virtual bool | SendUpdate (const uint8_t *msg, size_t msgsize) |
| virtual bool | FlushUpdate () |
| void | ConfigUpdate (const BgpNeighborConfig *config) |
| void | ClearConfig () |
| bool | AcceptSession (BgpSession *session) |
| BgpSession * | CreateSession () |
| virtual void | SetAdminState (bool down, int subcode=BgpProto::Notification::AdminShutdown) |
| void | SendOpen (TcpSession *session) |
| void | SendKeepalive (bool from_timer) |
| void | SendNotification (BgpSession *, int code, int subcode=0, const std::string &data=std::string()) |
| void | ProcessUpdate (const BgpProto::Update *msg, size_t msgsize=0) |
| virtual bool | ReceiveMsg (BgpSession *session, const u_int8_t *msg, size_t size) |
| void | StartKeepaliveTimer () |
| bool | KeepaliveTimerRunning () |
| bool | PrefixLimitIdleTimerRunning () const |
| void | SetSendReady () |
| bool | SetCapabilities (const BgpProto::OpenMessage *msg) |
| void | ResetCapabilities () |
| void | RegisterAllTables () |
| virtual BgpServer * | server () |
| virtual BgpServer * | server () const |
| uint32_t | PeerAddress () const |
| const std::string | peer_address_string () const |
| const BgpPeerKey & | peer_key () const |
| uint16_t | peer_port () const |
| std::string | transport_address_string () const |
| std::string | gateway_address_string (Address::Family family) const |
| const std::string & | peer_name () const |
| const std::string & | peer_basename () const |
| std::string | router_type () const |
| TcpSession::Endpoint | endpoint () const |
| virtual bool | CheckSplitHorizon (uint32_t cluster_id=0, uint32_t ribout_cid=0) const |
| StateMachine::State | GetState () const |
| virtual const std::string | GetStateName () const |
| void | set_session (BgpSession *session) |
| void | clear_session () |
| BgpSession * | session () |
| uint16_t | hold_time () const |
| as_t | local_as () const |
| as_t | peer_as () const |
| size_t | buffer_size () const |
| virtual uint32_t | local_bgp_identifier () const |
| std::string | local_bgp_identifier_string () const |
| virtual uint32_t | bgp_identifier () const |
| std::string | bgp_identifier_string () const |
| const std::vector< std::string > & | configured_families () const |
| bool | LookupFamily (Address::Family family) |
| bool | IsFamilyNegotiated (Address::Family family) |
| RoutingInstance * | GetRoutingInstance () |
| RoutingInstance * | GetRoutingInstance () const |
| int | GetIndex () const |
| int | GetTaskInstance () const |
| virtual BgpProto::BgpPeerType | PeerType () const |
| const string & | private_as_action () const |
| const BgpNeighborConfig * | config () const |
| virtual void | SetDataCollectionKey (BgpPeerInfo *peer_info) const |
| void | FillNeighborInfo (const BgpSandeshContext *bsc, BgpNeighborResp *bnr, bool summary) const |
| bool | IsDeleted () const |
| bool | IsAdminDown () const |
| bool | IsPassive () const |
| bool | IsCloseInProgress () const |
| virtual bool | IsReady () const |
| virtual bool | IsXmppPeer () const |
| virtual bool | CanUseMembershipManager () const |
| virtual bool | IsRegistrationRequired () const |
| virtual time_t | GetEorSendTimerElapsedTime () const |
| virtual bool | send_ready () const |
| void | Close (bool graceful) |
| void | Clear (int subcode) |
| virtual IPeerClose * | peer_close () |
| virtual IPeerClose * | peer_close () const |
| virtual void | UpdateCloseRouteStats (Address::Family family, const BgpPath *old_path, uint32_t path_flags) const |
| virtual IPeerDebugStats * | peer_stats () |
| virtual const IPeerDebugStats * | peer_stats () const |
| void | ManagedDelete () |
| void | RetryDelete () |
| LifetimeActor * | deleter () |
| void | Initialize () |
| void | NotifyEstablished (bool established) |
| void | increment_flap_count () |
| void | reset_flap_count () |
| uint64_t | flap_count () const |
| uint64_t | last_flap () const |
| uint64_t | total_flap_count () const |
| void | DSCPUpdateCallback (uint8_t dscp_value) |
| std::string | last_flap_at () const |
| void | inc_rx_open () |
| void | inc_rx_keepalive () |
| void | inc_rx_update () |
| void | inc_rx_notification () |
| void | inc_tx_open () |
| void | inc_tx_keepalive () |
| void | inc_tx_update () |
| void | inc_tx_notification () |
| void | inc_rx_end_of_rib () |
| void | inc_rx_route_reach (uint64_t count) |
| void | inc_rx_route_unreach (uint64_t count) |
| void | inc_tx_end_of_rib () |
| uint64_t | get_rx_keepalive () const |
| uint64_t | get_rx_update () const |
| uint64_t | get_rx_notification () const |
| uint64_t | get_tx_keepalive () const |
| uint64_t | get_tx_update () const |
| uint64_t | get_rx_end_of_rib () const |
| uint64_t | get_rx_route_reach () const |
| uint64_t | get_rx_route_unreach () const |
| uint64_t | get_rx_route_total () const |
| uint64_t | get_tx_end_of_rib () const |
| uint64_t | get_tx_route_reach () const |
| uint64_t | get_tx_route_unreach () const |
| uint64_t | get_tx_route_total () const |
| void | inc_connect_error () |
| void | inc_connect_timer_expired () |
| void | inc_hold_timer_expired () |
| void | inc_open_error () |
| void | inc_update_error () |
| uint64_t | get_connect_error () const |
| uint64_t | get_connect_timer_expired () const |
| uint64_t | get_hold_timer_expired () const |
| uint64_t | get_open_error () const |
| uint64_t | get_update_error () const |
| uint64_t | get_socket_reads () const |
| uint64_t | get_socket_writes () const |
| bool | ResumeClose () |
| void | MembershipRequestCallback (BgpTable *table) |
| virtual void | UpdateTotalPathCount (int count) const |
| virtual int | GetTotalPathCount () const |
| virtual bool | IsAs4Supported () const |
| virtual void | ResetAs4Supported () |
| virtual void | UpdatePrimaryPathCount (int count, Address::Family family) const |
| virtual void | ProcessPathTunnelEncapsulation (const BgpPath *path, BgpAttr *attr, ExtCommunityDB *extcomm_db, const BgpTable *table) const |
| virtual const std::vector< std::string > | GetDefaultTunnelEncap (const Address::Family family) const |
| virtual int | GetPrimaryPathCount () const |
| void | RegisterToVpnTables () |
| StateMachine * | state_machine () |
| const StateMachine * | state_machine () const |
| bool | GetBestAuthKeyItem (AuthenticationKey *auth_key) |
| bool | InstallAuthKeys () |
| std::string | GetInuseAuthKeyValue () const |
| void | SetListenSocketAuthKey (const AuthenticationKey &auth_key, KeyType key_type) |
| void | ClearListenSocketAuthKey () |
| void | SetSessionSocketAuthKey (TcpSession *session) |
| void | SetSessionSocketOptionDscp (TcpSession *session) |
| bool | AttemptGRHelperMode (int code, int subcode) const |
| void | Register (BgpTable *table, const RibExportPolicy &policy) |
| void | Register (BgpTable *table) |
| bool | EndOfRibSendTimerExpired (Address::Family family) |
| void | CustomClose () |
| const std::vector< std::string > & | negotiated_families () const |
| void | ReceiveEndOfRIB (Address::Family family, size_t msgsize) |
| const std::vector< BgpProto::OpenMessage::Capability * > & | capabilities () const |
| virtual bool | IsInGRTimerWaitState () const |
| PeerCloseManager * | close_manager () |
| virtual bool | IsServerStartingUp () const |
| bool | IsCloseGraceful () const |
| bool | IsRouterTypeBGPaaS () const |
| virtual bool | ProcessSession () const |
| void | RoutingInstanceCallback (const std::string &vrf_name, int op) |
| void | ASNUpdateCallback (as_t old_asn, as_t old_local_asn) |
| BgpPeer (AgentXmppChannel *channel, const Ip4Address &server_ip, const std::string &name, DBTableBase::ListenerId id, Peer::Type bgp_peer_type) | |
| virtual | ~BgpPeer () |
| bool | Compare (const Peer *rhs) const |
| void | SetVrfListenerId (DBTableBase::ListenerId id) |
| DBTableBase::ListenerId | GetVrfExportListenerId () |
| void | PeerNotifyRoutes (WalkDoneCb cb) |
| void | PeerNotifyMulticastRoutes (bool associate) |
| void | AllocPeerNotifyWalker () |
| void | ReleasePeerNotifyWalker () |
| void | StopPeerNotifyRoutes () |
| void | DelPeerRoutes (WalkDoneCb walk_done_cb, uint64_t sequence_number) |
| void | DeleteStale () |
| void | AllocDeleteStaleWalker () |
| void | ReleaseDeleteStaleWalker () |
| void | AllocDeletePeerWalker () |
| void | ReleaseDeletePeerWalker () |
| void | StopDeleteStale () |
| ControllerRouteWalker * | route_walker () const |
| ControllerRouteWalker * | delete_stale_walker () const |
| ControllerRouteWalker * | delete_peer_walker () const |
| DBState * | GetVrfExportState (DBTablePartBase *partition, DBEntryBase *e) |
| DBState * | GetRouteExportState (DBTablePartBase *partition, DBEntryBase *e) |
| void | DeleteVrfState (DBTablePartBase *partition, DBEntryBase *entry) |
| uint32_t | setup_time () const |
| Agent * | agent () const |
| AgentXmppChannel * | GetAgentXmppChannel () const |
| uint64_t | ChannelSequenceNumber () const |
| void | set_route_walker_cb (WalkDoneCb cb) |
| void | set_delete_stale_walker_cb (WalkDoneCb cb) |
| void | set_delete_peer_walker_cb (WalkDoneCb cb) |
Public Member Functions inherited from IPeer | |
| virtual | ~IPeer () |
Public Member Functions inherited from IPeerUpdate | |
| virtual | ~IPeerUpdate () |
Public Member Functions inherited from DynamicPeer | |
| DynamicPeer (Agent *agent, Type type, const std::string &name, bool controller_export) | |
| virtual | ~DynamicPeer () |
| virtual bool | SkipAddChangeRequest () const |
| void | StopRouteExports () |
| bool | DeleteTimeout () |
Public Member Functions inherited from Peer | |
| Peer (Type type, const std::string &name, bool controller_export) | |
| virtual | ~Peer () |
| bool | IsLess (const Peer *rhs) const |
| virtual bool | export_to_controller () const |
| virtual const Ip4Address * | NexthopIp (Agent *agent, const AgentPath *path) const |
| const std::string & | GetName () const |
| const Type | GetType () const |
| uint32_t | refcount () const |
| uint64_t | sequence_number () const |
| void | incr_sequence_number () |
Static Public Member Functions | |
| static void | FillBgpNeighborDebugState (BgpNeighborResp *bnr, const IPeerDebugStats *peer) |
| static const std::vector< Address::Family > & | supported_families () |
Static Public Member Functions inherited from DynamicPeer | |
| static void | ProcessDelete (DynamicPeer *p) |
Static Public Attributes | |
| static const int | kEndOfRibSendRetryTime = 1 |
| static const int | kRouteTargetEndOfRibTimeSecs = 30 |
| static const size_t | kMinBufferCapacity = 4096 |
| static const size_t | kMaxBufferCapacity = 32768 |
Static Public Attributes inherited from DynamicPeer | |
| static const uint32_t | kDeleteTimeout = 300 * 1000 |
Protected Member Functions | |
| virtual void | SendEndOfRIBActual (Address::Family family) |
| virtual void | SendEndOfRIB (Address::Family family) |
| int | membership_req_pending () const |
| virtual bool | notification () const |
Private Types | |
| typedef std::map< Address::Family, const uint8_t * > | FamilyToCapabilityMap |
| typedef std::vector< BgpPeerFamilyAttributes * > | FamilyAttributesList |
Static Private Member Functions | |
| static int | Encode (const BgpMessage *msg, uint8_t *data, size_t size, EncodeOffsets *offsets=NULL, bool as4=false) |
Static Private Attributes | |
| static const std::vector< Address::Family > | supported_families_ |
Friends | |
| class | BgpConfigTest |
| class | BgpPeerTest |
| class | BgpServerUnitTest |
| class | StateMachineUnitTest |
Definition at line 82 of file bgp_peer.h.
| typedef std::set<Address::Family> BgpPeer::AddressFamilyList |
Definition at line 89 of file bgp_peer.h.
|
private |
Definition at line 387 of file bgp_peer.h.
|
private |
Definition at line 386 of file bgp_peer.h.
Definition at line 90 of file bgp_peer.h.
| typedef std::set<RouteTarget> BgpPeer::RouteTargetList |
Definition at line 91 of file bgp_peer.h.
| typedef boost::function<void()> BgpPeer::WalkDoneCb |
| BgpPeer::BgpPeer | ( | BgpServer * | server, |
| RoutingInstance * | instance, | ||
| const BgpNeighborConfig * | config | ||
| ) |
|
virtual |
| BgpPeer::BgpPeer | ( | AgentXmppChannel * | channel, |
| const Ip4Address & | server_ip, | ||
| const std::string & | name, | ||
| DBTableBase::ListenerId | id, | ||
| Peer::Type | bgp_peer_type | ||
| ) |
|
virtual |
| bool BgpPeer::AcceptSession | ( | BgpSession * | session | ) |
|
private |
| void BgpPeer::AllocDeletePeerWalker | ( | ) |
| void BgpPeer::AllocDeleteStaleWalker | ( | ) |
| void BgpPeer::AllocPeerNotifyWalker | ( | ) |
| bool BgpPeer::AttemptGRHelperMode | ( | int | code, |
| int | subcode | ||
| ) | const |
|
virtual |
Implements IPeer.
Definition at line 1223 of file bgp_peer.cc.
| string BgpPeer::bgp_identifier_string | ( | ) | const |
Definition at line 1227 of file bgp_peer.cc.
|
private |
|
private |
Definition at line 416 of file bgp_peer.cc.
|
privatevirtual |
Definition at line 815 of file bgp_peer.cc.
|
inline |
Definition at line 185 of file bgp_peer.h.
|
private |
|
private |
Definition at line 2339 of file bgp_peer.cc.
|
virtual |
Implements IPeer.
Definition at line 421 of file bgp_peer.cc.
|
inline |
Definition at line 347 of file bgp_peer.h.
|
private |
|
virtual |
Reimplemented from IPeer.
Definition at line 677 of file bgp_peer.cc.

| void BgpPeer::Clear | ( | int | subcode | ) |
Definition at line 1306 of file bgp_peer.cc.
| void BgpPeer::clear_session | ( | ) |
| void BgpPeer::ClearConfig | ( | ) |
Definition at line 1162 of file bgp_peer.cc.
| void BgpPeer::ClearListenSocketAuthKey | ( | ) |
|
virtual |
Implements IPeer.
Definition at line 1269 of file bgp_peer.cc.
|
inline |
Definition at line 355 of file bgp_peer.h.
|
inlinevirtual |
|
inline |
Definition at line 213 of file bgp_peer.h.
| void BgpPeer::ConfigUpdate | ( | const BgpNeighborConfig * | config | ) |
|
inline |
Definition at line 193 of file bgp_peer.h.
| BgpSession * BgpPeer::CreateSession | ( | ) |
| void BgpPeer::CustomClose | ( | ) |
| ControllerRouteWalker * BgpPeer::delete_peer_walker | ( | ) | const |
| ControllerRouteWalker * BgpPeer::delete_stale_walker | ( | ) | const |
| LifetimeActor * BgpPeer::deleter | ( | ) |
Definition at line 1167 of file bgp_peer.cc.
|
private |
| void BgpPeer::DeleteVrfState | ( | DBTablePartBase * | partition, |
| DBEntryBase * | entry | ||
| ) |
| void BgpPeer::DelPeerRoutes | ( | WalkDoneCb | walk_done_cb, |
| uint64_t | sequence_number | ||
| ) |
|
private |
|
private |
| void BgpPeer::DSCPUpdateCallback | ( | uint8_t | dscp_value | ) |
|
staticprivate |
|
private |
| bool BgpPeer::EndOfRibSendTimerExpired | ( | Address::Family | family | ) |
|
private |
Definition at line 2218 of file bgp_peer.cc.
|
inline |
Definition at line 171 of file bgp_peer.h.
|
static |
|
private |
|
private |
Definition at line 2530 of file bgp_peer.cc.
| void BgpPeer::FillNeighborInfo | ( | const BgpSandeshContext * | bsc, |
| BgpNeighborResp * | bnr, | ||
| bool | summary | ||
| ) | const |
|
inline |
Definition at line 249 of file bgp_peer.h.
|
virtual |
Reimplemented from IPeerUpdate.
Definition at line 1675 of file bgp_peer.cc.

|
private |
| string BgpPeer::gateway_address_string | ( | Address::Family | family | ) | const |
Definition at line 1240 of file bgp_peer.cc.
| uint64_t BgpPeer::get_connect_error | ( | ) | const |
Definition at line 2781 of file bgp_peer.cc.
| uint64_t BgpPeer::get_connect_timer_expired | ( | ) | const |
Definition at line 2785 of file bgp_peer.cc.
| uint64_t BgpPeer::get_hold_timer_expired | ( | ) | const |
Definition at line 2789 of file bgp_peer.cc.
| uint64_t BgpPeer::get_open_error | ( | ) | const |
Definition at line 2793 of file bgp_peer.cc.
| uint64_t BgpPeer::get_rx_end_of_rib | ( | ) | const |
Definition at line 2713 of file bgp_peer.cc.
| uint64_t BgpPeer::get_rx_keepalive | ( | ) | const |
Definition at line 2669 of file bgp_peer.cc.
| uint64_t BgpPeer::get_rx_notification | ( | ) | const |
Definition at line 2701 of file bgp_peer.cc.
| uint64_t BgpPeer::get_rx_route_reach | ( | ) | const |
Definition at line 2729 of file bgp_peer.cc.
| uint64_t BgpPeer::get_rx_route_total | ( | ) | const |
Definition at line 2749 of file bgp_peer.cc.
| uint64_t BgpPeer::get_rx_route_unreach | ( | ) | const |
Definition at line 2741 of file bgp_peer.cc.
| uint64_t BgpPeer::get_rx_update | ( | ) | const |
Definition at line 2685 of file bgp_peer.cc.
| uint64_t BgpPeer::get_socket_reads | ( | ) | const |
Definition at line 2801 of file bgp_peer.cc.
| uint64_t BgpPeer::get_socket_writes | ( | ) | const |
Definition at line 2807 of file bgp_peer.cc.
| uint64_t BgpPeer::get_tx_end_of_rib | ( | ) | const |
Definition at line 2721 of file bgp_peer.cc.
| uint64_t BgpPeer::get_tx_keepalive | ( | ) | const |
Definition at line 2677 of file bgp_peer.cc.
| uint64_t BgpPeer::get_tx_route_reach | ( | ) | const |
Definition at line 2733 of file bgp_peer.cc.
| uint64_t BgpPeer::get_tx_route_total | ( | ) | const |
Definition at line 2755 of file bgp_peer.cc.
| uint64_t BgpPeer::get_tx_route_unreach | ( | ) | const |
Definition at line 2745 of file bgp_peer.cc.
| uint64_t BgpPeer::get_tx_update | ( | ) | const |
Definition at line 2693 of file bgp_peer.cc.
| uint64_t BgpPeer::get_update_error | ( | ) | const |
Definition at line 2797 of file bgp_peer.cc.
| AgentXmppChannel * BgpPeer::GetAgentXmppChannel | ( | ) | const |
|
private |
| bool BgpPeer::GetBestAuthKeyItem | ( | AuthenticationKey * | auth_key | ) |
|
private |
|
virtual |
Implements IPeer.
Definition at line 2141 of file bgp_peer.cc.
|
private |
|
virtual |
|
inline |
Definition at line 205 of file bgp_peer.h.
| string BgpPeer::GetInuseAuthKeyValue | ( | ) | const |
Definition at line 914 of file bgp_peer.cc.
|
private |
Definition at line 1937 of file bgp_peer.cc.
|
private |
|
privatevirtual |
|
private |
|
inlinevirtual |
Implements IPeer.
Definition at line 322 of file bgp_peer.h.
| DBState * BgpPeer::GetRouteExportState | ( | DBTablePartBase * | partition, |
| DBEntryBase * | e | ||
| ) |
|
private |
|
inline |
Definition at line 202 of file bgp_peer.h.
|
inline |
Definition at line 203 of file bgp_peer.h.
|
private |
|
privatevirtual |
| StateMachine::State BgpPeer::GetState | ( | ) | const |
Definition at line 1332 of file bgp_peer.cc.
|
virtual |
Implements IPeer.
Definition at line 1336 of file bgp_peer.cc.
| int BgpPeer::GetTaskInstance | ( | ) | const |
|
inlinevirtual |
Implements IPeer.
Definition at line 313 of file bgp_peer.h.
|
inline |
| DBState * BgpPeer::GetVrfExportState | ( | DBTablePartBase * | partition, |
| DBEntryBase * | e | ||
| ) |
|
inline |
Definition at line 182 of file bgp_peer.h.
| void BgpPeer::inc_connect_error | ( | ) |
Definition at line 2761 of file bgp_peer.cc.
| void BgpPeer::inc_connect_timer_expired | ( | ) |
Definition at line 2765 of file bgp_peer.cc.
| void BgpPeer::inc_hold_timer_expired | ( | ) |
Definition at line 2769 of file bgp_peer.cc.
| void BgpPeer::inc_open_error | ( | ) |
Definition at line 2773 of file bgp_peer.cc.
| void BgpPeer::inc_rx_end_of_rib | ( | ) |
Definition at line 2709 of file bgp_peer.cc.
| void BgpPeer::inc_rx_keepalive | ( | ) |
Definition at line 2665 of file bgp_peer.cc.
| void BgpPeer::inc_rx_notification | ( | ) |
Definition at line 2697 of file bgp_peer.cc.
| void BgpPeer::inc_rx_open | ( | ) |
Definition at line 2657 of file bgp_peer.cc.
| void BgpPeer::inc_rx_route_reach | ( | uint64_t | count | ) |
Definition at line 2725 of file bgp_peer.cc.
| void BgpPeer::inc_rx_route_unreach | ( | uint64_t | count | ) |
Definition at line 2737 of file bgp_peer.cc.
| void BgpPeer::inc_rx_update | ( | ) |
Definition at line 2681 of file bgp_peer.cc.
| void BgpPeer::inc_tx_end_of_rib | ( | ) |
Definition at line 2717 of file bgp_peer.cc.
| void BgpPeer::inc_tx_keepalive | ( | ) |
Definition at line 2673 of file bgp_peer.cc.
| void BgpPeer::inc_tx_notification | ( | ) |
Definition at line 2705 of file bgp_peer.cc.
| void BgpPeer::inc_tx_open | ( | ) |
Definition at line 2661 of file bgp_peer.cc.
| void BgpPeer::inc_tx_update | ( | ) |
Definition at line 2689 of file bgp_peer.cc.
| void BgpPeer::inc_update_error | ( | ) |
Definition at line 2777 of file bgp_peer.cc.
| void BgpPeer::increment_flap_count | ( | ) |
| void BgpPeer::Initialize | ( | ) |
Definition at line 652 of file bgp_peer.cc.
| bool BgpPeer::InstallAuthKeys | ( | ) |
|
privatevirtual |
Definition at line 1808 of file bgp_peer.cc.
|
inline |
Definition at line 221 of file bgp_peer.h.
|
inlinevirtual |
Implements IPeer.
Definition at line 314 of file bgp_peer.h.
| bool BgpPeer::IsCloseGraceful | ( | ) | const |
Definition at line 323 of file bgp_peer.cc.
| bool BgpPeer::IsCloseInProgress | ( | ) | const |
|
virtual |
Reimplemented from DynamicPeer.
Definition at line 1314 of file bgp_peer.cc.
| bool BgpPeer::IsFamilyNegotiated | ( | Address::Family | family | ) |
|
virtual |
Implements IPeer.
Definition at line 1318 of file bgp_peer.cc.
|
inline |
Definition at line 222 of file bgp_peer.h.
|
virtual |
Implements IPeer.
Definition at line 1207 of file bgp_peer.cc.
|
inlinevirtual |
Implements IPeer.
Definition at line 227 of file bgp_peer.h.
|
inlinevirtual |
Implements IPeer.
Definition at line 358 of file bgp_peer.h.
|
virtual |
|
virtual |
Implements IPeer.
Definition at line 1211 of file bgp_peer.cc.
|
private |
Definition at line 2258 of file bgp_peer.cc.
|
private |
| bool BgpPeer::KeepaliveTimerRunning | ( | ) |
|
inline |
Definition at line 250 of file bgp_peer.h.
| string BgpPeer::last_flap_at | ( | ) | const |
|
inline |
Definition at line 183 of file bgp_peer.h.
|
virtual |
Definition at line 1215 of file bgp_peer.cc.
| string BgpPeer::local_bgp_identifier_string | ( | ) | const |
Definition at line 1219 of file bgp_peer.cc.
|
private |
|
inline |
Definition at line 197 of file bgp_peer.h.
| void BgpPeer::ManagedDelete | ( | ) |
|
inlineprotected |
Definition at line 366 of file bgp_peer.h.
|
privatevirtual |
Implements IPeer.
Definition at line 458 of file bgp_peer.cc.
|
virtual |
Implements IPeer.
Definition at line 430 of file bgp_peer.cc.

|
privatevirtual |
|
inline |
Definition at line 342 of file bgp_peer.h.
|
protectedvirtual |
Definition at line 1680 of file bgp_peer.cc.
| void BgpPeer::NotifyEstablished | ( | bool | established | ) |
|
inline |
Definition at line 161 of file bgp_peer.h.
|
inline |
Definition at line 184 of file bgp_peer.h.
|
inline |
Definition at line 169 of file bgp_peer.h.
|
virtual |
Implements IPeer.
Definition at line 1285 of file bgp_peer.cc.
|
virtual |
Implements IPeer.
Definition at line 1289 of file bgp_peer.cc.
|
inline |
Definition at line 164 of file bgp_peer.h.
|
inline |
Definition at line 168 of file bgp_peer.h.
|
inline |
Definition at line 165 of file bgp_peer.h.
|
virtual |
Implements IPeer.
Definition at line 1298 of file bgp_peer.cc.
|
virtual |
Implements IPeer.
Definition at line 1302 of file bgp_peer.cc.
|
inline |
| void BgpPeer::PeerNotifyRoutes | ( | WalkDoneCb | cb | ) |
|
inlinevirtual |
Implements IPeer.
Definition at line 208 of file bgp_peer.h.
|
private |
|
private |
Definition at line 2212 of file bgp_peer.cc.
|
private |
Definition at line 2208 of file bgp_peer.cc.
| bool BgpPeer::PrefixLimitIdleTimerRunning | ( | ) | const |
|
inline |
Definition at line 211 of file bgp_peer.h.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
virtual |
Implements IPeer.
Definition at line 2148 of file bgp_peer.cc.

|
virtual |
| void BgpPeer::ProcessUpdate | ( | const BgpProto::Update * | msg, |
| size_t | msgsize = 0 |
||
| ) |
| void BgpPeer::ReceiveEndOfRIB | ( | Address::Family | family, |
| size_t | msgsize | ||
| ) |
|
virtual |
| void BgpPeer::Register | ( | BgpTable * | table | ) |
| void BgpPeer::Register | ( | BgpTable * | table, |
| const RibExportPolicy & | policy | ||
| ) |
| void BgpPeer::RegisterAllTables | ( | ) |
| void BgpPeer::RegisterToVpnTables | ( | ) |
| void BgpPeer::reset_flap_count | ( | ) |
|
inlinevirtual |
Definition at line 315 of file bgp_peer.h.
| void BgpPeer::ResetCapabilities | ( | ) |
|
private |
| bool BgpPeer::ResumeClose | ( | ) |
Definition at line 463 of file bgp_peer.cc.
| void BgpPeer::RetryDelete | ( | ) |
Definition at line 2471 of file bgp_peer.cc.
| ControllerRouteWalker * BgpPeer::route_walker | ( | ) | const |
|
inline |
Definition at line 170 of file bgp_peer.h.
| void BgpPeer::RoutingInstanceCallback | ( | const std::string & | vrf_name, |
| int | op | ||
| ) |
|
inlinevirtual |
Reimplemented from IPeerUpdate.
Definition at line 229 of file bgp_peer.h.
|
protectedvirtual |
|
protectedvirtual |
| void BgpPeer::SendKeepalive | ( | bool | from_timer | ) |
| void BgpPeer::SendNotification | ( | BgpSession * | , |
| int | code, | ||
| int | subcode = 0, |
||
| const std::string & | data = std::string() |
||
| ) |
| void BgpPeer::SendOpen | ( | TcpSession * | session | ) |
|
inlinevirtual |
Implements IPeerUpdate.
Definition at line 107 of file bgp_peer.h.

|
virtual |
Reimplemented from IPeerUpdate.
|
inlinevirtual |
Implements IPeer.
Definition at line 157 of file bgp_peer.h.
|
inlinevirtual |
Implements IPeer.
Definition at line 158 of file bgp_peer.h.
| BgpSession * BgpPeer::session | ( | ) |
Definition at line 2335 of file bgp_peer.cc.
| void BgpPeer::set_delete_peer_walker_cb | ( | WalkDoneCb | cb | ) |
| void BgpPeer::set_delete_stale_walker_cb | ( | WalkDoneCb | cb | ) |
| void BgpPeer::set_route_walker_cb | ( | WalkDoneCb | cb | ) |
| void BgpPeer::set_session | ( | BgpSession * | session | ) |
|
virtual |
Definition at line 1357 of file bgp_peer.cc.
| bool BgpPeer::SetCapabilities | ( | const BgpProto::OpenMessage * | msg | ) |
|
virtual |
|
private |
Definition at line 870 of file bgp_peer.cc.
| void BgpPeer::SetListenSocketAuthKey | ( | const AuthenticationKey & | auth_key, |
| KeyType | key_type | ||
| ) |
| void BgpPeer::SetSendReady | ( | ) |
| void BgpPeer::SetSessionSocketAuthKey | ( | TcpSession * | session | ) |
| void BgpPeer::SetSessionSocketOptionDscp | ( | TcpSession * | session | ) |
|
inline |
|
private |
| void BgpPeer::StartKeepaliveTimer | ( | ) |
|
privatevirtual |
|
private |
|
inline |
Definition at line 326 of file bgp_peer.h.
|
inline |
Definition at line 327 of file bgp_peer.h.
|
private |
|
private |
|
inlinestatic |
Definition at line 351 of file bgp_peer.h.
|
inlinevirtual |
Implements IPeer.
Definition at line 100 of file bgp_peer.h.
|
inline |
Definition at line 251 of file bgp_peer.h.
|
inlinevirtual |
Implements IPeer.
Definition at line 101 of file bgp_peer.h.
| string BgpPeer::transport_address_string | ( | ) | const |
|
privatevirtual |
|
private |
|
virtual |
Implements IPeer.
Definition at line 1293 of file bgp_peer.cc.

|
virtual |
Implements IPeer.
Definition at line 2182 of file bgp_peer.cc.

|
inlinevirtual |
Implements IPeer.
Definition at line 310 of file bgp_peer.h.
|
friend |
Definition at line 370 of file bgp_peer.h.
|
friend |
Definition at line 371 of file bgp_peer.h.
|
friend |
Definition at line 372 of file bgp_peer.h.
|
friend |
Definition at line 373 of file bgp_peer.h.
|
private |
Definition at line 510 of file bgp_peer.h.
|
private |
Definition at line 521 of file bgp_peer.h.
|
private |
Definition at line 513 of file bgp_peer.h.
|
private |
Definition at line 550 of file bgp_peer.h.
|
private |
Definition at line 546 of file bgp_peer.h.
|
private |
Definition at line 503 of file bgp_peer.h.
|
private |
Definition at line 502 of file bgp_peer.h.
|
private |
Definition at line 523 of file bgp_peer.h.
|
private |
|
private |
Definition at line 536 of file bgp_peer.h.
|
private |
Definition at line 515 of file bgp_peer.h.
|
private |
Definition at line 474 of file bgp_peer.h.
|
private |
Definition at line 531 of file bgp_peer.h.
|
private |
Definition at line 519 of file bgp_peer.h.
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 538 of file bgp_peer.h.
|
private |
Definition at line 545 of file bgp_peer.h.
|
private |
Definition at line 465 of file bgp_peer.h.
|
private |
Definition at line 506 of file bgp_peer.h.
|
private |
Definition at line 507 of file bgp_peer.h.
|
private |
Definition at line 508 of file bgp_peer.h.
|
private |
Definition at line 529 of file bgp_peer.h.
|
mutableprivate |
Definition at line 530 of file bgp_peer.h.
|
private |
Definition at line 542 of file bgp_peer.h.
|
private |
Definition at line 520 of file bgp_peer.h.
|
private |
Definition at line 524 of file bgp_peer.h.
|
private |
|
private |
Definition at line 477 of file bgp_peer.h.
|
private |
Definition at line 539 of file bgp_peer.h.
|
private |
Definition at line 551 of file bgp_peer.h.
|
private |
Definition at line 547 of file bgp_peer.h.
|
private |
Definition at line 548 of file bgp_peer.h.
|
private |
Definition at line 505 of file bgp_peer.h.
|
static |
Definition at line 84 of file bgp_peer.h.
|
static |
Definition at line 87 of file bgp_peer.h.
|
static |
Definition at line 86 of file bgp_peer.h.
|
static |
Definition at line 85 of file bgp_peer.h.
|
private |
Definition at line 544 of file bgp_peer.h.
|
private |
Definition at line 525 of file bgp_peer.h.
|
private |
Definition at line 527 of file bgp_peer.h.
|
private |
Definition at line 518 of file bgp_peer.h.
|
private |
Definition at line 532 of file bgp_peer.h.
|
private |
Definition at line 516 of file bgp_peer.h.
|
private |
Definition at line 511 of file bgp_peer.h.
|
private |
Definition at line 526 of file bgp_peer.h.
|
private |
Definition at line 469 of file bgp_peer.h.
|
private |
Definition at line 528 of file bgp_peer.h.
|
private |
Definition at line 535 of file bgp_peer.h.
|
private |
Definition at line 471 of file bgp_peer.h.
|
private |
Definition at line 466 of file bgp_peer.h.
|
private |
Definition at line 468 of file bgp_peer.h.
|
private |
Definition at line 467 of file bgp_peer.h.
|
private |
Definition at line 537 of file bgp_peer.h.
|
private |
Definition at line 533 of file bgp_peer.h.
|
private |
Definition at line 479 of file bgp_peer.h.
|
mutableprivate |
Definition at line 480 of file bgp_peer.h.
|
mutableprivate |
Definition at line 541 of file bgp_peer.h.
|
private |
Definition at line 514 of file bgp_peer.h.
|
private |
Definition at line 512 of file bgp_peer.h.
|
private |
|
private |
|
private |
Definition at line 470 of file bgp_peer.h.
|
private |
Definition at line 549 of file bgp_peer.h.
|
private |
Definition at line 464 of file bgp_peer.h.
|
private |
Definition at line 509 of file bgp_peer.h.
|
private |
Definition at line 463 of file bgp_peer.h.
|
private |
|
private |
Definition at line 504 of file bgp_peer.h.
|
private |
Definition at line 501 of file bgp_peer.h.
|
private |
Definition at line 534 of file bgp_peer.h.
|
staticprivate |
Definition at line 462 of file bgp_peer.h.
|
mutableprivate |
Definition at line 472 of file bgp_peer.h.
|
private |
Definition at line 543 of file bgp_peer.h.
|
mutableprivate |
Definition at line 540 of file bgp_peer.h.
|
private |
Definition at line 478 of file bgp_peer.h.
|
mutableprivate |
Definition at line 473 of file bgp_peer.h.
|
private |
Definition at line 522 of file bgp_peer.h.