Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.6.0.3
Data Fields

Structure used to report BGP peer status. More...

#include <openapi_bgp_config.h>

Data Fields

open_bgpPeerRxAttrErrors_t attrErr
 Receive path attribute error counters.
 
uint16_t capabilities
 Bitmask indexed by e_OptCapTypes.
 
uint32_t estTime
 How long, in seconds, since the adjacency transitioned into or out of the ESTABLISHED state.
 
uint32_t estTransitions
 Number of transitions to the ESTABLISHED state since BGP counters last cleared.
 
uint32_t flapCount
 Total number of times the neighbors flaps.
 
uint32_t holdTimeConf
 duplicate of configured hold time
 
uint32_t inMaxNlriPerUpdate [OPEN_BGP_AFI_MAX]
 Largest and smallest number of NLRI included in any one UPDATE message received from this peer.
 
uint32_t inMinNlriPerUpdate [OPEN_BGP_AFI_MAX]
 
uint32_t inPfxAccepted [OPEN_BGP_AFI_MAX]
 Number of prefixes accepted from this peer, whose paths do not have an AS path loop and whose BGP NEXT HOP are resolved.
 
uint32_t inPfxCurrent [OPEN_BGP_AFI_MAX]
 Current number of prefixes this peer is advertising to us.
 
uint32_t inPfxRejected [OPEN_BGP_AFI_MAX]
 Number of prefixes rejected from this peer, whose paths have failed the inbound policy checks.
 
uint32_t inPrefix [OPEN_BGP_AFI_MAX]
 Number of prefixes received from this peer.
 
uint32_t inWithdraws [OPEN_BGP_AFI_MAX]
 Number of prefixes this peer has withdrawn.
 
OPEN_BOOL_t ipv4Active
 
OPEN_BOOL_t ipv6Active
 
uint32_t keepAliveTimeConf
 duplicate of configured keep alive time
 
unsigned char lastErrorCode
 Error code and subcode in last NOTIFICATION message sent to or received from peer. More...
 
OPEN_BOOL_t lastErrorInbound
 
unsigned char lastErrorString [OPEN_BGP_ERR_STR_LEN]
 String representations of the previous two. More...
 
unsigned char lastErrorSubcode
 
uint32_t lastErrorTime
 
unsigned char lastSuberrorString [OPEN_BGP_ERR_STR_LEN]
 
uint32_t lastUpdate
 How long, in seconds, since last UPDATE message received from peer.
 
open_inet_addr_t localAddr
 IP address/port of local end of TCP connection to peer.
 
uint16_t localTcpPort
 
uint32_t minASOriginationConf
 Not currently supported.
 
uint32_t minRouteAdvIntConf
 duplicate of configured advertisementInterval
 
uint16_t negHoldTime
 Hold and keepalive times negotiated with peer.
 
uint16_t negKeepaliveTime
 
uint32_t outMaxNlriPerUpdate [OPEN_BGP_AFI_MAX]
 
uint32_t outMinNlriPerUpdate [OPEN_BGP_AFI_MAX]
 
uint32_t outPfxCurrent [OPEN_BGP_AFI_MAX]
 
uint32_t outPrefix [OPEN_BGP_AFI_MAX]
 Similar on the send side.
 
uint32_t outWithdraws [OPEN_BGP_AFI_MAX]
 
uint32_t peerAdminStatus
 Peer admin status.
 
uint32_t peerNegotiatedVersion
 Negotiated Peer Version.
 
uint32_t peerRouterId
 Peer Router Id.
 
OPEN_BGP4_PEER_STATE_t peerState
 Peer status.
 
OPEN_BGP4_PEER_TYPE_t peerType
 Peer type for IPv4.
 
OPEN_BOOL_t remoteAfiEnabled [OPEN_BGP_AFI_MAX]
 AFI data received on this peer.
 
uint32_t remoteAS
 Remote AS.
 
uint16_t remoteTcpPort
 Remote TCP port numbers for TCP connection to peer.
 
uint32_t retryIntervalConf
 Time intervals required by MIB. More...
 
OPEN_BOOL_t rfc5549Support
 RFC 5549 supported.
 
uint32_t rxKeepalive
 
uint32_t rxNotif
 
uint32_t rxOpen
 Receive message stats.
 
uint32_t rxRefresh
 
uint32_t rxTotal
 
uint32_t rxUpdate
 
uint32_t txKeepalive
 
uint32_t txNotif
 
uint32_t txOpen
 Transmit message stats.
 
uint32_t txRefresh
 
uint32_t txTotal
 
uint32_t txUpdate
 
uint16_t updateGroupId [OPEN_BGP_AFI_MAX]
 ID of outbound update group this peer is in.
 
uint32_t updateQueueDrops
 
uint32_t updateQueueHigh
 
uint32_t updateQueueLen
 Receive queue related statistics. More...
 
uint32_t updateQueueLimit
 maximum length accomodated
 

Detailed Description

Structure used to report BGP peer status.

Definition at line 141 of file openapi_bgp_config.h.

Field Documentation

unsigned char open_bgpPeerStatus_s::lastErrorCode

Error code and subcode in last NOTIFICATION message sent to or received from peer.

If lastErrorInbound is L7_TRUE, then NOTIFICATION was received. Otherwise, last NOTIFICATION was sent. lastErrorTime is the number of seconds since the NOTIFICATION flew.

Definition at line 176 of file openapi_bgp_config.h.

unsigned char open_bgpPeerStatus_s::lastErrorString[OPEN_BGP_ERR_STR_LEN]

String representations of the previous two.

Pointer to static strings.

Definition at line 182 of file openapi_bgp_config.h.

uint32_t open_bgpPeerStatus_s::retryIntervalConf

Time intervals required by MIB.

duplicate of one in config structure

Definition at line 196 of file openapi_bgp_config.h.

uint32_t open_bgpPeerStatus_s::updateQueueLen

Receive queue related statistics.

current queue length

Definition at line 254 of file openapi_bgp_config.h.


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