Home | History | Annotate | Download | only in lib

Lines Matching refs:nl_sock

181 static struct nl_sock *__alloc_socket(struct nl_cb *cb)
183 struct nl_sock *sk;
206 struct nl_sock *nl_socket_alloc(void)
209 struct nl_sock *sk;
232 struct nl_sock *nl_socket_alloc_cb(struct nl_cb *cb)
244 void nl_socket_free(struct nl_sock *sk)
283 void nl_socket_disable_seq_check(struct nl_sock *sk)
298 unsigned int nl_socket_use_seq(struct nl_sock *sk)
315 void nl_socket_disable_auto_ack(struct nl_sock *sk)
325 void nl_socket_enable_auto_ack(struct nl_sock *sk)
333 int _nl_socket_is_local_port_unspecified(struct nl_sock *sk)
338 uint32_t _nl_socket_generate_local_port_no_release(struct nl_sock *sk)
357 uint32_t nl_socket_get_local_port(const struct nl_sock *sk)
365 * from multiple threads without synchronization. But nl_sock
369 return _nl_socket_generate_local_port_no_release((struct nl_sock *) sk);
386 void nl_socket_set_local_port(struct nl_sock *sk, uint32_t port)
417 int nl_socket_add_memberships(struct nl_sock *sk, int group, ...)
448 int nl_socket_add_membership(struct nl_sock *sk, int group)
465 int nl_socket_drop_memberships(struct nl_sock *sk, int group, ...)
496 int nl_socket_drop_membership(struct nl_sock *sk, int group)
511 void nl_join_groups(struct nl_sock *sk, int groups)
524 uint32_t nl_socket_get_peer_port(const struct nl_sock *sk)
529 void nl_socket_set_peer_port(struct nl_sock *sk, uint32_t port)
534 uint32_t nl_socket_get_peer_groups(const struct nl_sock *sk)
539 void nl_socket_set_peer_groups(struct nl_sock *sk, uint32_t groups)
562 int nl_socket_get_fd(const struct nl_sock *sk)
573 int nl_socket_set_nonblocking(const struct nl_sock *sk)
588 void nl_socket_enable_msg_peek(struct nl_sock *sk)
597 void nl_socket_disable_msg_peek(struct nl_sock *sk)
609 struct nl_cb *nl_socket_get_cb(const struct nl_sock *sk)
614 void nl_socket_set_cb(struct nl_sock *sk, struct nl_cb *cb)
633 int nl_socket_modify_cb(struct nl_sock *sk, enum nl_cb_type type,
649 int nl_socket_modify_err_cb(struct nl_sock *sk, enum nl_cb_kind kind,
675 int nl_socket_set_buffer_size(struct nl_sock *sk, int rxbuf, int txbuf)
715 int nl_socket_set_msg_buf_size(struct nl_sock *sk, size_t bufsize)
728 size_t nl_socket_get_msg_buf_size(struct nl_sock *sk)
740 int nl_socket_set_passcred(struct nl_sock *sk, int state)
767 int nl_socket_recv_pktinfo(struct nl_sock *sk, int state)