Macros | |
#define | NFNL_LOG_DIFF(ATTR, EXPR) ATTR_DIFF(attrs, LOG_ATTR_##ATTR, a, b, EXPR) |
#define | NFNL_LOG_DIFF_VAL(ATTR, FIELD) NFNL_LOG_DIFF(ATTR, a->FIELD != b->FIELD) |
Functions | |
char * | nfnl_log_copy_mode2str (enum nfnl_log_copy_mode copy_mode, char *buf, size_t len) |
enum nfnl_log_copy_mode | nfnl_log_str2copy_mode (const char *name) |
Allocation/Freeing | |
struct nfnl_log * | nfnl_log_alloc (void) |
void | nfnl_log_get (struct nfnl_log *log) |
void | nfnl_log_put (struct nfnl_log *log) |
Variables | |
struct nl_object_ops | log_obj_ops |
#define NFNL_LOG_DIFF | ( | ATTR, | |
EXPR | |||
) | ATTR_DIFF(attrs, LOG_ATTR_##ATTR, a, b, EXPR) |
#define NFNL_LOG_DIFF_VAL | ( | ATTR, | |
FIELD | |||
) | NFNL_LOG_DIFF(ATTR, a->FIELD != b->FIELD) |
char* nfnl_log_copy_mode2str | ( | enum nfnl_log_copy_mode | copy_mode, |
char * | buf, | ||
size_t | len | ||
) |
char* nfnl_log_flags2str | ( | unsigned int | flags, |
char * | buf, | ||
size_t | len | ||
) |
References nfnl_log::log_alloc_size.
enum nfnl_log_copy_mode nfnl_log_get_copy_mode | ( | const struct nfnl_log * | log | ) |
References nfnl_log::log_copy_mode.
References nfnl_log::log_copy_range.
References nfnl_log::log_flush_timeout.
References nfnl_log::log_group.
Referenced by nfnl_log_build_delete_request().
References nfnl_log::log_queue_threshold.
References nfnl_log::log_alloc_size.
void nfnl_log_set_copy_mode | ( | struct nfnl_log * | log, |
enum nfnl_log_copy_mode | mode | ||
) |
References nfnl_log::log_copy_mode.
Referenced by main().
References copy_range, and nfnl_log::log_copy_range.
Referenced by main().
References flags, nfnl_log::log_flag_mask, and nfnl_log::log_flags.
References nfnl_log::log_flush_timeout, and timeout.
References nfnl_log::log_queue_threshold.
enum nfnl_log_copy_mode nfnl_log_str2copy_mode | ( | const char * | name | ) |
References __str2type(), and ARRAY_SIZE.
Referenced by main().
unsigned int nfnl_log_str2flags | ( | const char * | name | ) |
References flags, nfnl_log::log_flag_mask, and nfnl_log::log_flags.
struct nl_object_ops log_obj_ops |
Referenced by nfnl_log_alloc().