#include <stdio.h>
#include <stdint.h>
#include <sys/types.h>
#include <netlink/netlink-compat.h>
#include <netlink/netlink-kernel.h>
Macros | |
#define | NL_CB_KIND_MAX (__NL_CB_KIND_MAX - 1) |
#define | NL_CB_TYPE_MAX (__NL_CB_TYPE_MAX - 1) |
Typedefs | |
Callback Typedefs | |
typedef int(* | nl_recvmsg_msg_cb_t )(struct nl_msg *msg, void *arg) |
nl_recvmsgs() callback for message processing customization More... | |
typedef int(* | nl_recvmsg_err_cb_t )(struct sockaddr_nl *nla, struct nlmsgerr *nlerr, void *arg) |
nl_recvmsgs() callback for error message processing customization More... | |
Enumerations | |
enum | nl_cb_action { NL_OK, NL_SKIP, NL_STOP } |
Callback actions. More... | |
enum | nl_cb_kind { NL_CB_DEFAULT, NL_CB_VERBOSE, NL_CB_DEBUG, NL_CB_CUSTOM, __NL_CB_KIND_MAX } |
Callback kinds. More... | |
enum | nl_cb_type { NL_CB_VALID, NL_CB_FINISH, NL_CB_OVERRUN, NL_CB_SKIPPED, NL_CB_ACK, NL_CB_MSG_IN, NL_CB_MSG_OUT, NL_CB_INVALID, NL_CB_SEQ_CHECK, NL_CB_SEND_ACK, __NL_CB_TYPE_MAX } |
Callback types. More... | |
#define NL_CB_KIND_MAX (__NL_CB_KIND_MAX - 1) |
Referenced by nl_cb_alloc(), nl_cb_err(), and nl_cb_set().
#define NL_CB_TYPE_MAX (__NL_CB_TYPE_MAX - 1) |
Referenced by nl_cb_alloc(), nl_cb_set(), and nl_cb_set_all().