#define _NET_IF_TUN_H_
#include <sys/appleapiopts.h>
-#ifdef __APPLE_API_PRIVATE
+#ifdef KERNEL_PRIVATE
struct tun_softc {
u_short tun_flags; /* misc flags */
#define TUN_OPEN 0x0001
caddr_t tun_bpf;
#endif
};
-#endif /* __APPLE_API_PRIVATE */
-/* 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_ */