Struct nrfxlib_sys::nrf_ifaddrs
source · #[repr(C)]pub struct nrf_ifaddrs {
pub ifa_next: *mut nrf_ifaddrs,
pub ifa_name: *mut c_char,
pub ifa_flags: u32,
pub ifa_addr: *mut nrf_sockaddr,
pub ifa_netmask: *mut nrf_sockaddr,
pub ifa_broadaddr: *mut nrf_sockaddr,
pub ifa_dstaddr: *mut nrf_sockaddr,
pub ifa_data: *mut c_void,
}
Expand description
Interface address information.
Fields§
§ifa_next: *mut nrf_ifaddrs
§ifa_name: *mut c_char
Interface name.
ifa_flags: u32
Interface flags.
ifa_addr: *mut nrf_sockaddr
Interface address.
ifa_netmask: *mut nrf_sockaddr
Interface netmask. Not supported by the modem.
ifa_broadaddr: *mut nrf_sockaddr
Interface broadcast address. Not supported by the modem.
ifa_dstaddr: *mut nrf_sockaddr
Interface destination address. Not supported by the modem.
ifa_data: *mut c_void
Address specific data.
Trait Implementations§
source§impl Clone for nrf_ifaddrs
impl Clone for nrf_ifaddrs
source§fn clone(&self) -> nrf_ifaddrs
fn clone(&self) -> nrf_ifaddrs
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for nrf_ifaddrs
impl Debug for nrf_ifaddrs
impl Copy for nrf_ifaddrs
Auto Trait Implementations§
impl RefUnwindSafe for nrf_ifaddrs
impl !Send for nrf_ifaddrs
impl !Sync for nrf_ifaddrs
impl Unpin for nrf_ifaddrs
impl UnwindSafe for nrf_ifaddrs
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