]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
IP_PREC_INTERNET_CONTROL for IPv6 (see the comment).
authorMartin Mares <mj@ucw.cz>
Wed, 1 Mar 2000 12:03:43 +0000 (12:03 +0000)
committerMartin Mares <mj@ucw.cz>
Wed, 1 Mar 2000 12:03:43 +0000 (12:03 +0000)
lib/ipv6.h

index 32525af58f570865f5d90f968f327c2d6f5e63d8..33f274290d8b6e30f7885dc0d54cc0f98a76686b 100644 (file)
@@ -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