Struct libc::sockaddr_dl
source · #[repr(C)]pub struct sockaddr_dl {
pub sdl_len: c_uchar,
pub sdl_family: c_uchar,
pub sdl_index: c_ushort,
pub sdl_type: c_uchar,
pub sdl_nlen: c_uchar,
pub sdl_alen: c_uchar,
pub sdl_slen: c_uchar,
pub sdl_data: [c_char; 12],
}
Fields§
§sdl_len: c_uchar
§sdl_family: c_uchar
§sdl_index: c_ushort
§sdl_type: c_uchar
§sdl_nlen: c_uchar
§sdl_alen: c_uchar
§sdl_slen: c_uchar
§sdl_data: [c_char; 12]
Trait Implementations§
source§impl Clone for sockaddr_dl
impl Clone for sockaddr_dl
source§fn clone(&self) -> sockaddr_dl
fn clone(&self) -> sockaddr_dl
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 more