From: Brennan Paciorek <bpaciore@redhat.com>
To: netfilter-devel@vger.kernel.org
Cc: Brennan Paciorek <bpaciore@redhat.com>, Phil Sutter <phil@nwl.cc>
Subject: [nft PATCH] doc: document add chain device parameter
Date: Wed, 2 Aug 2023 14:29:47 -0400 [thread overview]
Message-ID: <20230802182947.24789-1-bpaciore@redhat.com> (raw)
nft add chain lacked documentation of its optional device parameter,
specifically what values the parameter accepted, what it did and
when to use it.
Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1093
Suggested-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Brennan Paciorek <bpaciore@redhat.com>
---
doc/nft.txt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/doc/nft.txt b/doc/nft.txt
index fe123d04..7e47ca39 100644
--- a/doc/nft.txt
+++ b/doc/nft.txt
@@ -434,6 +434,11 @@ further quirks worth noticing:
*prerouting*, *input*, *forward*, *output*, *postrouting* and this *ingress*
hook.
+The *device* parameter accepts a network interface name as a string, and is
+required when adding a base chain that filters traffic on the ingress or
+egress hooks. Any ingress or egress chains will only filter traffic from the
+interface specified in the *device* parameter.
+
The *priority* parameter accepts a signed integer value or a standard priority
name which specifies the order in which chains with the same *hook* value are
traversed. The ordering is ascending, i.e. lower priority values have precedence
--
2.41.0
next reply other threads:[~2023-08-02 18:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-02 18:29 Brennan Paciorek [this message]
2023-08-03 7:45 ` [nft PATCH] doc: document add chain device parameter Pablo Neira Ayuso
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=20230802182947.24789-1-bpaciore@redhat.com \
--to=bpaciore@redhat.com \
--cc=netfilter-devel@vger.kernel.org \
--cc=phil@nwl.cc \
/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