[][src]Struct capsule_ffi::rte_kni_conf

#[repr(C)]pub struct rte_kni_conf {
    pub name: [c_char; 16],
    pub core_id: u32,
    pub group_id: u16,
    pub mbuf_size: c_uint,
    pub addr: rte_pci_addr,
    pub id: rte_pci_id,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub mac_addr: [u8; 6],
    pub mtu: u16,
    pub min_mtu: u16,
    pub max_mtu: u16,
}

Fields

name: [c_char; 16]core_id: u32group_id: u16mbuf_size: c_uintaddr: rte_pci_addrid: rte_pci_id_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>mac_addr: [u8; 6]mtu: u16min_mtu: u16max_mtu: u16

Implementations

impl rte_kni_conf[src]

pub fn force_bind(&self) -> u8[src]

pub fn set_force_bind(&mut self, val: u8)[src]

pub fn new_bitfield_1(force_bind: u8) -> __BindgenBitfieldUnit<[u8; 1], u8>[src]

Trait Implementations

impl Clone for rte_kni_conf[src]

impl Copy for rte_kni_conf[src]

impl Debug for rte_kni_conf[src]

impl Default for rte_kni_conf[src]

impl PartialEq<rte_kni_conf> for rte_kni_conf[src]

impl StructuralPartialEq for rte_kni_conf[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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> 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.