Skip to contentSkip to conversation

doc/nft.xml: Add deletion for objects via handles

PATCH New Harsha Sharma 1 participant 1 message Jan 23, 2018 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc/nft.xml: Add deletion for objects via handles

Add documentation for deletion of tables, chains, sets and objects via unique handles.

---
 doc/nft.xml | 37 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 36 insertions(+), 1 deletion(-)
doc/nft.xml +36 -1
index 9e979af..c1ab48d 100644
@@ -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>
@@ -646,6 +654,15 @@ filter input iif $int_ifs accept
 				<replaceable>table</replaceable>
 				<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>
@@ -896,6 +913,15 @@ filter input iif $int_ifs accept
 				<replaceable>table</replaceable>
 				<replaceable>set</replaceable>
 			</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>
@@ -1174,6 +1200,15 @@ filter input iif $int_ifs accept
 				<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".
Signature · 1 line
2.14.1