diff mbox series

[iptables] extensions: sctp: Explain match types in man page

Message ID 20210429110558.25487-1-phil@nwl.cc
State Accepted
Delegated to: Pablo Neira
Headers show
Series [iptables] extensions: sctp: Explain match types in man page | expand

Commit Message

Phil Sutter April 29, 2021, 11:05 a.m. UTC
They weren't mentioned at all.

Signed-off-by: Phil Sutter <phil@nwl.cc>
---
 extensions/libxt_sctp.man | 11 +++++++++++
 1 file changed, 11 insertions(+)
diff mbox series

Patch

diff --git a/extensions/libxt_sctp.man b/extensions/libxt_sctp.man
index 3779d05a45bf0..3e5ffa09c9da7 100644
--- a/extensions/libxt_sctp.man
+++ b/extensions/libxt_sctp.man
@@ -8,6 +8,17 @@  This module matches Stream Control Transmission Protocol headers.
 The flag letter in upper case indicates that the flag is to match if set,
 in the lower case indicates to match if unset.
 
+Match types:
+.TP
+all
+Match if all given chunk types are present and flags match.
+.TP
+any
+Match if any of the given chunk types is present with given flags.
+.TP
+only
+Match if only the given chunk types are present with given flags and none are missing.
+
 Chunk types: DATA INIT INIT_ACK SACK HEARTBEAT HEARTBEAT_ACK ABORT SHUTDOWN SHUTDOWN_ACK ERROR COOKIE_ECHO COOKIE_ACK ECN_ECNE ECN_CWR SHUTDOWN_COMPLETE ASCONF ASCONF_ACK FORWARD_TSN
 
 chunk type            available flags