Struct gnunet_sys::ip [−][src]
Fields
_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>
ip_tos: u8
ip_len: c_ushort
ip_id: c_ushort
ip_off: c_ushort
ip_ttl: u8
ip_p: u8
ip_sum: c_ushort
ip_src: in_addr
ip_dst: in_addr
Implementations
impl ip
[src]
pub fn ip_hl(&self) -> c_uint
[src]
pub fn set_ip_hl(&mut self, val: c_uint)
[src]
pub fn ip_v(&self) -> c_uint
[src]
pub fn set_ip_v(&mut self, val: c_uint)
[src]
pub fn new_bitfield_1(
ip_hl: c_uint,
ip_v: c_uint
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]
ip_hl: c_uint,
ip_v: c_uint
) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,