X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/a3d08fcd5120d2aa8303b6349ca8b14e3f284af3..91447636331957f3d9b5ca5b508f07c526b0074d:/bsd/netinet/if_tun.h diff --git a/bsd/netinet/if_tun.h b/bsd/netinet/if_tun.h index 6ffd6734b..9f748c7a3 100644 --- a/bsd/netinet/if_tun.h +++ b/bsd/netinet/if_tun.h @@ -39,7 +39,7 @@ #define _NET_IF_TUN_H_ #include -#ifdef __APPLE_API_PRIVATE +#ifdef KERNEL_PRIVATE struct tun_softc { u_short tun_flags; /* misc flags */ #define TUN_OPEN 0x0001 @@ -61,13 +61,14 @@ struct tun_softc { 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_ */