[][src]Struct capsule_ffi::rte_kni_ops

#[repr(C)]pub struct rte_kni_ops {
    pub port_id: u16,
    pub change_mtu: Option<unsafe extern "C" fn(port_id: u16, new_mtu: c_uint) -> c_int>,
    pub config_network_if: Option<unsafe extern "C" fn(port_id: u16, if_up: u8) -> c_int>,
    pub config_mac_address: Option<unsafe extern "C" fn(port_id: u16, mac_addr: *mut u8) -> c_int>,
    pub config_promiscusity: Option<unsafe extern "C" fn(port_id: u16, to_on: u8) -> c_int>,
    pub config_allmulticast: Option<unsafe extern "C" fn(port_id: u16, to_on: u8) -> c_int>,
}

Fields

port_id: u16change_mtu: Option<unsafe extern "C" fn(port_id: u16, new_mtu: c_uint) -> c_int>config_network_if: Option<unsafe extern "C" fn(port_id: u16, if_up: u8) -> c_int>config_mac_address: Option<unsafe extern "C" fn(port_id: u16, mac_addr: *mut u8) -> c_int>config_promiscusity: Option<unsafe extern "C" fn(port_id: u16, to_on: u8) -> c_int>config_allmulticast: Option<unsafe extern "C" fn(port_id: u16, to_on: u8) -> c_int>

Trait Implementations

impl Clone for rte_kni_ops[src]

impl Copy for rte_kni_ops[src]

impl Debug for rte_kni_ops[src]

impl Default for rte_kni_ops[src]

impl PartialEq<rte_kni_ops> for rte_kni_ops[src]

impl StructuralPartialEq for rte_kni_ops[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.