Struct af_packet::tpacket3::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
tp_block_size: c_uint
Block size of ring
tp_block_nr: c_uint
Number of blocks allocated for ring
tp_frame_size: c_uint
Frame size of ring
tp_frame_nr: c_uint
Number of frames in ring
tp_retire_blk_tov: c_uint
Timeout in milliseconds
tp_sizeof_priv: c_uint
Offset to private data area
tp_feature_req_word: c_uint
Controls whether RXHASH is filled - 0 for false, 1 for true
Trait Implementations
impl Clone for TpacketReq3
[src]
impl Clone for TpacketReq3
fn clone(&self) -> TpacketReq3
[src]
fn clone(&self) -> TpacketReq3
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for TpacketReq3
[src]
impl Debug for TpacketReq3
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for TpacketReq3
[src]
impl Default for TpacketReq3
fn default() -> TpacketReq3
[src]
fn default() -> TpacketReq3
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for TpacketReq3
impl Send for TpacketReq3
impl Sync for TpacketReq3
impl Sync for TpacketReq3