netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Harsha Sharma <harshasharmaiitr@gmail.com>
To: pablo@netfilter.org, harshasharmaiitr@gmail.com
Cc: netfilter-devel@vger.kernel.org
Subject: [PATCH] doc/nft.xml: Add deletion for objects via handles
Date: Wed, 24 Jan 2018 03:33:10 +0530	[thread overview]
Message-ID: <20180123220310.1910-1-harshasharmaiitr@gmail.com> (raw)

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

Signed-off-by: Harsha Sharma <harshasharmaiitr@gmail.com>
---
 doc/nft.xml | 37 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 36 insertions(+), 1 deletion(-)

diff --git a/doc/nft.xml b/doc/nft.xml
index 9e979af..c1ab48d 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>
@@ -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".
-- 
2.14.1


                 reply	other threads:[~2018-01-23 22:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180123220310.1910-1-harshasharmaiitr@gmail.com \
    --to=harshasharmaiitr@gmail.com \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).