pub struct BdtEntry {
pub address: SocketAddrV4,
pub mask: Ipv4Addr,
}Expand description
One row of a broadcast distribution table: a BBMD’s B/IP address and the broadcast distribution mask that says how to reach its subnet (Annex J.2.2.1, J.4.3.2).
A mask of all ones sends forwarded broadcasts to the BBMD itself (two-hop); the subnet’s own mask sends them to its directed broadcast address (one-hop).
Fields§
§address: SocketAddrV4The BBMD’s B/IP address.
mask: Ipv4AddrThe broadcast distribution mask.
Implementations§
Trait Implementations§
impl Copy for BdtEntry
impl Eq for BdtEntry
impl StructuralPartialEq for BdtEntry
Auto Trait Implementations§
impl Freeze for BdtEntry
impl RefUnwindSafe for BdtEntry
impl Send for BdtEntry
impl Sync for BdtEntry
impl Unpin for BdtEntry
impl UnsafeUnpin for BdtEntry
impl UnwindSafe for BdtEntry
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