diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2020-03-28 16:15:46 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2020-03-28 16:15:46 +0000 |
commit | 47122875ccbfa0692ad193265adc4870e189f4fa (patch) | |
tree | ba1d86bf4ad78bd021e3dffb1273e867476dca5b /sys/netinet6/nd6.h | |
parent | 64f9336e6f6369a6e62afd6b275f6384ff571b4a (diff) |
Move ND6_PRIV_* constants from nd6.h to slaacd the only place where
they are used. Nobody in the wider eco system uses these.
While here reduce temporary address valid lifetime to 2 days as per
draft-ietf-6man-rfc4941bis. This should considerably reduce the amount
of addresses configured on an interface - a common complaint.
Original diff from Fernando Gont (fernando AT gont.com.ar), thanks!
Ports tree scanning by sthen@
Diffstat (limited to 'sys/netinet6/nd6.h')
-rw-r--r-- | sys/netinet6/nd6.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/netinet6/nd6.h b/sys/netinet6/nd6.h index 4449a7ed73c..82e674c5ecf 100644 --- a/sys/netinet6/nd6.h +++ b/sys/netinet6/nd6.h @@ -1,4 +1,4 @@ -/* $OpenBSD: nd6.h,v 1.75 2019/06/21 17:11:43 mpi Exp $ */ +/* $OpenBSD: nd6.h,v 1.76 2020/03/28 16:15:45 florian Exp $ */ /* $KAME: nd6.h,v 1.95 2002/06/08 11:31:06 itojun Exp $ */ /* @@ -89,11 +89,6 @@ struct in6_ndifreq { #define ND6_INFINITE_LIFETIME 0xffffffff -/* constants for RFC 4941 autoconf privacy extension */ -#define ND6_PRIV_MAX_DESYNC_FACTOR 512 /* largest pow2 < 10 minutes */ -#define ND6_PRIV_VALID_LIFETIME 604800 /* 1 week */ -#define ND6_PRIV_PREFERRED_LIFETIME 86400 /* 1 day */ - #ifdef _KERNEL #include <sys/queue.h> |