git: 6de1a005d4ca - main - traceroute.8: Document TOS as DiffServ and ECN

From: Warner Losh <imp_at_FreeBSD.org>
Date: Thu, 18 May 2023 17:17:34 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=6de1a005d4ca69911b1a45d6f94ea021f8abf5fc

commit 6de1a005d4ca69911b1a45d6f94ea021f8abf5fc
Author:     Jesse Rosenstock <jmr@google.com>
AuthorDate: 2023-05-18 17:10:13 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-05-18 17:17:24 +0000

    traceroute.8: Document TOS as DiffServ and ECN
    
    Reviewed by: imp,karels
    Pull Request: https://github.com/freebsd/freebsd-src/pull/744
---
 contrib/traceroute/traceroute.8 | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/contrib/traceroute/traceroute.8 b/contrib/traceroute/traceroute.8
index a10848f564a8..85a7e9d3a17e 100644
--- a/contrib/traceroute/traceroute.8
+++ b/contrib/traceroute/traceroute.8
@@ -164,16 +164,9 @@ Set the
 .Em type-of-service
 in probe packets to the following value (default zero).  The value must be
 a decimal integer in the range 0 to 255.  This option can be used to
-see if different types-of-service result in different paths.  (If you
-are not running 4.4bsd, this may be academic since the normal network
-services like telnet and ftp don't let you control the TOS).
-Not all values of TOS are legal or
-meaningful \- see the IP spec for definitions.  Useful values are
-probably
-.Fl t Ar 16
-(low delay) and
-.Fl t Ar 8
-(high throughput).
+see if different types-of-service result in different paths.  The upper six
+bits are the Differentiated Services Codepoint (RFC4594). The lower two
+bits are the Explicit Congestion Notification field (RFC3168).
 .It Fl v
 Verbose output.  Received ICMP packets other than
 .Dv TIME_EXCEEDED