xref: /curl/docs/cmdline-opts/ip-tos.md (revision 134d2834)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: ip-tos
5Arg: <string>
6Help: Set IP Type of Service or Traffic Class
7Added: 8.9.0
8Category: connection
9Protocols: All
10Multi: single
11See-also:
12  - tcp-nodelay
13  - vlan-priority
14Example:
15  - --ip-tos CS5 $URL
16---
17
18# `--ip-tos`
19
20Set Type of Service (TOS) for IPv4 or Traffic Class for IPv6.
21
22The values allowed for \<string\> can be a numeric value between 1 and 255
23or one of the following:
24
25CS0, CS1, CS2, CS3, CS4, CS5, CS6, CS7, AF11, AF12, AF13, AF21, AF22, AF23,
26AF31, AF32, AF33, AF41, AF42, AF43, EF, VOICE-ADMIT, ECT1, ECT0, CE, LE,
27LOWCOST, LOWDELAY, THROUGHPUT, RELIABILITY, MINCOST
28