pub struct PeerUp {
pub local_addr: IpAddr,
pub local_port: u16,
pub remote_port: u16,
pub sent_open: Option<Open>,
pub recv_open: Option<Open>,
pub information: Vec<InformationTlv>,
}Expand description
Peer Up Notification
The Peer Up message is used to indicate that a peering session has come up (i.e., has transitioned into the Established state).
Fields§
§local_addr: IpAddrLocal IP address used in BGP TCP session
local_port: u16Local TCP port
remote_port: u16Remote TCP port
sent_open: Option<Open>BGP OPEN message sent by the BMP speaker
recv_open: Option<Open>BGP OPEN message received by the BMP speaker
information: Vec<InformationTlv>Information TLVs
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PeerUp
impl RefUnwindSafe for PeerUp
impl Send for PeerUp
impl Sync for PeerUp
impl Unpin for PeerUp
impl UnwindSafe for PeerUp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more