Skip to main content

vnet_hw_interface_t

Struct vnet_hw_interface_t 

Source
#[repr(C, align(64))]
pub struct vnet_hw_interface_t {
Show 35 fields pub cacheline0: __IncompleteArrayField<u8_>, pub flags: vnet_hw_interface_flags_t, pub caps: vnet_hw_if_caps_t, pub hw_address: *mut u8_, pub output_node_index: u32_, pub tx_node_index: u32_, pub if_out_arc_end_node_next_index: u32_, pub dev_class_index: u32_, pub dev_instance: u32_, pub hw_class_index: u32_, pub hw_instance: u32_, pub hw_if_index: u32_, pub sw_if_index: u32_, pub output_node_thread_runtimes: *mut vnet_hw_if_output_node_runtime_t, pub cacheline1: __IncompleteArrayField<u8_>, pub name: *mut u8_, pub link_speed: u32_, pub output_node_next_index: u32_, pub hf: vnet_hash_fn_t, pub max_rate_bits_per_sec: f64_, pub min_frame_size: u32_, pub max_frame_size: u32_, pub frame_overhead: u16_, pub sub_interface_sw_if_index_by_id: *mut uword, pub l2_if_count: u32_, pub l3_if_count: u32_, pub bond_info: *mut uword, pub input_node_index: u32_, pub default_rx_mode: vnet_hw_if_rx_mode, pub rx_queue_indices: *mut u32_, pub tx_queue_indices: *mut u32_, pub numa_node: u8_, pub rss_queues: *mut clib_bitmap_t, pub n_trace: i32_, pub trace_classify_table_index: u32_,
}

Fields§

§cacheline0: __IncompleteArrayField<u8_>§flags: vnet_hw_interface_flags_t§caps: vnet_hw_if_caps_t§hw_address: *mut u8_§output_node_index: u32_§tx_node_index: u32_§if_out_arc_end_node_next_index: u32_§dev_class_index: u32_§dev_instance: u32_§hw_class_index: u32_§hw_instance: u32_§hw_if_index: u32_§sw_if_index: u32_§output_node_thread_runtimes: *mut vnet_hw_if_output_node_runtime_t§cacheline1: __IncompleteArrayField<u8_>§name: *mut u8_§link_speed: u32_§output_node_next_index: u32_§hf: vnet_hash_fn_t§max_rate_bits_per_sec: f64_§min_frame_size: u32_§max_frame_size: u32_§frame_overhead: u16_§sub_interface_sw_if_index_by_id: *mut uword§l2_if_count: u32_§l3_if_count: u32_§bond_info: *mut uword§input_node_index: u32_§default_rx_mode: vnet_hw_if_rx_mode§rx_queue_indices: *mut u32_§tx_queue_indices: *mut u32_§numa_node: u8_§rss_queues: *mut clib_bitmap_t§n_trace: i32_§trace_classify_table_index: u32_

Trait Implementations§

Source§

impl Debug for vnet_hw_interface_t

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for vnet_hw_interface_t

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.