diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2016-03-03 12:51:52 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2016-03-03 12:51:52 +0000 |
commit | 4d3e6ec88c4619ef77df4b9aa14c92c2ab1d7479 (patch) | |
tree | 159cd6d8b98ad65d0b34920ac63d33c04e356909 /sys/netinet6/in6_var.h | |
parent | 00fa6f3884b72181b98d0a34d41dfd3afb2e0e4c (diff) |
Delete all traces of SIOCSIF(ADDR|DSTADDR|NETMASK)_IN6
Those ioctls never made sense, IPv6 was designed right from the start
with support for multiple addresses by interface.
ok mikeb@ mpi@
Diffstat (limited to 'sys/netinet6/in6_var.h')
-rw-r--r-- | sys/netinet6/in6_var.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/netinet6/in6_var.h b/sys/netinet6/in6_var.h index 860189ec18e..d31374b9b7e 100644 --- a/sys/netinet6/in6_var.h +++ b/sys/netinet6/in6_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: in6_var.h,v 1.60 2016/02/28 07:15:34 stefan Exp $ */ +/* $OpenBSD: in6_var.h,v 1.61 2016/03/03 12:51:51 jca Exp $ */ /* $KAME: in6_var.h,v 1.55 2001/02/16 12:49:45 itojun Exp $ */ /* @@ -374,18 +374,8 @@ struct in6_rrenumreq { (((d)->s6_addr32[3] ^ (a)->s6_addr32[3]) & (m)->s6_addr32[3]) == 0 ) #endif /* _KERNEL */ -#define SIOCSIFADDR_IN6 _IOW('i', 12, struct in6_ifreq) #define SIOCGIFADDR_IN6 _IOWR('i', 33, struct in6_ifreq) -#ifdef _KERNEL -/* - * SIOCSxxx ioctls should be unused (see comments in in6.c), but - * we do not shift numbers for binary compatibility. - */ -#define SIOCSIFDSTADDR_IN6 _IOW('i', 14, struct in6_ifreq) -#define SIOCSIFNETMASK_IN6 _IOW('i', 22, struct in6_ifreq) -#endif /* _KERNEL */ - #define SIOCGIFDSTADDR_IN6 _IOWR('i', 34, struct in6_ifreq) #define SIOCGIFNETMASK_IN6 _IOWR('i', 37, struct in6_ifreq) |