ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/device-tincd.C
(Generate patch)

Comparing gvpe/src/device-tincd.C (file contents):
Revision 1.5 by pcg, Thu Oct 16 13:37:10 2003 UTC vs.
Revision 1.6 by pcg, Thu Oct 16 13:37:52 2003 UTC

91 91
92#define netname conf.ifname 92#define netname conf.ifname
93 93
94#if IF_linux 94#if IF_linux
95# include "tincd/linux/device.c" 95# include "tincd/linux/device.c"
96
96#elif IF_freebsd 97#elif IF_freebsd
97# include "tincd/freebsd/device.c" 98# include "tincd/freebsd/device.c"
99
98#elif IF_netbsd 100#elif IF_netbsd
99#define IF_istun 1 101#define IF_istun 1
100# include "tincd/netbsd/device.c" 102# include "tincd/netbsd/device.c"
103
104#elif IF_openbsd
105#define IF_istun 1
106# include "tincd/openbsd/device.c"
107
101#elif IF_solaris 108#elif IF_solaris
102# include "tincd/solaris/device.c" 109# include "tincd/solaris/device.c"
110
103#elif IF_cygwin 111#elif IF_cygwin
104# include "tincd/cygwin/device.c" 112# include "tincd/cygwin/device.c"
113
105#elif IF_mingw 114#elif IF_mingw
106# include "tincd/mingw/device.c" 115# include "tincd/mingw/device.c"
116
107#elif IF_darwin 117#elif IF_darwin
108#define IF_istun 1 118#define IF_istun 1
109# include "tincd/darwin/device.c" 119# include "tincd/darwin/device.c"
120
110#elif IF_raw_socket 121#elif IF_raw_socket
111#define IF_istun 1 122#define IF_istun 1
112# include "tincd/raw_socket/device.c" 123# include "tincd/raw_socket/device.c"
124
113#else 125#else
114# error No interface implementation for your IFTYPE/IFSUBTYPE combination. 126# error No interface implementation for your IFTYPE/IFSUBTYPE combination.
115#endif 127#endif
116 128
117#if IF_istun 129#if IF_istun

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines