Skip to contentSkip to conversation

extensions: sctp: Explain match types in man page

PATCH New Phil Sutter 1 participant 1 message Apr 29, 2021 netfilter

lore
Share & tools
lore

Phil Sutter

author reviewer
#0 lore raw

PATCH 1/1 extensions: sctp: Explain match types in man page

They weren't mentioned at all.

---
 extensions/libxt_sctp.man | 11 +++++++++++
 1 file changed, 11 insertions(+)
extensions/libxt_sctp.man +11 -0
index 3779d05a45bf0..3e5ffa09c9da7 100644
@@ -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      
Signature · 1 line
2.31.0