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

Interface name

PACKET_FANOUT_HASH will pin flows to individual threads, PACKET_FANOUT_LB will distribute them across multiple threads

Lower-level settings including block size, also enable/disable filling RXHASH in packet data

Trait Implementations

impl Clone for RingSettings
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for RingSettings
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for RingSettings
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for RingSettings

impl Sync for RingSettings