summaryrefslogtreecommitdiff
path: root/lib/ipv6.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-03-01 12:03:43 +0000
committerMartin Mares <mj@ucw.cz>2000-03-01 12:03:43 +0000
commit14a6c2a705fce9143e721b8da167dcbaa053c936 (patch)
tree3f1d4635c8fb9ada365d9810f6734f2b0becd51e /lib/ipv6.h
parent4c1b4e1a582ea8d13943c46ad87588d5743439cb (diff)
IP_PREC_INTERNET_CONTROL for IPv6 (see the comment).
Diffstat (limited to 'lib/ipv6.h')
-rw-r--r--lib/ipv6.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/ipv6.h b/lib/ipv6.h
index 32525af5..33f27429 100644
--- a/lib/ipv6.h
+++ b/lib/ipv6.h
@@ -72,6 +72,11 @@ static inline unsigned ipv6_hash(ip_addr *a)
return (x ^ (x >> 16) ^ (x >> 8)) & 0xffff;
}
-#define IP_PREC_INTERNET_CONTROL 0 /* FIXME: What's the right value? */
+/*
+ * RFC 1883 defines packet precendece, but RFC 2460 replaces it
+ * by generic Traffic Class ID with no defined semantics. Better
+ * not use it yet.
+ */
+#define IP_PREC_INTERNET_CONTROL -1
#endif