summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-03-01 13:03:43 +0100
committerMartin Mares <mj@ucw.cz>2000-03-01 13:03:43 +0100
commit14a6c2a705fce9143e721b8da167dcbaa053c936 (patch)
tree3f1d4635c8fb9ada365d9810f6734f2b0becd51e /lib
parent4c1b4e1a582ea8d13943c46ad87588d5743439cb (diff)
downloadbird-14a6c2a705fce9143e721b8da167dcbaa053c936.tar
bird-14a6c2a705fce9143e721b8da167dcbaa053c936.zip
IP_PREC_INTERNET_CONTROL for IPv6 (see the comment).
Diffstat (limited to 'lib')
-rw-r--r--lib/ipv6.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/ipv6.h b/lib/ipv6.h
index 32525af..33f2742 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