pub struct PollLoopConfig {
pub gateway_mac: [u8; 6],
pub guest_mac: [u8; 6],
pub gateway: GatewayIps,
pub guest_ipv4: Ipv4Addr,
pub mtu: usize,
}Expand description
Resolved network parameters for the poll loop. Created by
SmoltcpNetwork::new() from NetworkConfig + sandbox slot.
Fields§
§gateway_mac: [u8; 6]Gateway MAC address (smoltcp’s identity on the virtual LAN).
guest_mac: [u8; 6]Guest MAC address.
gateway: GatewayIpsGateway addresses (IPv4 + IPv6) owned by the smoltcp virtual stack.
guest_ipv4: Ipv4AddrGuest IPv4 address.
mtu: usizeIP-level MTU (e.g. 1500).
Auto Trait Implementations§
impl Freeze for PollLoopConfig
impl RefUnwindSafe for PollLoopConfig
impl Send for PollLoopConfig
impl Sync for PollLoopConfig
impl Unpin for PollLoopConfig
impl UnsafeUnpin for PollLoopConfig
impl UnwindSafe for PollLoopConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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