Lines Matching refs:NetlinkAddr
23 use crate::sys::socket::addr::netlink::NetlinkAddr;
1522 nl: NetlinkAddr,
1607 NetlinkAddr::from_raw(addr, l).map(|nl| Self { nl }) in from_raw()
1782 accessors! {as_netlink_addr, as_netlink_addr_mut, NetlinkAddr,
1996 Netlink(NetlinkAddr),
2043 SockAddr::Netlink(NetlinkAddr::new(pid, groups)) in new_netlink()
2135 NetlinkAddr(ptr::read_unaligned(addr as *const _)), in from_libc_sockaddr()
2215 SockAddr::Netlink(NetlinkAddr(ref sa)) => ( in as_ffi_pair()
2347 pub struct NetlinkAddr(pub(in super::super) sockaddr_nl); struct
2349 impl NetlinkAddr { implementation
2352 pub fn new(pid: u32, groups: u32) -> NetlinkAddr { in new() argument
2358 NetlinkAddr(addr) in new()
2372 impl private::SockaddrLikePriv for NetlinkAddr {} implementation
2373 impl SockaddrLike for NetlinkAddr { implementation
2393 impl AsRef<libc::sockaddr_nl> for NetlinkAddr { implementation
2399 impl fmt::Display for NetlinkAddr { implementation