Struct r_core::tcphdr[][src]

#[repr(C)]
pub struct tcphdr { pub th_sport: c_ushort, pub th_dport: c_ushort, pub th_seq: tcp_seq, pub th_ack: tcp_seq, pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>, pub th_flags: c_uchar, pub th_win: c_ushort, pub th_sum: c_ushort, pub th_urp: c_ushort, }

Fields

th_sport: c_ushortth_dport: c_ushortth_seq: tcp_seqth_ack: tcp_seq_bitfield_align_1: [u8; 0]_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>th_flags: c_ucharth_win: c_ushortth_sum: c_ushortth_urp: c_ushort

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.