summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorBrad Fitzpatrick <brad@danga.com>2023-04-17 14:36:33 -0700
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-04-30 04:30:35 +0900
commitcd18d983493e3f897c24cee6ba354cdcba15f765 (patch)
treef25347bf48c2e83025e801c1ee39c6f4294b7f5c /man
parentebd6384d57d555f0fa4c21210a5ded5e2665f78e (diff)
downloadsystemd-cd18d983493e3f897c24cee6ba354cdcba15f765.tar.gz
man: clarify RoutingPolicyRule.TypeOfService docs
Diffstat (limited to 'man')
-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>