diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-01 12:35:23 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-01 18:05:00 +0100 |
commit | e2b75a67395fbbdd36bb0bceaea2465a2a1fa172 (patch) | |
tree | 92dafcba302bab07b8295b28b05c8a7856380f3a /pfinet/glue-include | |
parent | 8c5eb657ff196a31a3230652823221f3fe805d73 (diff) | |
download | hurd-e2b75a67395fbbdd36bb0bceaea2465a2a1fa172.tar.gz hurd-e2b75a67395fbbdd36bb0bceaea2465a2a1fa172.tar.bz2 hurd-e2b75a67395fbbdd36bb0bceaea2465a2a1fa172.zip |
pfinet: Fix IPV6 option values
pfinet is providing the RFC2292 IPv6 options interface, not the RFC3542
interface, so we have to use the old option numbers here.
Diffstat (limited to 'pfinet/glue-include')
-rw-r--r-- | pfinet/glue-include/linux/in6.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pfinet/glue-include/linux/in6.h b/pfinet/glue-include/linux/in6.h index c3e5dfc4..f755e449 100644 --- a/pfinet/glue-include/linux/in6.h +++ b/pfinet/glue-include/linux/in6.h @@ -86,13 +86,19 @@ struct in6_flowlabel_req * IPV6 socket options */ -#define IPV6_ADDRFORM 1 +// Note: pfinet is providing the RFC2292 interface, not the RFC3542 interface +//#define IPV6_ADDRFORM 1 +#undef IPV6_PKTINFO #define IPV6_PKTINFO 2 +#undef IPV6_HOPOPTS #define IPV6_HOPOPTS 3 +#undef IPV6_DSTOPTS #define IPV6_DSTOPTS 4 +#undef IPV6_RTHDR #define IPV6_RTHDR 5 #define IPV6_PKTOPTIONS 6 -#define IPV6_CHECKSUM 7 +//#define IPV6_CHECKSUM 7 +#undef IPV6_HOPLIMIT #define IPV6_HOPLIMIT 8 #define IPV6_NEXTHOP 9 #define IPV6_AUTHHDR 10 |