Struct RxOffloadSupport
pub struct RxOffloadSupport {
pub checksum: bool,
pub tcpv4_gso: bool,
pub tcpv6_gso: bool,
}Expand description
Receive offloads that a frontend negotiated with the guest.
Backends must enable only these capabilities on their host transport. Enabling additional receive offloads can expose packet metadata or oversized aggregate frames that the frontend cannot safely represent.
Fields§
§checksum: boolThe guest can complete a partial transport checksum.
tcpv4_gso: boolThe guest can receive TCPv4 GSO packets.
tcpv6_gso: boolThe guest can receive TCPv6 GSO packets.
Trait Implementations§
§impl Clone for RxOffloadSupport
impl Clone for RxOffloadSupport
§fn clone(&self) -> RxOffloadSupport
fn clone(&self) -> RxOffloadSupport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for RxOffloadSupport
impl Debug for RxOffloadSupport
§impl Default for RxOffloadSupport
impl Default for RxOffloadSupport
§fn default() -> RxOffloadSupport
fn default() -> RxOffloadSupport
Returns the “default value” for a type. Read more
impl Copy for RxOffloadSupport
Auto Trait Implementations§
impl Freeze for RxOffloadSupport
impl RefUnwindSafe for RxOffloadSupport
impl Send for RxOffloadSupport
impl Sync for RxOffloadSupport
impl Unpin for RxOffloadSupport
impl UnsafeUnpin for RxOffloadSupport
impl UnwindSafe for RxOffloadSupport
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