pub enum OpDevGetDumpReply {
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 OpDevGetDumpReply
impl OpDevGetDumpReply
pub fn new<'a>(buf: &'a [u8]) -> IterableOpDevGetDumpReply<'a> ⓘ
Trait Implementations§
Source§impl Clone for OpDevGetDumpReply
impl Clone for OpDevGetDumpReply
Source§fn clone(&self) -> OpDevGetDumpReply
fn clone(&self) -> OpDevGetDumpReply
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 OpDevGetDumpReply
impl RefUnwindSafe for OpDevGetDumpReply
impl Send for OpDevGetDumpReply
impl Sync for OpDevGetDumpReply
impl Unpin for OpDevGetDumpReply
impl UnwindSafe for OpDevGetDumpReply
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