|
struct nl_sock * | nl_socket_alloc (void) |
| Allocate new netlink socket. More...
|
|
struct nl_sock * | nl_socket_alloc_cb (struct nl_cb *) |
| Allocate new socket with custom callbacks. More...
|
|
void | nl_socket_free (struct nl_sock *) |
| Free a netlink socket. More...
|
|
uint32_t | nl_socket_get_local_port (struct nl_sock *) |
|
void | nl_socket_set_local_port (struct nl_sock *, uint32_t) |
| Set local port of socket. More...
|
|
int | nl_socket_add_memberships (struct nl_sock *, int,...) |
| Join groups. More...
|
|
int | nl_socket_add_membership (struct nl_sock *, int) |
|
int | nl_socket_drop_memberships (struct nl_sock *, int,...) |
| Leave groups. More...
|
|
int | nl_socket_drop_membership (struct nl_sock *, int) |
|
void | nl_join_groups (struct nl_sock *, int) |
| Join multicast groups (deprecated) More...
|
|
uint32_t | nl_socket_get_peer_port (struct nl_sock *) |
|
void | nl_socket_set_peer_port (struct nl_sock *, uint32_t) |
|
struct nl_cb * | nl_socket_get_cb (struct nl_sock *) |
|
void | nl_socket_set_cb (struct nl_sock *, struct nl_cb *) |
|
int | nl_socket_modify_cb (struct nl_sock *, enum nl_cb_type, enum nl_cb_kind, nl_recvmsg_msg_cb_t, void *) |
| Modify the callback handler associated to the socket. More...
|
|
int | nl_socket_set_buffer_size (struct nl_sock *, int, int) |
| Set socket buffer size of netlink socket. More...
|
|
int | nl_socket_set_passcred (struct nl_sock *, int) |
| Enable/disable credential passing on netlink socket. More...
|
|
int | nl_socket_recv_pktinfo (struct nl_sock *, int) |
| Enable/disable receival of additional packet information. More...
|
|
void | nl_socket_disable_seq_check (struct nl_sock *) |
| Disable sequence number checking. More...
|
|
unsigned int | nl_socket_use_seq (struct nl_sock *) |
| Use next sequence number. More...
|
|
void | nl_socket_disable_auto_ack (struct nl_sock *) |
| Disable automatic request for ACK. More...
|
|
void | nl_socket_enable_auto_ack (struct nl_sock *) |
| Enable automatic request for ACK (default) More...
|
|
int | nl_socket_get_fd (struct nl_sock *) |
|
int | nl_socket_set_nonblocking (struct nl_sock *) |
| Set file descriptor of socket to non-blocking state. More...
|
|
void | nl_socket_enable_msg_peek (struct nl_sock *) |
| Enable use of MSG_PEEK when reading from socket. More...
|
|
void | nl_socket_disable_msg_peek (struct nl_sock *) |
| Disable use of MSG_PEEK when reading from socket. More...
|
|