summaryrefslogtreecommitdiffstats
path: root/include/statement.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2013-12-26 20:23:07 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2013-12-28 23:08:20 +0100
commit35f9338e6ae0169b9a8fd665d4f02608224010c5 (patch)
treeefed8635d49e5180e155827c6221c52b6b801ed9 /include/statement.h
parenta54d7b05fb241dae62039d2c200e9a18941cf250 (diff)
netlink: add support to set meta keys
Arturo Borrero added kernel support to set meta keys in http://patchwork.ozlabs.org/patch/305281/ and the corresponding library support in http://patchwork.ozlabs.org/patch/305283/. This patch enhances nft to use this new kernel feature. The following example shows how to set the packet mark. % nft add rule ip filter input meta mark set 22 % nft list table filter table ip filter { chain input { type filter hook input priority 0; meta mark set 0x00000016 } } Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/statement.h')
0 files changed, 0 insertions, 0 deletions