pub fn new(proto: NlFamily) -> Result<Self, io::Error> {
        Ok(NlSocketHandle {
            socket: NlSocket::new(proto)?,
            buffer: SockBuffer::new(),
            position: 0,
            end: 0,
            needs_ack: false,
        })
    }
/// Wrapper around `socket()` syscall filling in the
/// netlink-specific information
Wrapper around `socket()` syscall filling in the
netlink-specific information
Wrapper around ` socket () ` syscall filling in the netlink - specific information
pub fn new(proto: NlFamily) -> Result<Self, io::Error> {
        Ok(NlSocketHandle {
            socket: NlSocket::new(proto)?,
            buffer: SockBuffer::new(),
            position: 0,
            end: 0,
            needs_ack: false,
        })
    }
pub fn new ( proto : NlFamily ) -> Result < Self , io :: Error > { Ok ( NlSocketHandle { socket : NlSocket :: new ( proto ) ? , buffer : SockBuffer :: new ( ) , position : 0 , end : 0 , needs_ack : false , } ) }
Wrapper around `socket()` syscall filling in the
netlink-specific information
Wrapper around ` socket () ` syscall filling in the netlink - specific information
proto
NlFamily
proto
NlFamily