diff options
author | Kristof Provost <kp@FreeBSD.org> | 2021-11-08 08:46:47 +0000 |
---|---|---|
committer | Kristof Provost <kp@FreeBSD.org> | 2021-11-20 18:29:01 +0000 |
commit | 19dc644511796d80bd82f62ef49cb1cb4b86add3 (patch) | |
tree | 7b005fcf512f6af9e2a79f94fcdeb1f14775aa25 /sys/netinet6/in6_var.h | |
parent | 3adc9c8c73a5225a841e663822b329b8bb8e64b6 (diff) | |
download | src-19dc644511796d80bd82f62ef49cb1cb4b86add3.tar.gz src-19dc644511796d80bd82f62ef49cb1cb4b86add3.zip |
if_stf: add 6rd support
Implement IPv6 Rapid Deployment (RFC5969) on top of the existing 6to4
(RFC3056) if_stf code.
PR: 253328
Reviewed by: hrs
Obtained from: pfSense
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D33037
Diffstat (limited to 'sys/netinet6/in6_var.h')
-rw-r--r-- | sys/netinet6/in6_var.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet6/in6_var.h b/sys/netinet6/in6_var.h index 1caa4511a2b1..d3da832d2b90 100644 --- a/sys/netinet6/in6_var.h +++ b/sys/netinet6/in6_var.h @@ -407,6 +407,7 @@ struct in6_rrenumreq { #define IA6_DSTSIN6(ia) (&((ia)->ia_dstaddr)) #define IFA_IN6(x) (&((struct sockaddr_in6 *)((x)->ifa_addr))->sin6_addr) #define IFA_DSTIN6(x) (&((struct sockaddr_in6 *)((x)->ifa_dstaddr))->sin6_addr) +#define IFA_MASKIN6(x) (&((struct sockaddr_in6 *)((x)->ifa_netmask))->sin6_addr) #define IFPR_IN6(x) (&((struct sockaddr_in6 *)((x)->ifpr_prefix))->sin6_addr) |