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

void nl_socket_disable_seq_check ( struct nl_sock *  sk  ) 

Disable sequence number checking.

  • sk Netlink socket.
Disables checking of sequence numbers on the netlink socket This is required to allow messages to be processed which were not requested by a preceding request message, e.g. netlink events.

This function modifies the NL_CB_SEQ_CHECK configuration in the callback handle associated with the socket.

Definition at line 188 of file socket.c.

References NL_CB_CUSTOM, NL_CB_SEQ_CHECK, and nl_cb_set().

Referenced by nl_cache_mngr_alloc().

      nl_cb_set(sk->s_cb, NL_CB_SEQ_CHECK,
              NL_CB_CUSTOM, noop_seq_check, NULL);

Generated by  Doxygen 1.6.0   Back to index