diff options
| author | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2015-11-12 16:40:50 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2015-11-12 16:40:50 -0800 |
| commit | bacb53fe8fdfa1ecd429cdfb07de96ec0fb0589b (patch) | |
| tree | 1b4d772c384e95f96a9b2af1af8df4f1186679c2 /windows/TapDriver/endian.h | |
| parent | 33c132968e2fdc2c92bd74e4a302c174e963d3e9 (diff) | |
| download | infinitytier-bacb53fe8fdfa1ecd429cdfb07de96ec0fb0589b.tar.gz infinitytier-bacb53fe8fdfa1ecd429cdfb07de96ec0fb0589b.zip | |
Remove old Windows NDIS5 tap driver -- I think this is dead.
Diffstat (limited to 'windows/TapDriver/endian.h')
| -rw-r--r-- | windows/TapDriver/endian.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/windows/TapDriver/endian.h b/windows/TapDriver/endian.h deleted file mode 100644 index 0f7025d5..00000000 --- a/windows/TapDriver/endian.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - * TAP-Windows -- A kernel driver to provide virtual tap - * device functionality on Windows. - * - * This code was inspired by the CIPE-Win32 driver by Damion K. Wilson. - * - * This source code is Copyright (C) 2002-2010 OpenVPN Technologies, Inc., - * and is released under the GPL version 2 (see below). - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 - * as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (see the file COPYING included with this - * distribution); if not, write to the Free Software Foundation, Inc., - * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#ifdef TAP_LITTLE_ENDIAN -#define ntohs(x) RtlUshortByteSwap(x) -#define htons(x) RtlUshortByteSwap(x) -#define ntohl(x) RtlUlongByteSwap(x) -#define htonl(x) RtlUlongByteSwap(x) -#else -#define ntohs(x) ((USHORT)(x)) -#define htons(x) ((USHORT)(x)) -#define ntohl(x) ((ULONG)(x)) -#define htonl(x) ((ULONG)(x)) -#endif |
