]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
tc: flower: document SCTP ip_proto
authorSimon Horman <simon.horman@netronome.com>
Sat, 3 Dec 2016 08:52:38 +0000 (09:52 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 5 Dec 2016 18:13:26 +0000 (10:13 -0800)
Add SCTP ip_proto to help text and man page.

Signed-off-by: Simon Horman <simon.horman@netronome.com>
man/man8/tc-flower.8
tc/f_flower.c

index 11cf774dd7deb65344e1356519957a9a33bdd0a7..744c450b45318285e623b2413ef88b57cd6b19f4 100644 (file)
@@ -29,7 +29,7 @@ flower \- flow based traffic control filter
 .IR PRIORITY " | "
 .BR vlan_eth_type " { " ipv4 " | " ipv6 " | "
 .IR ETH_TYPE " } | "
-.BR ip_proto " { " tcp " | " udp " | "
+.BR ip_proto " { " tcp " | " udp " | " sctp " | "
 .IR IP_PROTO " } | { "
 .BR dst_ip " | " src_ip " } { "
 .IR ipv4_address " | " ipv6_address " } | { "
@@ -97,8 +97,8 @@ or an unsigned 16bit value in hexadecimal format.
 .BI ip_proto " IP_PROTO"
 Match on layer four protocol.
 .I IP_PROTO
-may be either
-.BR tcp , udp
+may be
+.BR tcp ", " udp ", " sctp
 or an unsigned 8bit value in hexadecimal format.
 .TP
 .BI dst_ip " ADDRESS"
@@ -114,8 +114,8 @@ option of tc filter.
 .TQ
 .BI src_port " NUMBER"
 Match on layer 4 protocol source or destination port number. Only available for
-.BR ip_proto " values " udp " and " tcp ,
-which has to be specified in beforehand.
+.BR ip_proto " values " udp ", " tcp  " and " sctp
+which have to be specified in beforehand.
 .TP
 .BI enc_key_id " NUMBER"
 .TQ
@@ -140,8 +140,8 @@ and finally layer four matches
 (\fBdst_port\fR and \fBsrc_port\fR)
 depend on
 .B ip_proto
-being set to either
-.BR tcp " or " udp .
+being set to
+.BR tcp ", " udp " or " sctp.
 .P
 There can be only used one mask per one prio. If user needs to specify different
 mask, he has to use different prio.
index 7e7f4c92a9479f70b8f9123a7dbc22fe38d95f67..f04c594d06ae9a872c681ec8c67186efe321ddc6 100644 (file)
@@ -37,7 +37,7 @@ static void explain(void)
                "                       vlan_ethtype [ ipv4 | ipv6 | ETH-TYPE ] |\n"
                "                       dst_mac MAC-ADDR |\n"
                "                       src_mac MAC-ADDR |\n"
-               "                       ip_proto [tcp | udp | IP-PROTO ] |\n"
+               "                       ip_proto [tcp | udp | sctp | IP-PROTO ] |\n"
                "                       dst_ip [ IPV4-ADDR | IPV6-ADDR ] |\n"
                "                       src_ip [ IPV4-ADDR | IPV6-ADDR ] |\n"
                "                       dst_port PORT-NUMBER |\n"