Lines Matching defs:sk
183 struct nl_sock *sk; in __alloc_socket() local
209 struct nl_sock *sk; in nl_socket_alloc() local
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_set_local_port_no_release(struct nl_sock *sk, int generate_other) in _nl_socket_set_local_port_no_release()
365 uint32_t nl_socket_get_local_port(const struct nl_sock *sk) in nl_socket_get_local_port()
404 void nl_socket_set_local_port(struct nl_sock *sk, uint32_t port) in nl_socket_set_local_port()
435 int nl_socket_add_memberships(struct nl_sock *sk, int group, ...) in nl_socket_add_memberships()
468 int nl_socket_add_membership(struct nl_sock *sk, int group) in nl_socket_add_membership()
485 int nl_socket_drop_memberships(struct nl_sock *sk, int group, ...) in nl_socket_drop_memberships()
518 int nl_socket_drop_membership(struct nl_sock *sk, int group) in nl_socket_drop_membership()
533 void nl_join_groups(struct nl_sock *sk, int groups) in nl_join_groups()
546 uint32_t nl_socket_get_peer_port(const struct nl_sock *sk) in nl_socket_get_peer_port()
551 void nl_socket_set_peer_port(struct nl_sock *sk, uint32_t port) in nl_socket_set_peer_port()
556 uint32_t nl_socket_get_peer_groups(const struct nl_sock *sk) in nl_socket_get_peer_groups()
561 void nl_socket_set_peer_groups(struct nl_sock *sk, uint32_t groups) in nl_socket_set_peer_groups()
584 int nl_socket_get_fd(const struct nl_sock *sk) in nl_socket_get_fd()
616 int nl_socket_set_fd(struct nl_sock *sk, int protocol, int fd) in nl_socket_set_fd()
703 int nl_socket_set_nonblocking(const struct nl_sock *sk) in nl_socket_set_nonblocking()
723 void nl_socket_enable_msg_peek(struct nl_sock *sk) in nl_socket_enable_msg_peek()
734 void nl_socket_disable_msg_peek(struct nl_sock *sk) in nl_socket_disable_msg_peek()
747 struct nl_cb *nl_socket_get_cb(const struct nl_sock *sk) in nl_socket_get_cb()
752 void nl_socket_set_cb(struct nl_sock *sk, struct nl_cb *cb) in nl_socket_set_cb()
771 int nl_socket_modify_cb(struct nl_sock *sk, enum nl_cb_type type, in nl_socket_modify_cb()
787 int nl_socket_modify_err_cb(struct nl_sock *sk, enum nl_cb_kind kind, in nl_socket_modify_err_cb()
813 int nl_socket_set_buffer_size(struct nl_sock *sk, int rxbuf, int txbuf) in nl_socket_set_buffer_size()
870 int nl_socket_set_msg_buf_size(struct nl_sock *sk, size_t bufsize) in nl_socket_set_msg_buf_size()
883 size_t nl_socket_get_msg_buf_size(struct nl_sock *sk) in nl_socket_get_msg_buf_size()
895 int nl_socket_set_passcred(struct nl_sock *sk, int state) in nl_socket_set_passcred()
925 int nl_socket_recv_pktinfo(struct nl_sock *sk, int state) in nl_socket_recv_pktinfo()