netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
data.h File Reference
#include <netlink/netlink.h>
Include dependency graph for data.h:
This graph shows which files directly or indirectly include this file:

Functions

struct nl_datanl_data_alloc (const void *, size_t)
 Allocate a new abstract data object. More...
 
struct nl_datanl_data_alloc_attr (const struct nlattr *)
 Allocate abstract data object based on netlink attribute. More...
 
struct nl_datanl_data_clone (const struct nl_data *)
 Clone an abstract data object. More...
 
int nl_data_append (struct nl_data *, void *, size_t)
 Append data to an abstract data object. More...
 
void nl_data_free (struct nl_data *)
 Free an abstract data object. More...
 
void * nl_data_get (const struct nl_data *)
 Get data buffer of abstract data object. More...
 
size_t nl_data_get_size (const struct nl_data *)
 Get size of data buffer of abstract data object. More...
 
int nl_data_cmp (const struct nl_data *, const struct nl_data *)
 Compare two abstract data objects. More...