IP_PREC_INTERNET_CONTROL for IPv6 (see the comment).
This commit is contained in:
parent
4c1b4e1a58
commit
14a6c2a705
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue