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

struct chain - nftables chain More...

#include <rule.h>

Collaboration diagram for chain:

Data Fields

char * chain
char * policy
struct xt_counters count
int created
struct list_head list
struct handle handle
struct location location
uint32_t flags
const char * hookstr
unsigned int hooknum
int priority
const char * type
struct scope scope
struct list_head rules

Detailed Description

struct chain - nftables chain

: list node in table list : chain handle : location the chain was defined at : chain flags : unified and human readable hook name (base chains) : hook number (base chains) : hook priority (base chains) : chain type : rules contained in the chain

Field Documentation

struct xt_counters chain::count
int chain::created
uint32_t chain::flags

Referenced by chain_print_plain().

unsigned int chain::hooknum

Referenced by chain_print_plain().

const char* chain::hookstr
struct location chain::location
char* chain::policy

Referenced by iptables_xml_main().

int chain::priority

Referenced by chain_print_plain().

struct list_head chain::rules

Referenced by chain_alloc(), and chain_free().

struct scope chain::scope

Referenced by chain_alloc(), and chain_free().

const char* chain::type

Referenced by chain_print_plain().

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