pub enum OpDevGetDoReply {
Ifindex(u32),
XdpFeatures(u64),
XdpZcMaxSegs(u32),
XdpRxMetadataFeatures(u64),
XskFeatures(u64),
}Available on crate feature
netdev only.Expand description
Get / dump information about a netdev.
Variants§
Ifindex(u32)
netdev ifindex
XdpFeatures(u64)
Bitmask of enabled xdp-features. Associated type: “XdpAct” (enum)
XdpZcMaxSegs(u32)
max fragment count supported by ZC driver
XdpRxMetadataFeatures(u64)
Bitmask of supported XDP receive metadata features. See Documentation/networking/xdp-rx-metadata.rst for more details. Associated type: “XdpRxMetadata” (enum)
XskFeatures(u64)
Bitmask of enabled AF_XDP features. Associated type: “XskFlags” (enum)
Implementations§
Source§impl OpDevGetDoReply
impl OpDevGetDoReply
pub fn new<'a>(buf: &'a [u8]) -> IterableOpDevGetDoReply<'a> ⓘ
Trait Implementations§
Source§impl Clone for OpDevGetDoReply
impl Clone for OpDevGetDoReply
Source§fn clone(&self) -> OpDevGetDoReply
fn clone(&self) -> OpDevGetDoReply
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OpDevGetDoReply
impl RefUnwindSafe for OpDevGetDoReply
impl Send for OpDevGetDoReply
impl Sync for OpDevGetDoReply
impl Unpin for OpDevGetDoReply
impl UnwindSafe for OpDevGetDoReply
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