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

Functions

struct nfnl_nft_setelemnfnl_nft_setelem_alloc (void)
 
void nfnl_nft_setelem_get (struct nfnl_nft_setelem *)
 
void nfnl_nft_setelem_put (struct nfnl_nft_setelem *)
 
int nfnl_nft_setelem_alloc_cache (struct nl_sock *, struct nfnl_nft_set *, struct nl_cache **)
 Build a set cache holding all nf_tables sets currently in the kernel. More...
 
int nfnl_nft_setelem_dump_request (struct nl_sock *, struct nfnl_nft_set *)
 
int nfnl_nft_setelem_add (struct nl_sock *, struct nfnl_nft_set *, struct nl_cache *, int)
 
int nfnl_nft_setelem_delete (struct nl_sock *, struct nfnl_nft_set *, struct nl_cache *, int)
 
int nfnl_nft_setelem_query (struct nl_sock *, struct nfnl_nft_set *, int)
 
void nfnl_nft_setelem_set_key (struct nfnl_nft_setelem *, struct nfnl_nft_data *)
 
int nfnl_nft_setelem_test_key (const struct nfnl_nft_setelem *)
 
struct nfnl_nft_datanfnl_nft_setelem_get_key (const struct nfnl_nft_setelem *)
 
void nfnl_nft_setelem_set_data (struct nfnl_nft_setelem *, struct nfnl_nft_data *)
 
int nfnl_nft_setelem_test_data (const struct nfnl_nft_setelem *)
 
struct nfnl_nft_datanfnl_nft_setelem_get_data (const struct nfnl_nft_setelem *)
 
void nfnl_nft_setelem_set_flags (struct nfnl_nft_setelem *, uint32_t)
 
int nfnl_nft_setelem_test_flags (const struct nfnl_nft_setelem *)
 
uint32_t nfnl_nft_setelem_get_flags (const struct nfnl_nft_setelem *)
 
char * nfnl_nft_setelem_flags2str (uint32_t, char *, size_t)
 
uint32_t nfnl_nft_setelem_str2flags (const char *)
 

Variables

struct nl_object_ops nft_setelem_obj_ops
 

Function Documentation

struct nfnl_nft_setelem* nfnl_nft_setelem_alloc ( void  )

References nft_setelem_obj_ops, and nl_object_alloc().

Here is the call graph for this function:

char* nfnl_nft_setelem_flags2str ( uint32_t  ,
char *  ,
size_t   
)

References __flags2str(), and ARRAY_SIZE.

Here is the call graph for this function:

void nfnl_nft_setelem_get ( struct nfnl_nft_setelem )

References nl_object_get().

Here is the call graph for this function:

struct nfnl_nft_data* nfnl_nft_setelem_get_data ( const struct nfnl_nft_setelem )
uint32_t nfnl_nft_setelem_get_flags ( const struct nfnl_nft_setelem )
struct nfnl_nft_data* nfnl_nft_setelem_get_key ( const struct nfnl_nft_setelem )
void nfnl_nft_setelem_put ( struct nfnl_nft_setelem )

References nl_object_put().

Here is the call graph for this function:

void nfnl_nft_setelem_set_data ( struct nfnl_nft_setelem ,
struct nfnl_nft_data  
)
void nfnl_nft_setelem_set_flags ( struct nfnl_nft_setelem ,
uint32_t   
)
void nfnl_nft_setelem_set_key ( struct nfnl_nft_setelem ,
struct nfnl_nft_data  
)
uint32_t nfnl_nft_setelem_str2flags ( const char *  )

References __str2flags(), and ARRAY_SIZE.

Here is the call graph for this function:

int nfnl_nft_setelem_test_data ( const struct nfnl_nft_setelem )
int nfnl_nft_setelem_test_flags ( const struct nfnl_nft_setelem )
int nfnl_nft_setelem_test_key ( const struct nfnl_nft_setelem )

Variable Documentation

struct nl_object_ops nft_setelem_obj_ops

Referenced by nfnl_nft_setelem_alloc().