summaryrefslogtreecommitdiff
path: root/sys/net/if_tun.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-12-10 21:04:15 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-12-10 21:04:15 +0000
commit3b7c681d91aea2757daf88cdb53b4b4a9a45f143 (patch)
treefa766b63e2a22256de161e517564aee1d26b22fa /sys/net/if_tun.h
parent57dc478c2711d9adbf2a69693ba57ac9f6a66997 (diff)
renumber the get/set debug ioctls for they conflict w/ ppp, we do not keep the O versions since these are debugging only and should not affect normal functionality; deraadt@ ok
Diffstat (limited to 'sys/net/if_tun.h')
-rw-r--r--sys/net/if_tun.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/net/if_tun.h b/sys/net/if_tun.h
index c6eea32864d..97bd418b6bc 100644
--- a/sys/net/if_tun.h
+++ b/sys/net/if_tun.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_tun.h,v 1.11 2002/12/06 15:58:49 nate Exp $ */
+/* $OpenBSD: if_tun.h,v 1.12 2002/12/10 21:04:14 mickey Exp $ */
/*
* Copyright (c) 1988, Julian Onions <Julian.Onions@nexor.co.uk>
@@ -58,10 +58,6 @@
/* Maximum receive packet size (hard limit) */
#define TUNMRU 16384
-/* ioctl's for get/set debug */
-#define TUNSDEBUG _IOW('t', 89, int)
-#define TUNGDEBUG _IOR('t', 90, int)
-
/* iface info */
struct tuninfo {
u_int mtu;
@@ -74,4 +70,9 @@ struct tuninfo {
/* ioctl for changing the broadcast/point-to-point status */
#define TUNSIFMODE _IOW('t', 93, int)
+
+/* ioctl's for get/set debug */
+#define TUNSDEBUG _IOW('t', 94, int)
+#define TUNGDEBUG _IOR('t', 95, int)
+
#endif /* _NET_IF_TUN_H_ */