Struct capsules_extra::net::tcp::TCPHeader
source · 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)