xref: /aosp_15_r20/external/curl/docs/cmdline-opts/ip-tos.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker---
2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl
4*6236dae4SAndroid Build Coastguard WorkerLong: ip-tos
5*6236dae4SAndroid Build Coastguard WorkerArg: <string>
6*6236dae4SAndroid Build Coastguard WorkerHelp: Set IP Type of Service or Traffic Class
7*6236dae4SAndroid Build Coastguard WorkerAdded: 8.9.0
8*6236dae4SAndroid Build Coastguard WorkerCategory: connection
9*6236dae4SAndroid Build Coastguard WorkerProtocols: All
10*6236dae4SAndroid Build Coastguard WorkerMulti: single
11*6236dae4SAndroid Build Coastguard WorkerSee-also:
12*6236dae4SAndroid Build Coastguard Worker  - tcp-nodelay
13*6236dae4SAndroid Build Coastguard Worker  - vlan-priority
14*6236dae4SAndroid Build Coastguard WorkerExample:
15*6236dae4SAndroid Build Coastguard Worker  - --ip-tos CS5 $URL
16*6236dae4SAndroid Build Coastguard Worker---
17*6236dae4SAndroid Build Coastguard Worker
18*6236dae4SAndroid Build Coastguard Worker# `--ip-tos`
19*6236dae4SAndroid Build Coastguard Worker
20*6236dae4SAndroid Build Coastguard WorkerSet Type of Service (TOS) for IPv4 or Traffic Class for IPv6.
21*6236dae4SAndroid Build Coastguard Worker
22*6236dae4SAndroid Build Coastguard WorkerThe values allowed for \<string\> can be a numeric value between 1 and 255
23*6236dae4SAndroid Build Coastguard Workeror one of the following:
24*6236dae4SAndroid Build Coastguard Worker
25*6236dae4SAndroid Build Coastguard WorkerCS0, CS1, CS2, CS3, CS4, CS5, CS6, CS7, AF11, AF12, AF13, AF21, AF22, AF23,
26*6236dae4SAndroid Build Coastguard WorkerAF31, AF32, AF33, AF41, AF42, AF43, EF, VOICE-ADMIT, ECT1, ECT0, CE, LE,
27*6236dae4SAndroid Build Coastguard WorkerLOWCOST, LOWDELAY, THROUGHPUT, RELIABILITY, MINCOST
28