/// Sends a netlink message down a netlink socket, and checks if an ACK was
/// properly received.
Sends a netlink message down a netlink socket, and checks if an ACK was
properly received.
Sends a netlink message down a netlink socket and checks if an ACK was properly received .
fn send_and_read_ack<T, P>(sock: &mut NlSocketHandle, msg: Nlmsghdr<T, P>) -> Result<(), NlError>
where
    T: neli::Nl + NlType + Debug,
    P: neli::Nl + Debug,
{
    sock.send(msg)
}
fn send_and_read_ack < T , P > ( sock : & mut NlSocketHandle , msg : Nlmsghdr < T , P > ) -> Result < ( ) , NlError > where T : neli :: Nl + NlType + Debug , P : neli :: Nl + Debug , { sock . send ( msg ) }
Sends a netlink message down a netlink socket, and checks if an ACK was
properly received.
Sends a netlink message down a netlink socket and checks if an ACK was properly received .
sock
&mut NlSocketHandle
msg
Nlmsghdr<T, P>