mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-25 09:03:30 +01:00
Fix a couple of issues in the tc doc
This commit is contained in:
parent
c937d3b1c0
commit
b5d72e6578
@ -173,8 +173,8 @@
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>MARK - Netfilter has a facility for
|
<para>MARK - Netfilter has a facility for
|
||||||
<firstterm>marking</firstterm> packets. Packet marks have a numeric
|
<firstterm>marking</firstterm> packets. Packet marks have a numeric
|
||||||
value which is limited in Shorewall to the values 1-255 (1-1023 if you
|
value which is limited in Shorewall to the values 1-255 (1-16383 if
|
||||||
set WIDE_TC_MARKS=Yes in <ulink
|
you set WIDE_TC_MARKS=Yes in <ulink
|
||||||
url="manpages/shorewall.conf.html">shorewall.conf</ulink> (5) ). You
|
url="manpages/shorewall.conf.html">shorewall.conf</ulink> (5) ). You
|
||||||
assign packet marks to different types of traffic using entries in the
|
assign packet marks to different types of traffic using entries in the
|
||||||
<filename>/etc/shorewall/tcrules</filename> file.</para>
|
<filename>/etc/shorewall/tcrules</filename> file.</para>
|
||||||
@ -748,10 +748,9 @@ ppp0 6000kbit 500kbit</programlisting>
|
|||||||
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>The number shifted 10 bits to the left (multiplied by
|
<para>The number 0x40000000 logically ORed with the MARK
|
||||||
1024) and logically ORed with the MARK value. The
|
value. The <command>shorewall encode</command> and
|
||||||
<command>shorewall encode</command> and <command>shorewall
|
<command>shorewall decode</command> commands (<ulink
|
||||||
decode</command> commands (<ulink
|
|
||||||
url="manpages/shorewall.html">shorewall</ulink> (8)) may be
|
url="manpages/shorewall.html">shorewall</ulink> (8)) may be
|
||||||
used to translate a mark to/from a <minor>
|
used to translate a mark to/from a <minor>
|
||||||
class.</para>
|
class.</para>
|
||||||
|
Loading…
Reference in New Issue
Block a user