12 #ifndef __NETLINK_TYPES_H_
13 #define __NETLINK_TYPES_H_
30 #define NL_DUMP_MAX (__NL_DUMP_MAX - 1)
Dump object in a brief one-liner.
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.
enum nl_dump_type dp_type
Specifies the type of dump that is requested.
void(* dp_cb)(struct nl_dump_params *, char *)
A callback invoked for output.
nl_dump_type
Dumping types (dp_type)
Dump all attribtes in XML format.
void(* dp_nl_cb)(struct nl_dump_params *, int)
A callback invoked for every new line, can be used to customize the indentation.
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.
Dump all attributes but no statistics.
Dump all attributes including statistics.
int dp_dump_msgtype
Causes each element to be prefixed with the message type.
Dump all attribtues as env variables.