Family nftables netlink specificationΒΆ
SummaryΒΆ
Netfilter nftables configuration over netlink.
OperationsΒΆ
batch-beginΒΆ
Start a batch of operations
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
genid]
- reply
- attributes:
[
genid]
batch-endΒΆ
Finish a batch of operations
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
genid]
newtableΒΆ
Create a new table.
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
name,flags,userdata]
gettableΒΆ
Get / dump tables.
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
name]
- reply
- attributes:
[
name,use,handle,flags,owner,userdata]
- dump:
- reply
- attributes:
[
name,use,handle,flags,owner,userdata]
deltableΒΆ
Delete an existing table.
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
name,handle]
destroytableΒΆ
Delete an existing table with destroy semantics (ignoring ENOENT errors).
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
name,handle]
newchainΒΆ
Create a new chain.
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
table,handle,policy,flags,hook,name,counters,userdata,type]
getchainΒΆ
Get / dump chains.
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
table,name]
- reply
- attributes:
[
table,name,handle,hook,policy,type,flags,counters,id,use,userdata]
- dump:
- reply
- attributes:
[
table,name,handle,hook,policy,type,flags,counters,id,use,userdata]
delchainΒΆ
Delete an existing chain.
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
table,handle,name,hook]
destroychainΒΆ
Delete an existing chain with destroy semantics (ignoring ENOENT errors).
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
table,handle,name,hook]
newruleΒΆ
Create a new rule.
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
table,chain,chain-id,handle,position,position-id,expressions,userdata,compat]
getruleΒΆ
Get / dump rules.
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
table,chain,handle]
- reply
- attributes:
[
table,chain,handle,position,expressions,userdata]
- dump:
- request
- attributes:
[
table,chain]
- reply
- attributes:
[
table,chain,handle,position,expressions,userdata]
getrule-resetΒΆ
Get / dump rules and reset stateful expressions.
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
table,chain,handle]
- reply
- attributes:
[
table,chain,handle,position,expressions,userdata]
- dump:
- request
- attributes:
[
table,chain,handle]
- reply
- attributes:
[
table,chain,handle,position,expressions,userdata]
delruleΒΆ
Delete an existing rule.
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
table,chain,handle,id]
destroyruleΒΆ
Delete an existing rule with destroy semantics (ignoring ENOENT errors).
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
table,chain,handle,id]
newsetΒΆ
Create a new set.
getsetΒΆ
Get / dump sets.
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
table,name]
- reply
- attributes:
[
table,name,handle,flags,key-len,key-type,data-type,data-len,obj-type,gc-interval,policy,userdata,desc,expr,expressions]
- dump:
- request
- attributes:
[
table]
- reply
- attributes:
[
table,name,handle,flags,key-len,key-type,data-type,data-len,obj-type,gc-interval,policy,userdata,desc,expr,expressions]
delsetΒΆ
Delete an existing set.
destroysetΒΆ
Delete an existing set with destroy semantics (ignoring ENOENT errors).
newsetelemΒΆ
Create a new set element.
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
table,set,set-id,elements]
getsetelemΒΆ
Get / dump set elements.
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
table,set,elements]
- reply
- attributes:
[
elements]
- dump:
- request
- attributes:
[
table,set]
- reply
- attributes:
[
table,set,elements]
getsetelem-resetΒΆ
Get / dump set elements and reset stateful expressions.
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
elements]
- reply
- attributes:
[
table,set,elements]
- dump:
- request
- attributes:
[
table,set]
- reply
- attributes:
[
table,set,elements]
delsetelemΒΆ
Delete an existing set element.
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
table,set,elements]
destroysetelemΒΆ
Delete an existing set element with destroy semantics.
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
table,set,elements]
getgenΒΆ
Get / dump rule-set generation.
newobjΒΆ
Create a new stateful object.
getobjΒΆ
Get / dump stateful objects.
delobjΒΆ
Delete an existing stateful object.
destroyobjΒΆ
Delete an existing stateful object with destroy semantics.
newflowtableΒΆ
Create a new flow table.
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
table,name,hook,flags]
getflowtableΒΆ
Get / dump flow tables.
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
name,table]
- reply
- attributes:
[
table,name,handle,use,flags,hook]
- dump:
- reply
- attributes:
[
table,name,handle,use,flags,hook]
delflowtableΒΆ
Delete an existing flow table.
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
table,name,handle,hook]
destroyflowtableΒΆ
Delete an existing flow table with destroy semantics.
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
table,name,handle,hook]
Multicast groupsΒΆ
mgmt
DefinitionsΒΆ
nfgenmsgΒΆ
- type:
struct
- members:
- nfgen-family (
u8): - version (
u8): - res-id (
u16):
- nfgen-family (
meta-keysΒΆ
- type:
enum
- entries:
lenprotocolprioritymarkiifoifiifnameoifnameiftypeoiftypeskuidskgidnftracertclassidsecmarknfprotol4-protobri-iifnamebri-oifnamepkttypecpuiifgroupoifgroupcgroupprandomsecpathiifkindoifkindbri-iifpvidbri-iifvprototime-nstime-daytime-hoursdifsdifnamebri-broute
bitwise-opsΒΆ
- type:
enum
- entries:
- mask-xor:
mask-and-xor operation used to implement NOT, AND, OR and XOR boolean operations
- lshift:
- rshift:
- and:
- or:
- xor:
cmp-opsΒΆ
- type:
enum
- entries:
eqneqltltegtgte
object-typeΒΆ
- type:
enum
- entries:
unspeccounterquotact-helperlimitconnlimittunnelct-timeoutsecmarkct-expectsynproxy
nat-range-flagsΒΆ
- type:
flags
- entries:
map-ipsproto-specifiedproto-randompersistentproto-random-fullyproto-offsetnetmap
table-flagsΒΆ
- type:
flags
- entries:
dormantownerpersist
chain-flagsΒΆ
- type:
flags
- entries:
basehw-offloadbinding
set-flagsΒΆ
- type:
flags
- entries:
anonymousconstantintervalmaptimeoutevalobjectconcatexpr
set-elem-flagsΒΆ
- type:
flags
- entries:
interval-endcatchall
lookup-flagsΒΆ
- type:
flags
- entries:
invert
ct-keysΒΆ
- type:
enum
- entries:
statedirectionstatusmarksecmarkexpirationhelperl3protocolsrcdstprotocolproto-srcproto-dstlabelspktsbytesavgpktzoneeventmasksrc-ipdst-ipsrc-ip6dst-ip6ct-id
ct-directionΒΆ
- type:
enum
- entries:
originalreply
quota-flagsΒΆ
- type:
flags
- entries:
invertdepleted
verdict-codeΒΆ
- type:
enum
- entries:
- continue:
- break:
- jump:
- goto:
- return:
- drop:
- accept:
- stolen:
- queue:
- repeat:
fib-resultΒΆ
- type:
enum
- entries:
oifoifnameaddrtype
fib-flagsΒΆ
- type:
flags
- entries:
saddrdaddrmarkiifoifpresent
reject-typesΒΆ
- type:
enum
- entries:
icmp-unreachtcp-rsticmpx-unreach
reject-inet-codeΒΆ
- doc:
These codes are mapped to real ICMP and ICMPv6 codes.
- type:
enum
- entries:
icmpx-no-routeicmpx-port-unreachicmpx-host-unreachicmpx-admin-prohibited
payload-baseΒΆ
- type:
enum
- entries:
link-layer-headernetwork-headertransport-headerinner-headertun-header
range-opsΒΆ
- doc:
Range operator
- type:
enum
- entries:
eqneq
registersΒΆ
- doc:
nf_tables registers. nf_tables used to have five registers: a verdict register and four data registers of size 16. The data registers have been changed to 16 registers of size 4. For compatibility reasons, the NFT_REG_[1-4] registers still map to areas of size 16, the 4 byte registers are addressed using NFT_REG32_00 - NFT_REG32_15.
- type:
enum
- entries:
- reg-verdict:
- reg-1:
- reg-2:
- reg-3:
- reg-4:
- reg32-00:
- reg32-01:
- reg32-02:
- reg32-03:
- reg32-04:
- reg32-05:
- reg32-06:
- reg32-07:
- reg32-08:
- reg32-09:
- reg32-10:
- reg32-11:
- reg32-12:
- reg32-13:
- reg32-14:
- reg32-15:
numgen-typesΒΆ
- type:
enum
- entries:
incrementalrandom
log-levelΒΆ
- doc:
nf_tables log levels
- type:
enum
- entries:
- emerg:
system is unusable
- alert:
action must be taken immediately
- crit:
critical conditions
- err:
error conditions
- warning:
warning conditions
- notice:
normal but significant condition
- info:
informational
- debug:
debug-level messages
- audit:
enabling audit logging
log-flagsΒΆ
- doc:
nf_tables log flags
- header:
linux/netfilter/nf_log.h
- type:
flags
- entries:
- tcpseq:
Log TCP sequence numbers
- tcpopt:
Log TCP options
- ipopt:
Log IP options
- uid:
Log UID owning local socket
- nflog:
Unsupported, donβt reuse
- macdecode:
Decode MAC header
Attribute setsΒΆ
log-attrsΒΆ
log expression netlink attributes
group (u16)ΒΆ
- doc:
netlink group to send messages to
- byte-order:
big-endian
prefix (string)ΒΆ
- doc:
prefix to prepend to log messages
snaplen (u32)ΒΆ
- doc:
length of payload to include in netlink message
- byte-order:
big-endian
qthreshold (u16)ΒΆ
- doc:
queue threshold
- byte-order:
big-endian
level (u32)ΒΆ
- doc:
log level
- enum:
- byte-order:
big-endian
flags (u32)ΒΆ
- doc:
logging flags
- enum:
- byte-order:
big-endian
numgen-attrsΒΆ
nf_tables number generator expression netlink attributes
dreg (u32)ΒΆ
- doc:
destination register
- enum:
modulus (u32)ΒΆ
- doc:
maximum counter value
- byte-order:
big-endian
type (u32)ΒΆ
- doc:
operation type
- byte-order:
big-endian
- enum:
offset (u32)ΒΆ
- doc:
offset to be added to the counter
- byte-order:
big-endian
range-attrsΒΆ
sreg (u32)ΒΆ
- doc:
source register of data to compare
- byte-order:
big-endian
- enum:
op (u32)ΒΆ
- doc:
cmp operation
- byte-order:
big-endian
- enum:
from-data (nest)ΒΆ
- doc:
data range from
- nested-attributes:
to-data (nest)ΒΆ
- doc:
data range to
- nested-attributes:
batch-attrsΒΆ
genid (u32)ΒΆ
- doc:
generation ID for this changeset
- byte-order:
big-endian
table-attrsΒΆ
name (string)ΒΆ
- doc:
name of the table
flags (u32)ΒΆ
- byte-order:
big-endian
- doc:
bitmask of flags
- enum:
- enum-as-flags:
True
use (u32)ΒΆ
- byte-order:
big-endian
- doc:
number of chains in this table
handle (u64)ΒΆ
- byte-order:
big-endian
- doc:
numeric handle of the table
pad (pad)ΒΆ
userdata (binary)ΒΆ
- doc:
user data
owner (u32)ΒΆ
- byte-order:
big-endian
- doc:
owner of this table through netlink portID
chain-attrsΒΆ
table (string)ΒΆ
- doc:
name of the table containing the chain
handle (u64)ΒΆ
- byte-order:
big-endian
- doc:
numeric handle of the chain
name (string)ΒΆ
- doc:
name of the chain
hook (nest)ΒΆ
- nested-attributes:
- doc:
hook specification for basechains
policy (u32)ΒΆ
- byte-order:
big-endian
- doc:
numeric policy of the chain
use (u32)ΒΆ
- byte-order:
big-endian
- doc:
number of references to this chain
type (string)ΒΆ
- doc:
type name of the chain
counters (nest)ΒΆ
- nested-attributes:
- doc:
counter specification of the chain
flags (u32)ΒΆ
- byte-order:
big-endian
- doc:
chain flags
- enum:
- enum-as-flags:
True
id (u32)ΒΆ
- byte-order:
big-endian
- doc:
uniquely identifies a chain in a transaction
userdata (binary)ΒΆ
- doc:
user data
counter-attrsΒΆ
bytes (u64)ΒΆ
- byte-order:
big-endian
packets (u64)ΒΆ
- byte-order:
big-endian
pad (pad)ΒΆ
nft-hook-attrsΒΆ
num (u32)ΒΆ
- byte-order:
big-endian
priority (s32)ΒΆ
- byte-order:
big-endian
dev (string)ΒΆ
- doc:
net device name
devs (nest)ΒΆ
- nested-attributes:
- doc:
list of net devices
hook-dev-attrsΒΆ
name (string)ΒΆ
- multi-attr:
True
nft-counter-attrsΒΆ
bytes (u64)ΒΆ
- byte-order:
big-endian
packets (u64)ΒΆ
- byte-order:
big-endian
rule-attrsΒΆ
table (string)ΒΆ
- doc:
name of the table containing the rule
chain (string)ΒΆ
- doc:
name of the chain containing the rule
handle (u64)ΒΆ
- byte-order:
big-endian
- doc:
numeric handle of the rule
expressions (nest)ΒΆ
- nested-attributes:
- doc:
list of expressions
compat (nest)ΒΆ
- nested-attributes:
- doc:
compatibility specifications of the rule
position (u64)ΒΆ
- byte-order:
big-endian
- doc:
numeric handle of the previous rule
userdata (binary)ΒΆ
- doc:
user data
id (u32)ΒΆ
- doc:
uniquely identifies a rule in a transaction
position-id (u32)ΒΆ
- doc:
transaction unique identifier of the previous rule
chain-id (u32)ΒΆ
- doc:
add the rule to chain by ID, alternative to chain name
expr-list-attrsΒΆ
elem (nest)ΒΆ
- nested-attributes:
- multi-attr:
True
expr-attrsΒΆ
name (string)ΒΆ
- doc:
name of the expression type
data (sub-message)ΒΆ
- sub-message:
- selector:
name
- doc:
type specific data
rule-compat-attrsΒΆ
proto (u32)ΒΆ
- byte-order:
big-endian
- doc:
numeric value of the handled protocol
flags (u32)ΒΆ
- byte-order:
big-endian
- doc:
bitmask of flags
set-attrsΒΆ
table (string)ΒΆ
- doc:
table name
name (string)ΒΆ
- doc:
set name
flags (u32)ΒΆ
- enum:
- byte-order:
big-endian
- doc:
bitmask of
enum nft_set_flags
key-type (u32)ΒΆ
- byte-order:
big-endian
- doc:
key data type, informational purpose only
key-len (u32)ΒΆ
- byte-order:
big-endian
- doc:
key data length
data-type (u32)ΒΆ
- byte-order:
big-endian
- doc:
mapping data type
data-len (u32)ΒΆ
- byte-order:
big-endian
- doc:
mapping data length
policy (u32)ΒΆ
- byte-order:
big-endian
- doc:
selection policy
desc (nest)ΒΆ
- nested-attributes:
- doc:
set description
id (u32)ΒΆ
- doc:
uniquely identifies a set in a transaction
timeout (u64)ΒΆ
- doc:
default timeout value
gc-interval (u32)ΒΆ
- doc:
garbage collection interval
userdata (binary)ΒΆ
- doc:
user data
pad (pad)ΒΆ
obj-type (u32)ΒΆ
- byte-order:
big-endian
- doc:
stateful object type
handle (u64)ΒΆ
- byte-order:
big-endian
- doc:
set handle
expr (nest)ΒΆ
- nested-attributes:
- doc:
set expression
- multi-attr:
True
expressions (nest)ΒΆ
- nested-attributes:
- doc:
list of expressions
type (string)ΒΆ
- doc:
set backend type
count (u32)ΒΆ
- byte-order:
big-endian
- doc:
number of set elements
set-desc-attrsΒΆ
size (u32)ΒΆ
- byte-order:
big-endian
- doc:
number of elements in set
concat (nest)ΒΆ
- nested-attributes:
- doc:
description of field concatenation
- multi-attr:
True
set-desc-concat-attrsΒΆ
elem (nest)ΒΆ
- nested-attributes:
set-field-attrsΒΆ
len (u32)ΒΆ
- byte-order:
big-endian
set-list-attrsΒΆ
elem (nest)ΒΆ
- nested-attributes:
- multi-attr:
True
setelem-attrsΒΆ
key (nest)ΒΆ
- nested-attributes:
- doc:
key value
data (nest)ΒΆ
- nested-attributes:
- doc:
data value of mapping
flags (binary)ΒΆ
- doc:
bitmask of nft_set_elem_flags
timeout (u64)ΒΆ
- doc:
timeout value
expiration (u64)ΒΆ
- doc:
expiration time
userdata (binary)ΒΆ
- doc:
user data
expr (nest)ΒΆ
- nested-attributes:
- doc:
expression
objref (string)ΒΆ
- doc:
stateful object reference
key-end (nest)ΒΆ
- nested-attributes:
- doc:
closing key value
expressions (nest)ΒΆ
- nested-attributes:
- doc:
list of expressions
setelem-list-elem-attrsΒΆ
elem (nest)ΒΆ
- nested-attributes:
- multi-attr:
True
setelem-list-attrsΒΆ
table (string)ΒΆ
set (string)ΒΆ
elements (nest)ΒΆ
- nested-attributes:
set-id (u32)ΒΆ
gen-attrsΒΆ
id (u32)ΒΆ
- byte-order:
big-endian
- doc:
ruleset generation id
proc-pid (u32)ΒΆ
- byte-order:
big-endian
proc-name (string)ΒΆ
obj-attrsΒΆ
table (string)ΒΆ
- doc:
name of the table containing the expression
name (string)ΒΆ
- doc:
name of this expression type
type (u32)ΒΆ
- enum:
- byte-order:
big-endian
- doc:
stateful object type
data (sub-message)ΒΆ
- sub-message:
- selector:
type
- doc:
stateful object data
use (u32)ΒΆ
- byte-order:
big-endian
- doc:
number of references to this expression
handle (u64)ΒΆ
- byte-order:
big-endian
- doc:
object handle
pad (pad)ΒΆ
userdata (binary)ΒΆ
- doc:
user data
quota-attrsΒΆ
bytes (u64)ΒΆ
- byte-order:
big-endian
flags (u32)ΒΆ
- byte-order:
big-endian
- enum:
pad (pad)ΒΆ
consumed (u64)ΒΆ
- byte-order:
big-endian
flowtable-attrsΒΆ
table (string)ΒΆ
name (string)ΒΆ
hook (nest)ΒΆ
- nested-attributes:
use (u32)ΒΆ
- byte-order:
big-endian
handle (u64)ΒΆ
- byte-order:
big-endian
pad (pad)ΒΆ
flags (u32)ΒΆ
- byte-order:
big-endian
flowtable-hook-attrsΒΆ
num (u32)ΒΆ
- byte-order:
big-endian
priority (u32)ΒΆ
- byte-order:
big-endian
devs (nest)ΒΆ
- nested-attributes:
expr-bitwise-attrsΒΆ
The bitwise expression supports boolean and shift operations. It implements the boolean operations by performing the following operation:
dreg = (sreg & mask) ^ xor
with these mask and xor values:
op mask xor
---- ---- ---
NOT: 1 1
OR: ~x x
XOR: 1 x
AND: x 0
sreg (u32)ΒΆ
- byte-order:
big-endian
dreg (u32)ΒΆ
- byte-order:
big-endian
len (u32)ΒΆ
- byte-order:
big-endian
mask (nest)ΒΆ
- nested-attributes:
xor (nest)ΒΆ
- nested-attributes:
op (u32)ΒΆ
- byte-order:
big-endian
- enum:
data (nest)ΒΆ
- nested-attributes:
expr-cmp-attrsΒΆ
sreg (u32)ΒΆ
- byte-order:
big-endian
op (u32)ΒΆ
- byte-order:
big-endian
- enum:
data (nest)ΒΆ
- nested-attributes:
data-attrsΒΆ
value (binary)ΒΆ
verdict (nest)ΒΆ
- nested-attributes:
verdict-attrsΒΆ
code (u32)ΒΆ
- doc:
nf_tables verdict
- byte-order:
big-endian
- enum:
chain (string)ΒΆ
- doc:
jump target chain name
chain-id (u32)ΒΆ
- doc:
jump target chain ID
- byte-order:
big-endian
expr-counter-attrsΒΆ
bytes (u64)ΒΆ
- byte-order:
big-endian
- doc:
Number of bytes
packets (u64)ΒΆ
- byte-order:
big-endian
- doc:
Number of packets
pad (pad)ΒΆ
expr-fib-attrsΒΆ
dreg (u32)ΒΆ
- byte-order:
big-endian
result (u32)ΒΆ
- byte-order:
big-endian
- enum:
flags (u32)ΒΆ
- byte-order:
big-endian
- enum:
expr-ct-attrsΒΆ
dreg (u32)ΒΆ
- byte-order:
big-endian
key (u32)ΒΆ
- byte-order:
big-endian
- enum:
direction (u8)ΒΆ
- enum:
sreg (u32)ΒΆ
- byte-order:
big-endian
expr-flow-offload-attrsΒΆ
name (string)ΒΆ
- doc:
Flow offload table name
expr-immediate-attrsΒΆ
dreg (u32)ΒΆ
- byte-order:
big-endian
data (nest)ΒΆ
- nested-attributes:
expr-lookup-attrsΒΆ
set (string)ΒΆ
- doc:
Name of set to use
set-id (u32)ΒΆ
- byte-order:
big-endian
- doc:
ID of set to use
sreg (u32)ΒΆ
- byte-order:
big-endian
dreg (u32)ΒΆ
- byte-order:
big-endian
flags (u32)ΒΆ
- byte-order:
big-endian
- enum:
expr-masq-attrsΒΆ
flags (u32)ΒΆ
- byte-order:
big-endian
- enum:
- enum-as-flags:
True
reg-proto-min (u32)ΒΆ
- byte-order:
big-endian
- enum:
reg-proto-max (u32)ΒΆ
- byte-order:
big-endian
- enum:
expr-meta-attrsΒΆ
dreg (u32)ΒΆ
- byte-order:
big-endian
key (u32)ΒΆ
- byte-order:
big-endian
- enum:
sreg (u32)ΒΆ
- byte-order:
big-endian
expr-nat-attrsΒΆ
type (u32)ΒΆ
- byte-order:
big-endian
family (u32)ΒΆ
- byte-order:
big-endian
reg-addr-min (u32)ΒΆ
- byte-order:
big-endian
reg-addr-max (u32)ΒΆ
- byte-order:
big-endian
reg-proto-min (u32)ΒΆ
- byte-order:
big-endian
reg-proto-max (u32)ΒΆ
- byte-order:
big-endian
flags (u32)ΒΆ
- byte-order:
big-endian
- enum:
- enum-as-flags:
True
expr-payload-attrsΒΆ
nf_tables payload expression netlink attributes
dreg (u32)ΒΆ
- doc:
destination register to load data into
- byte-order:
big-endian
- enum:
base (u32)ΒΆ
- doc:
payload base
- enum:
- byte-order:
big-endian
offset (u32)ΒΆ
- doc:
payload offset relative to base
- byte-order:
big-endian
len (u32)ΒΆ
- doc:
payload length
- byte-order:
big-endian
sreg (u32)ΒΆ
- doc:
source register to load data from
- byte-order:
big-endian
- enum:
csum-type (u32)ΒΆ
- doc:
checksum type
- byte-order:
big-endian
csum-offset (u32)ΒΆ
- doc:
checksum offset relative to base
- byte-order:
big-endian
csum-flags (u32)ΒΆ
- doc:
checksum flags
- byte-order:
big-endian
expr-reject-attrsΒΆ
type (u32)ΒΆ
- byte-order:
big-endian
- enum:
icmp-code (u8)ΒΆ
expr-target-attrsΒΆ
name (string)ΒΆ
rev (u32)ΒΆ
- byte-order:
big-endian
info (binary)ΒΆ
expr-tproxy-attrsΒΆ
family (u32)ΒΆ
- byte-order:
big-endian
reg-addr (u32)ΒΆ
- byte-order:
big-endian
reg-port (u32)ΒΆ
- byte-order:
big-endian
expr-objref-attrsΒΆ
imm-type (u32)ΒΆ
- byte-order:
big-endian
imm-name (string)ΒΆ
- doc:
object name
set-sreg (u32)ΒΆ
- byte-order:
big-endian
set-name (string)ΒΆ
- doc:
name of object map
set-id (u32)ΒΆ
- byte-order:
big-endian
- doc:
id of object map
compat-target-attrsΒΆ
name (string)ΒΆ
rev (u32)ΒΆ
- byte-order:
big-endian
info (binary)ΒΆ
compat-match-attrsΒΆ
name (string)ΒΆ
rev (u32)ΒΆ
- byte-order:
big-endian
info (binary)ΒΆ
compat-attrsΒΆ
name (string)ΒΆ
rev (u32)ΒΆ
- byte-order:
big-endian
type (u32)ΒΆ
- byte-order:
big-endian
Sub-messagesΒΆ
expr-opsΒΆ
- bitwise
- attribute-set:
- cmp
- attribute-set:
- counter
- attribute-set:
- ct
- attribute-set:
- fib
- attribute-set:
- flow_offload
- attribute-set:
- immediate
- attribute-set:
- log
- attribute-set:
- lookup
- attribute-set:
- match
- attribute-set:
- meta
- attribute-set:
- nat
- attribute-set:
- numgen
- attribute-set:
- objref
- attribute-set:
- payload
- attribute-set:
- quota
- attribute-set:
- range
- attribute-set:
- reject
- attribute-set:
- target
- attribute-set:
- tproxy
- attribute-set:
obj-dataΒΆ
- counter
- attribute-set:
- quota
- attribute-set: