aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet6
diff options
context:
space:
mode:
authorMax Laier <mlaier@FreeBSD.org>2007-07-03 12:46:08 +0000
committerMax Laier <mlaier@FreeBSD.org>2007-07-03 12:46:08 +0000
commit60ee384760646565a24320d92c5219bc052ce947 (patch)
treed26897c8727f97369ee43f6b4684d5cfc7558dce /sys/netinet6
parent5ee7cd2107c8ffd1fe70115deabd6599dffb313b (diff)
Notes
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/in6.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/netinet6/in6.h b/sys/netinet6/in6.h
index 12c9fb4f0eab..715b6f423533 100644
--- a/sys/netinet6/in6.h
+++ b/sys/netinet6/in6.h
@@ -350,6 +350,11 @@ extern const struct in6_addr in6addr_linklocal_allrouters;
#define IN6_IS_SCOPE_LINKLOCAL(a) \
((IN6_IS_ADDR_LINKLOCAL(a)) || \
(IN6_IS_ADDR_MC_LINKLOCAL(a)))
+#define IN6_IS_SCOPE_EMBED(a) \
+ ((IN6_IS_ADDR_LINKLOCAL(a)) || \
+ (IN6_IS_ADDR_MC_LINKLOCAL(a)) || \
+ (IN6_IS_ADDR_MC_INTFACELOCAL(a)))
+
#define IFA6_IS_DEPRECATED(a) \
((a)->ia6_lifetime.ia6t_pltime != ND6_INFINITE_LIFETIME && \