Struct af_packet::RingSettings
[−]
[src]
pub struct RingSettings { pub if_name: String, pub fanout_method: c_int, pub ring_settings: TpacketReq3, }
Settings to be used to bring up each ring
Fields
if_name: String
Interface name
fanout_method: c_int
PACKET_FANOUT_HASH will pin flows to individual threads, PACKET_FANOUT_LB will distribute them across multiple threads
ring_settings: TpacketReq3
Lower-level settings including block size, also enable/disable filling RXHASH in packet data
Trait Implementations
impl Clone for RingSettings
[src]
fn clone(&self) -> RingSettings
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for RingSettings
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Default for RingSettings
[src]
fn default() -> RingSettings
[src]
Returns the "default value" for a type. Read more