netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] iproute: update dsfield file values
@ 2014-09-15  3:43 Stephen Hemminger
  2014-09-15 11:06 ` Jesper Dangaard Brouer
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Hemminger @ 2014-09-15  3:43 UTC (permalink / raw)
  To: netdev


Update the rt_dsfield file to contain values defined in current RFC.
The days of TOS precedence are gone, even Cisco doesn't refer
to these in the documents.
---
 etc/iproute2/rt_dsfield | 26 ++++++++++++--------------
 1 file changed, 12 insertions(+), 14 deletions(-)

diff --git a/etc/iproute2/rt_dsfield b/etc/iproute2/rt_dsfield
index 496ef66..c0f3679 100644
--- a/etc/iproute2/rt_dsfield
+++ b/etc/iproute2/rt_dsfield
@@ -1,17 +1,6 @@
-0x00	default
-0x10	lowdelay
-0x08	throughput
-0x04	reliability
-# This value overlap with ECT, do not use it!
-0x02	mincost
-# These values seems do not want to die, Cisco likes them by a strange reason.
-0x20	priority
-0x40	immediate
-0x60	flash
-0x80	flash-override
-0xa0	critical
-0xc0	internet
-0xe0	network
+# Differentiated field values
+# These include the DSCP and unused bits
+0x0	default
 # Newer RFC2597 values
 0x28	AF11
 0x30	AF12
@@ -25,3 +14,12 @@
 0x88	AF41
 0x90	AF42
 0x98	AF43
+# Older values RFC2474
+0x20	CS1
+0x40	CS2
+0x60	CS3
+0x80	CS4
+0xA0	CS5
+0xC0	CS6
+0xE0	CS7
+0x5C	EF
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-09-15 12:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-15  3:43 [PATCH] iproute: update dsfield file values Stephen Hemminger
2014-09-15 11:06 ` Jesper Dangaard Brouer
2014-09-15 11:48   ` Eric Dumazet
2014-09-15 11:52     ` Jesper Dangaard Brouer
2014-09-15 12:23       ` Eric Dumazet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).