pub struct TCPHeader {
pub src_port: u16,
pub dst_port: u16,
pub seq_num: u32,
pub ack_num: u32,
pub offset_and_control: u16,
pub window: u16,
pub cksum: u16,
pub urg_ptr: u16,
}
Fields§
§src_port: u16
§dst_port: u16
§seq_num: u32
§ack_num: u32
§offset_and_control: u16
§window: u16
§cksum: u16
§urg_ptr: u16
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TCPHeader
impl RefUnwindSafe for TCPHeader
impl Send for TCPHeader
impl Sync for TCPHeader
impl Unpin for TCPHeader
impl UnwindSafe for TCPHeader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more