12 #ifndef __NETLINK_TYPES_H_
13 #define __NETLINK_TYPES_H_
27 #define NL_DUMP_MAX (__NL_DUMP_MAX - 1)
107 unsigned int dp_line;
Dump object briefly on one line.
char * dp_buf
Alternatively the output may be redirected into a buffer.
FILE * dp_fd
File descriptor the dumping output should go to.
int dp_print_index
Causes the cache index to be printed for each element.
void(* dp_cb)(struct nl_dump_params *, char *)
A callback invoked for output.
enum nl_dump_type dp_type
Specifies the type of dump that is requested.
Dump all attributes but no statistics.
void(* dp_nl_cb)(struct nl_dump_params *, int)
A callback invoked for every new line, can be used to customize the indentation.
nl_dump_type
Enumeration of dumping variations (dp_type)
int dp_pre_dump
PRIVATE Set if a dump was performed prior to the actual dump handler.
void * dp_data
User data pointer, can be used to pass data to callbacks.
int dp_prefix
Specifies the number of whitespaces to be put in front of every new line (indentation).
size_t dp_buflen
Length of the buffer dp_buf.
int dp_ivar
PRIVATE Owned by the current caller.
Dump all attributes including statistics.
int dp_dump_msgtype
Causes each element to be prefixed with the message type.