MCPcopy Create free account
hub / github.com/SNAS/openbmp / obj_peer_up_event

Class obj_peer_up_event

Server/src/MsgBusInterface.hpp:141–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139 * allocated by the caller and freed by the caller.
140 */
141 struct obj_peer_up_event {
142 char info_data[4096]; ///< Inforamtional data for peer
143 char local_ip[40]; ///< IPv4 or IPv6 printed IP address
144 uint16_t local_port; ///< Local port number
145 uint32_t local_asn; ///< Local ASN for peer
146 uint16_t local_hold_time; ///< BGP hold time
147 char local_bgp_id[16]; ///< Local BGP ID in printed form
148 uint32_t remote_asn; ///< Remote ASN for peer
149 uint16_t remote_port; ///< Remote port number
150 uint16_t remote_hold_time; ///< BGP hold time
151 char remote_bgp_id[16]; ///< Remote Peer BGP ID in printed form
152
153 char sent_cap[4096]; ///< Received Open param capabilities
154 char recv_cap[4096]; ///< Received Open param capabilities
155 };
156
157
158 /// Peer action codes

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected