#include <netlink-types.h>
Data Fields | |
nl_recvmsg_msg_cb_t | cb_set [NL_CB_TYPE_MAX+1] |
void * | cb_args [NL_CB_TYPE_MAX+1] |
nl_recvmsg_err_cb_t | cb_err |
void * | cb_err_arg |
int(* | cb_recvmsgs_ow )(struct nl_sock *, struct nl_cb *) |
May be used to replace nl_recvmsgs with your own implementation in all internal calls to nl_recvmsgs. More... | |
int(* | cb_recv_ow )(struct nl_sock *, struct sockaddr_nl *, unsigned char **, struct ucred **) |
Overwrite internal calls to nl_recv, must return the number of octets read and allocate a buffer for the received data. More... | |
int(* | cb_send_ow )(struct nl_sock *, struct nl_msg *) |
Overwrites internal calls to nl_send, must send the netlink message. More... | |
int | cb_refcnt |
void* nl_cb::cb_args[NL_CB_TYPE_MAX+1] |
Referenced by nl_cb_set().
nl_recvmsg_err_cb_t nl_cb::cb_err |
Referenced by nl_cb_err().
void* nl_cb::cb_err_arg |
Referenced by nl_cb_err().
Overwrite internal calls to nl_recv, must return the number of octets read and allocate a buffer for the received data.
Referenced by nl_cb_overwrite_recv().
May be used to replace nl_recvmsgs with your own implementation in all internal calls to nl_recvmsgs.
Referenced by nl_cb_overwrite_recvmsgs(), and nl_recvmsgs().
int nl_cb::cb_refcnt |
Referenced by nl_cb_alloc(), nl_cb_clone(), nl_cb_get(), and nl_cb_put().
Overwrites internal calls to nl_send, must send the netlink message.
Referenced by nl_cb_overwrite_send(), and nl_send_auto_complete().
nl_recvmsg_msg_cb_t nl_cb::cb_set[NL_CB_TYPE_MAX+1] |
Referenced by nl_cb_set(), and nl_sendmsg().