summaryrefslogtreecommitdiffstats
path: root/man/systemd.network.xml
diff options
context:
space:
mode:
authorBrad Fitzpatrick <brad@danga.com>2023-04-17 23:36:33 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-04-29 21:30:35 +0200
commitcd18d983493e3f897c24cee6ba354cdcba15f765 (patch)
treef25347bf48c2e83025e801c1ee39c6f4294b7f5c /man/systemd.network.xml
parentMerge pull request #27461 from bluca/coredumpctl_completion (diff)
downloadsystemd-cd18d983493e3f897c24cee6ba354cdcba15f765.tar.xz
systemd-cd18d983493e3f897c24cee6ba354cdcba15f765.zip
man: clarify RoutingPolicyRule.TypeOfService docs
Diffstat (limited to '')
-rw-r--r--man/systemd.network.xml11
1 files changed, 10 insertions, 1 deletions
diff --git a/man/systemd.network.xml b/man/systemd.network.xml
index 01d8897638..1b34000052 100644
--- a/man/systemd.network.xml
+++ b/man/systemd.network.xml
@@ -1247,7 +1247,16 @@ allow my_server_t localnet_peer_t:peer recv;</programlisting>
<varlistentry>
<term><varname>TypeOfService=</varname></term>
<listitem>
- <para>Takes a number between 0 and 255 that specifies the type of service to match.</para>
+ <para>
+ This specifies the Type of Service (ToS) field of packets to match;
+ it takes an unsigned integer in the range 0…255.
+ The field can be used to specify precedence (the first 3 bits) and ToS (the next 3 bits).
+ The field can be also used to specify Differentiated Services Code Point (DSCP) (the first 6 bits) and
+ Explicit Congestion Notification (ECN) (the last 2 bits).
+ See <ulink url="https://en.wikipedia.org/wiki/Type_of_service">Type of Service</ulink>
+ and <ulink url="https://en.wikipedia.org/wiki/Differentiated_services">Differentiated services</ulink>
+ for more details.
+ </para>
</listitem>
</varlistentry>