pub struct PollLoopConfig {
pub gateway_mac: [u8; 6],
pub guest_mac: [u8; 6],
pub gateway_ipv4: Ipv4Addr,
pub guest_ipv4: Ipv4Addr,
pub gateway_ipv6: Ipv6Addr,
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_ipv4: Ipv4AddrGateway IPv4 address.
guest_ipv4: Ipv4AddrGuest IPv4 address.
gateway_ipv6: Ipv6AddrGateway IPv6 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