#ifndef _NET_IF_TUN_H_
#define _NET_IF_TUN_H_
+#include <sys/appleapiopts.h>
+#ifdef KERNEL_PRIVATE
struct tun_softc {
u_short tun_flags; /* misc flags */
#define TUN_OPEN 0x0001
#endif
};
-/* Maximum packet size */
-#define TUNMTU 1500
+#endif KERNEL_PRIVATE
/* ioctl's for get/set debug */
#define TUNSDEBUG _IOW('t', 90, int)
#define TUNGDEBUG _IOR('t', 89, int)
+/* Maximum packet size */
+#define TUNMTU 1500
+
#endif /* !_NET_IF_TUN_H_ */