diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2008-06-11 06:30:37 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2008-06-11 06:30:37 +0000 |
commit | 6e2057037e5c43bc7b88c33b2fabad186bec204d (patch) | |
tree | f7fc445c32ef0a25287f75d454a176c2120691c1 /sys/netinet6/in6_proto.c | |
parent | e066d625d113d9f5ae8a7ec7deb270370b8cdadf (diff) |
From KAME, allow adjustable limits on NDP entries and discovered routes.
ok mpf naddy
Diffstat (limited to 'sys/netinet6/in6_proto.c')
-rw-r--r-- | sys/netinet6/in6_proto.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/netinet6/in6_proto.c b/sys/netinet6/in6_proto.c index 8c2f41fab16..79d5b2f6fa9 100644 --- a/sys/netinet6/in6_proto.c +++ b/sys/netinet6/in6_proto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6_proto.c,v 1.55 2008/05/24 19:48:32 thib Exp $ */ +/* $OpenBSD: in6_proto.c,v 1.56 2008/06/11 06:30:36 mcbride Exp $ */ /* $KAME: in6_proto.c,v 1.66 2000/10/10 15:35:47 itojun Exp $ */ /* @@ -271,6 +271,10 @@ int ip6_rr_prune = 5; /* router renumbering prefix * walk list every 5 sec. */ int ip6_mcast_pmtu = 0; /* enable pMTU discovery for multicast? */ const int ip6_v6only = 1; +int ip6_neighborgcthresh = 2048; /* Threshold # of NDP entries for GC */ +int ip6_maxifprefixes = 16; /* Max acceptable prefixes via RA per IF */ +int ip6_maxifdefrouters = 16; /* Max acceptable def routers via RA */ +int ip6_maxdynroutes = 4096; /* Max # of routes created via redirect */ u_int32_t ip6_id = 0UL; int ip6_keepfaith = 0; time_t ip6_log_time = (time_t)0L; |