]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
xt_sctp: Trace DATA chunk that supports SACK-IMMEDIATELY extension
authorShan Wei <shanwei@cn.fujitsu.com>
Tue, 8 Jun 2010 12:15:39 +0000 (14:15 +0200)
committerPatrick McHardy <kaber@trash.net>
Tue, 8 Jun 2010 12:15:39 +0000 (14:15 +0200)
SACK-IMMEDIATELY extension has defined in:
http://tools.ietf.org/html/draft-tuexen-tsvwg-sctp-sack-immediately-03.

And the latest kernel has added a I flag in DATA chunk to support this extension.
So let iptables/netfilter can trace it.

Signed-off-by: Shan Wei<shanwei@cn.fujitsu.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
extensions/libxt_sctp.c
extensions/libxt_sctp.man

index 441f12e2326c4874147ee8d4e6743640c6346302..92bdb079cfce1d65997e8648df5577e8125b6e0d 100644 (file)
@@ -97,7 +97,7 @@ struct sctp_chunk_names {
 
 /*'ALL' and 'NONE' will be treated specially. */
 static const struct sctp_chunk_names sctp_chunk_names[]
-= { { .name = "DATA",          .chunk_type = 0,   .valid_flags = "-----UBE"},
+= { { .name = "DATA",          .chunk_type = 0,   .valid_flags = "----IUBE"},
     { .name = "INIT",          .chunk_type = 1,   .valid_flags = "--------"},
     { .name = "INIT_ACK",      .chunk_type = 2,   .valid_flags = "--------"},
     { .name = "SACK",          .chunk_type = 3,   .valid_flags = "--------"},
index 1ecf05cc07620cb3a6271eff2ddd07dad3d228fb..633e40348e56ba943e579f0da379a15b2d73bfe9 100644 (file)
@@ -11,7 +11,7 @@ Chunk types: DATA INIT INIT_ACK SACK HEARTBEAT HEARTBEAT_ACK ABORT SHUTDOWN SHUT
 
 chunk type            available flags      
 .br
-DATA                  U B E u b e         
+DATA                  I U B E i u b e
 .br
 ABORT                 T t                 
 .br