IP_PREC_INTERNET_CONTROL for IPv6 (see the comment).

This commit is contained in:
Martin Mares 2000-03-01 12:03:43 +00:00
parent 4c1b4e1a58
commit 14a6c2a705

View file

@ -72,6 +72,11 @@ static inline unsigned ipv6_hash(ip_addr *a)
return (x ^ (x >> 16) ^ (x >> 8)) & 0xffff; 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 #endif