aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet6/in6_var.h
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2021-11-08 08:46:47 +0000
committerKristof Provost <kp@FreeBSD.org>2021-11-20 18:29:01 +0000
commit19dc644511796d80bd82f62ef49cb1cb4b86add3 (patch)
tree7b005fcf512f6af9e2a79f94fcdeb1f14775aa25 /sys/netinet6/in6_var.h
parent3adc9c8c73a5225a841e663822b329b8bb8e64b6 (diff)
downloadsrc-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.h1
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)