tc: flower: document SCTP ip_proto
Add SCTP ip_proto to help text and man page. Signed-off-by: Simon Horman <simon.horman@netronome.com>
This commit is contained in:
parent
730381fede
commit
6ad7e60c1f
|
|
@ -29,7 +29,7 @@ flower \- flow based traffic control filter
|
||||||
.IR PRIORITY " | "
|
.IR PRIORITY " | "
|
||||||
.BR vlan_eth_type " { " ipv4 " | " ipv6 " | "
|
.BR vlan_eth_type " { " ipv4 " | " ipv6 " | "
|
||||||
.IR ETH_TYPE " } | "
|
.IR ETH_TYPE " } | "
|
||||||
.BR ip_proto " { " tcp " | " udp " | "
|
.BR ip_proto " { " tcp " | " udp " | " sctp " | "
|
||||||
.IR IP_PROTO " } | { "
|
.IR IP_PROTO " } | { "
|
||||||
.BR dst_ip " | " src_ip " } { "
|
.BR dst_ip " | " src_ip " } { "
|
||||||
.IR ipv4_address " | " ipv6_address " } | { "
|
.IR ipv4_address " | " ipv6_address " } | { "
|
||||||
|
|
@ -97,8 +97,8 @@ or an unsigned 16bit value in hexadecimal format.
|
||||||
.BI ip_proto " IP_PROTO"
|
.BI ip_proto " IP_PROTO"
|
||||||
Match on layer four protocol.
|
Match on layer four protocol.
|
||||||
.I IP_PROTO
|
.I IP_PROTO
|
||||||
may be either
|
may be
|
||||||
.BR tcp , udp
|
.BR tcp ", " udp ", " sctp
|
||||||
or an unsigned 8bit value in hexadecimal format.
|
or an unsigned 8bit value in hexadecimal format.
|
||||||
.TP
|
.TP
|
||||||
.BI dst_ip " ADDRESS"
|
.BI dst_ip " ADDRESS"
|
||||||
|
|
@ -114,8 +114,8 @@ option of tc filter.
|
||||||
.TQ
|
.TQ
|
||||||
.BI src_port " NUMBER"
|
.BI src_port " NUMBER"
|
||||||
Match on layer 4 protocol source or destination port number. Only available for
|
Match on layer 4 protocol source or destination port number. Only available for
|
||||||
.BR ip_proto " values " udp " and " tcp ,
|
.BR ip_proto " values " udp ", " tcp " and " sctp
|
||||||
which has to be specified in beforehand.
|
which have to be specified in beforehand.
|
||||||
.TP
|
.TP
|
||||||
.BI enc_key_id " NUMBER"
|
.BI enc_key_id " NUMBER"
|
||||||
.TQ
|
.TQ
|
||||||
|
|
@ -140,8 +140,8 @@ and finally layer four matches
|
||||||
(\fBdst_port\fR and \fBsrc_port\fR)
|
(\fBdst_port\fR and \fBsrc_port\fR)
|
||||||
depend on
|
depend on
|
||||||
.B ip_proto
|
.B ip_proto
|
||||||
being set to either
|
being set to
|
||||||
.BR tcp " or " udp .
|
.BR tcp ", " udp " or " sctp.
|
||||||
.P
|
.P
|
||||||
There can be only used one mask per one prio. If user needs to specify different
|
There can be only used one mask per one prio. If user needs to specify different
|
||||||
mask, he has to use different prio.
|
mask, he has to use different prio.
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ static void explain(void)
|
||||||
" vlan_ethtype [ ipv4 | ipv6 | ETH-TYPE ] |\n"
|
" vlan_ethtype [ ipv4 | ipv6 | ETH-TYPE ] |\n"
|
||||||
" dst_mac MAC-ADDR |\n"
|
" dst_mac MAC-ADDR |\n"
|
||||||
" src_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"
|
" dst_ip [ IPV4-ADDR | IPV6-ADDR ] |\n"
|
||||||
" src_ip [ IPV4-ADDR | IPV6-ADDR ] |\n"
|
" src_ip [ IPV4-ADDR | IPV6-ADDR ] |\n"
|
||||||
" dst_port PORT-NUMBER |\n"
|
" dst_port PORT-NUMBER |\n"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue