Struct esp_idf_sys::ip_hdr
source · #[repr(C, packed(1))]pub struct ip_hdr {
pub _v_hl: u8_t,
pub _tos: u8_t,
pub _len: u16_t,
pub _id: u16_t,
pub _offset: u16_t,
pub _ttl: u8_t,
pub _proto: u8_t,
pub _chksum: u16_t,
pub src: ip4_addr_p_t,
pub dest: ip4_addr_p_t,
}
Fields§
§_v_hl: u8_t
§_tos: u8_t
§_len: u16_t
§_id: u16_t
§_offset: u16_t
§_ttl: u8_t
§_proto: u8_t
§_chksum: u16_t
§src: ip4_addr_p_t
§dest: ip4_addr_p_t
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
)