summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/in6.h
diff options
context:
space:
mode:
authormlaier <mlaier@FreeBSD.org>2007-07-03 12:46:08 +0000
committermlaier <mlaier@FreeBSD.org>2007-07-03 12:46:08 +0000
commit83807ec50da2dec25df74073d007a33ae79d8bfd (patch)
treed26897c8727f97369ee43f6b4684d5cfc7558dce /sys/netinet6/in6.h
parentedb0b6417988e1d0a2c39481b4ca6c7c2005ed9e (diff)
downloadFreeBSD-src-83807ec50da2dec25df74073d007a33ae79d8bfd.zip
FreeBSD-src-83807ec50da2dec25df74073d007a33ae79d8bfd.tar.gz
Link pf 4.1 to the build:
- move ftp-proxy from libexec to usr.sbin - add tftp-proxy - new altq mtag link Approved by: re (kensmith)
Diffstat (limited to 'sys/netinet6/in6.h')
-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 12c9fb4..715b6f4 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 && \
OpenPOWER on IntegriCloud