summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorHarsha Sharma <harshasharmaiitr@gmail.com>2018-01-24 03:33:10 +0530
committerPablo Neira Ayuso <pablo@netfilter.org>2018-03-05 17:56:50 +0100
commit07561df0a461257e1be44b6ae8cefcbf0d601947 (patch)
tree75954aee91e8d0288f72232b01e518aa80c713c3 /doc
parent832b2862df471e45142ea2f2a459723b4ad6f4eb (diff)
doc/nft.xml: Add deletion for objects via handles
Add documentation for deletion of tables, chains, sets and objects via unique handles. Signed-off-by: Harsha Sharma <harshasharmaiitr@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/nft.xml37
1 files changed, 36 insertions, 1 deletions
diff --git a/doc/nft.xml b/doc/nft.xml
index dbd4d3f3..f7cf0777 100644
--- a/doc/nft.xml
+++ b/doc/nft.xml
@@ -141,7 +141,7 @@ vi:ts=4 sw=4
<term><option>-a, --handle</option></term>
<listitem>
<para>
- Show rule handles in output.
+ Show object handles in output.
</para>
</listitem>
</varlistentry>
@@ -555,6 +555,14 @@ filter input iif $int_ifs accept
<arg choice="opt"><replaceable>family</replaceable></arg>
<replaceable>table</replaceable>
</cmdsynopsis>
+ <cmdsynopsis>
+ <group choice="req">
+ <arg>delete</arg>
+ </group>
+ <command>table</command>
+ <arg choice="opt"><replaceable>family</replaceable></arg>
+ <literal> handle </literal><replaceable>handle</replaceable>
+ </cmdsynopsis>
</para>
<para>
@@ -647,6 +655,15 @@ filter input iif $int_ifs accept
<replaceable>chain</replaceable>
</cmdsynopsis>
<cmdsynopsis>
+ <group choice="req">
+ <arg>delete</arg>
+ </group>
+ <command>chain</command>
+ <arg choice="opt"><replaceable>family</replaceable></arg>
+ <replaceable>table</replaceable>
+ <literal> handle </literal><replaceable>handle</replaceable>
+ </cmdsynopsis>
+ <cmdsynopsis>
<literal>rename</literal>
<command>chain</command>
<arg choice="opt"><replaceable>family</replaceable></arg>
@@ -926,6 +943,15 @@ table inet filter {
</cmdsynopsis>
<cmdsynopsis>
<group choice="req">
+ <arg>delete</arg>
+ </group>
+ <command> set</command>
+ <arg choice="opt"><replaceable>family</replaceable></arg>
+ <replaceable>table</replaceable>
+ <literal> handle </literal><replaceable>handle</replaceable>
+ </cmdsynopsis>
+ <cmdsynopsis>
+ <group choice="req">
<arg>add</arg>
<arg>delete</arg>
</group>
@@ -1292,6 +1318,15 @@ table inet filter {
<replaceable>table</replaceable>
<replaceable>object</replaceable>
</cmdsynopsis>
+ <cmdsynopsis>
+ <group choice="req">
+ <arg>delete</arg>
+ </group>
+ <command> type</command>
+ <arg choice="opt"><replaceable>family</replaceable></arg>
+ <replaceable>table</replaceable>
+ <literal> handle </literal><replaceable>handle</replaceable>
+ </cmdsynopsis>
</para>
<para>
Stateful objects are attached to tables and are identified by an unique name. They group stateful information from rules, to reference them in rules the keywords "type name" are used e.g. "counter name".