summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorangelos <angelos@openbsd.org>2000-01-08 05:40:39 +0000
committerangelos <angelos@openbsd.org>2000-01-08 05:40:39 +0000
commit100f73640976ef1a113befe8b06867f3a0db7a46 (patch)
treef770d6c3f8ec2fb7fc301986cc2781d934862b74
parentexpose ifmedia_match (diff)
downloadwireguard-openbsd-100f73640976ef1a113befe8b06867f3a0db7a46.tar.xz
wireguard-openbsd-100f73640976ef1a113befe8b06867f3a0db7a46.zip
Forgot to commit this (GRE ioctls)
-rw-r--r--sys/sys/sockio.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/sys/sockio.h b/sys/sys/sockio.h
index 40f48caf9db..420d88fac9d 100644
--- a/sys/sys/sockio.h
+++ b/sys/sys/sockio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sockio.h,v 1.13 1999/12/27 04:15:34 angelos Exp $ */
+/* $OpenBSD: sockio.h,v 1.14 2000/01/08 05:40:39 angelos Exp $ */
/* $NetBSD: sockio.h,v 1.5 1995/08/23 00:40:47 thorpej Exp $ */
/*-
@@ -112,6 +112,13 @@
#define SIOCSENCSRCSA _IOW('i', 75, struct ifsa) /* set enc sa */
#define SIOCSENCCLEARSA _IOW('i', 76, struct ifsa) /* set enc sa */
+#define GRESADDRS _IOW('i', 101, struct ifreq)
+#define GRESADDRD _IOW('i', 102, struct ifreq)
+#define GREGADDRS _IOWR('i', 103, struct ifreq)
+#define GREGADDRD _IOWR('i', 104, struct ifreq)
+#define GRESPROTO _IOW('i' , 105, struct ifreq)
+#define GREGPROTO _IOWR('i', 106, struct ifreq)
+
#define SIOCSIFMTU _IOW('i', 127, struct ifreq) /* set ifnet mtu */
#define SIOCGIFMTU _IOWR('i', 126, struct ifreq) /* get ifnet mtu */
#define SIOCSIFASYNCMAP _IOW('i', 125, struct ifreq) /* set ppp asyncmap */