Struct esp_idf_svc::sys::ip_hdr
source · #[repr(C, packed(1))]pub struct ip_hdr {
pub _v_hl: u8,
pub _tos: u8,
pub _len: u16,
pub _id: u16,
pub _offset: u16,
pub _ttl: u8,
pub _proto: u8,
pub _chksum: u16,
pub src: ip4_addr_packed,
pub dest: ip4_addr_packed,
}
Fields§
§_v_hl: u8
§_tos: u8
§_len: u16
§_id: u16
§_offset: u16
§_ttl: u8
§_proto: u8
§_chksum: u16
§src: ip4_addr_packed
§dest: ip4_addr_packed
Trait Implementations§
impl Copy for ip_hdr
Auto Trait Implementations§
impl Freeze for ip_hdr
impl RefUnwindSafe for ip_hdr
impl Send for ip_hdr
impl Sync for ip_hdr
impl Unpin for ip_hdr
impl UnwindSafe for ip_hdr
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§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
)