public static extern int nl_socket_set_msg_buf_size(nl_sock *sk, uint bufsize);
public static extern void nl_complete_msg(nl_sock *sk, nl_msg *msg);
public static extern int nl_cache_refill(nl_sock *sk, nl_cache *cache);
public static extern uint nl_socket_get_peer_port(nl_sock *sk);
public static extern void nl_auto_complete(nl_sock *sk, nl_msg *msg);
public static extern int nl_wait_for_ack(nl_sock *sk);
public static extern uint nl_socket_get_local_port(nl_sock *sk);
public static extern int nl_send_simple(nl_sock *sk, int type, int flags, void *buf, uint size);
public static extern int nl_send(nl_sock *sk, nl_msg *msg);
public static extern int nl_rtgen_request(nl_sock *sk, int type, int family, int flags);
public static extern int nl_send_auto_complete(nl_sock *sk, nl_msg *msg);
public static extern int nl_recvmsgs_default(nl_sock *sk);
public static extern int nl_connect(nl_sock *sk, int protocol);
public static extern int nl_cache_request_full_dump(nl_sock *sk, nl_cache *cache);
public static extern int nl_socket_set_nonblocking(nl_sock *sk);
public static extern int nl_sendto(nl_sock *sk, void *buf, uint size);
public static extern int nl_socket_set_passcred(nl_sock *sk, int state);
public static extern int nl_socket_drop_membership(nl_sock *sk, int group);
public static extern uint nl_socket_get_msg_buf_size(nl_sock *sk);
public static extern int nl_socket_get_fd(nl_sock *sk);
public static extern uint nl_socket_get_peer_groups(nl_sock *sk);
public static extern int nl_socket_recv_pktinfo(nl_sock *sk, int state);
public static extern uint nl_socket_use_seq(nl_sock *sk);
public static extern int nl_socket_set_buffer_size(nl_sock *sk, int rxbuf, int txbuf);
public static extern void nl_close(nl_sock *sk);
public static extern int nl_socket_set_fd(nl_sock *sk, int protocol, int fd);
public static extern void nl_join_groups(nl_sock *sk, int groups);
public static extern int nl_cache_pickup(nl_sock *sk, nl_cache *cache);