summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/nd6.h
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-08-05 14:57:11 +0000
committerume <ume@FreeBSD.org>2003-08-05 14:57:11 +0000
commit324045a3c2b6250be90ee641eeeca297a5b6f0db (patch)
treef89aeb24f450191c1cafa51dd63b26028ebc0bd4 /sys/netinet6/nd6.h
parente040bef13acbc78980b4e7bc081bb6234d7a0271 (diff)
downloadFreeBSD-src-324045a3c2b6250be90ee641eeeca297a5b6f0db.zip
FreeBSD-src-324045a3c2b6250be90ee641eeeca297a5b6f0db.tar.gz
introduced a flag bit "ND6_IFF_ACCEPT_RTADV" in the nd_ifinfo structure to
control whether to accept RAs per-interface basis. the new stuff ensures the backward compatibility; - the kernel does not accept RAs on any interfaces by default. - since the default value of the flag bit is on, the kernel accepts RAs on all interfaces when net.inet6.ip6.accept_rtadv is 1. Obtained from: KAME MFC after: 1 week
Diffstat (limited to 'sys/netinet6/nd6.h')
-rw-r--r--sys/netinet6/nd6.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet6/nd6.h b/sys/netinet6/nd6.h
index c8b531a..397a505 100644
--- a/sys/netinet6/nd6.h
+++ b/sys/netinet6/nd6.h
@@ -87,6 +87,7 @@ struct nd_ifinfo {
};
#define ND6_IFF_PERFORMNUD 0x1
+#define ND6_IFF_ACCEPT_RTADV 0x2
struct in6_nbrinfo {
char ifname[IFNAMSIZ]; /* if name, e.g. "en0" */
OpenPOWER on IntegriCloud