Struct af_packet::TpacketReq3 [] [src]

#[repr(C)]
pub struct TpacketReq3 { pub tp_block_size: c_uint, pub tp_block_nr: c_uint, pub tp_frame_size: c_uint, pub tp_frame_nr: c_uint, pub tp_retire_blk_tov: c_uint, pub tp_sizeof_priv: c_uint, pub tp_feature_req_word: c_uint, }

Lower-level settings about ring buffer allocation and behavior tp_frame_size * tp_frame_nr must equal tp_block_size * tp_block_nr

Fields

Block size of ring

Number of blocks allocated for ring

Frame size of ring

Number of frames in ring

Timeout in milliseconds

Offset to private data area

Controls whether RXHASH is filled - 0 for false, 1 for true

Trait Implementations

impl Clone for TpacketReq3
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for TpacketReq3
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for TpacketReq3
[src]

[src]

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

Auto Trait Implementations

impl Send for TpacketReq3

impl Sync for TpacketReq3