Skip to content

Commit

Permalink
pfinet: Fix IPV6 option values
Browse files Browse the repository at this point in the history
pfinet is providing the RFC2292 IPv6 options interface, not the RFC3542
interface, so we have to use the old option numbers here.
  • Loading branch information
sthibaul committed Jan 1, 2022
1 parent 8c5eb65 commit e2b75a6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pfinet/glue-include/linux/in6.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e2b75a6

Please sign in to comment.