netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
set Struct Reference

struct set - nftables set More...

#include <rule.h>

Collaboration diagram for set:

Data Fields

struct list_head list
 
struct handle handle
 
struct location location
 
unsigned int refcnt
 
uint32_t flags
 
const struct datatypekeytype
 
unsigned int keylen
 
const struct datatypedatatype
 
unsigned int datalen
 
struct exprinit
 
uint32_t policy
 
struct {
   uint32_t   size
 
desc
 

Detailed Description

struct set - nftables set

: table set list node : set handle : location the set was defined/declared at : reference count : bitmask of set flags : key data type : key length : mapping data type : mapping data len : initializer : set mechanism policy : set mechanism desc

Field Documentation

unsigned int set::datalen
const struct datatype* set::datatype
struct { ... } set::desc
uint32_t set::flags

Referenced by netlink_get_setelems().

struct handle set::handle
unsigned int set::keylen
const struct datatype* set::keytype

Referenced by set_ref_expr_alloc().

struct location set::location

Referenced by set_alloc().

uint32_t set::policy
unsigned int set::refcnt

Referenced by set_alloc(), set_free(), and set_get().

uint32_t set::size

The documentation for this struct was generated from the following file: