def wait_for_ack(sk):
if sk.s_flags & NL_NO_AUTO_ACK:<EOL><INDENT>return <NUM_LIT:0><EOL><DEDENT>return nl_wait_for_ack(sk)<EOL>
https://github.com/thom311/libnl/blob/libnl3_2_25/include/netlink-private/netlink.h#L210.

    Placing this here to avoid circular imports.

    Positional arguments:
    sk -- nl_sock class instance.

    Returns:
    Number of received messages or a negative error code from nl_recvmsgs().