summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rtadvd/config.h
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-08-15 19:13:53 +0000
committerume <ume@FreeBSD.org>2003-08-15 19:13:53 +0000
commit448f6abd90e046b1dcff339064d860f6be7e0572 (patch)
treea5b045071f4c18df2eae3c64e53db7fb2008e72d /usr.sbin/rtadvd/config.h
parent6a2b886984d86fc61be9244104a9d0a3f3e1a252 (diff)
downloadFreeBSD-src-448f6abd90e046b1dcff339064d860f6be7e0572.zip
FreeBSD-src-448f6abd90e046b1dcff339064d860f6be7e0572.tar.gz
- supported a string notation for xxflags.
- deprecate routes#N, as it is hard to keep consistency with rtprefixN. accept any number of "rtprefix", "rtrefix0", ..., "rtprefix99". - deprecate "addrs#N", as it is difficult for users to keep consistency with "addrN". accept 100 prefix info in maximum - like "addr", "addr0" ... "addr99". WARNS=2 clean on netbsd. old configuration file should work just fine. behavior change: previously, we rejected "addrN" if there's "addr", and we rejected "addr" if there is "addrN". now we accept both without problem. - when an advertised prefix configured from the kernel has been added or invalidated, notice the change in a short delay. - when invalidating a prefix, do not bark even if there is inconsistency about prefix lifetimes. - wrap more specific route info code into ROUTEINFO. Obtained from: KAME MFC after: 1 week
Diffstat (limited to 'usr.sbin/rtadvd/config.h')
-rw-r--r--usr.sbin/rtadvd/config.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.sbin/rtadvd/config.h b/usr.sbin/rtadvd/config.h
index 0bb137b..aeb1c2c 100644
--- a/usr.sbin/rtadvd/config.h
+++ b/usr.sbin/rtadvd/config.h
@@ -1,5 +1,5 @@
/* $FreeBSD$ */
-/* $KAME: config.h,v 1.3 2000/05/16 13:34:13 itojun Exp $ */
+/* $KAME: config.h,v 1.8 2003/06/17 08:26:22 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project.
@@ -36,3 +36,12 @@ extern void invalidate_prefix __P((struct prefix *));
extern void update_prefix __P((struct prefix *));
extern void make_prefix __P((struct rainfo *, int, struct in6_addr *, int));
extern void make_packet __P((struct rainfo *));
+extern void get_prefix __P((struct rainfo *));
+
+
+/*
+ * it is highly unlikely to have 100 prefix information options,
+ * so it should be okay to limit it
+ */
+#define MAXPREFIX 100
+#define MAXROUTE 100
OpenPOWER on IntegriCloud