diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2018-02-10 05:52:09 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2018-02-10 05:52:09 +0000 |
commit | e5ab4005935ce5c8fe35b8486f9547bd9a811db0 (patch) | |
tree | d04eeda59a2567e8e28c47fef25ed14d2528d5ab /sys/netinet6/ip6_var.h | |
parent | 248494399c176361309dd6387ca61e2d5b0c1307 (diff) |
Implement RFC 7217: "A Method for Generating Semantically Opaque
Interface Identifiers with IPv6 Stateless Address Autoconfiguration."
"An IPv6 address configured using this method is stable within each
subnet, but the corresponding Interface Identifier changes when the
host moves from one network to another. This method is meant to be an
alternative to generating Interface Identifiers based on hardware
addresses."
OK naddy, sthen
Diffstat (limited to 'sys/netinet6/ip6_var.h')
-rw-r--r-- | sys/netinet6/ip6_var.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_var.h b/sys/netinet6/ip6_var.h index 2e62ac01540..c6fcbef957a 100644 --- a/sys/netinet6/ip6_var.h +++ b/sys/netinet6/ip6_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip6_var.h,v 1.82 2018/02/01 21:11:33 bluhm Exp $ */ +/* $OpenBSD: ip6_var.h,v 1.83 2018/02/10 05:52:08 florian Exp $ */ /* $KAME: ip6_var.h,v 1.33 2000/06/11 14:59:20 jinmei Exp $ */ /* @@ -292,6 +292,9 @@ extern int ip6_dad_pending; /* number of currently running DADs */ extern int ip6_auto_flowlabel; extern int ip6_auto_linklocal; +#define IP6_SOIIKEY_LEN 16 +extern uint8_t ip6_soiikey[IP6_SOIIKEY_LEN]; + struct in6pcb; struct inpcb; |