Logo Search packages:      
Sourcecode: libnl2 version File versions  Download package

void nl_socket_disable_auto_ack ( struct nl_sock *  sk  ) 

Disable automatic request for ACK

  • sk Netlink socket.
The default behaviour of a socket is to request an ACK for each message sent to allow for the caller to synchronize to the completion of the netlink operation. This function disables this behaviour and will result in requests being sent which will not have the NLM_F_ACK flag set automatically. However, it is still possible for the caller to set the NLM_F_ACK flag explicitely.

Definition at line 220 of file socket.c.

      sk->s_flags |= NL_NO_AUTO_ACK;

Generated by  Doxygen 1.6.0   Back to index