Lines Matching refs:nl_sock

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