[][src]Struct nc::xdp_md_t

#[repr(C)]
pub struct xdp_md_t {
    pub data: u32,
    pub data_end: u32,
    pub data_meta: u32,
    pub ingress_ifindex: u32,
    pub rx_queue_index: u32,
}

user accessible metadata for XDP packet hook new fields must be added to the end of this structure

Fields

data: u32data_end: u32data_meta: u32ingress_ifindex: u32

Below access go through struct xdp_rxq_info rxq->dev->ifindex

rx_queue_index: u32

rxq->queue_index

Trait Implementations

impl Copy for xdp_md_t[src]

impl Clone for xdp_md_t[src]

Auto Trait Implementations

impl Unpin for xdp_md_t

impl Send for xdp_md_t

impl Sync for xdp_md_t

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.