File tree 7 files changed +17
-17
lines changed
7 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 75
75
#include " control/NodeControlClient.hpp"
76
76
#include " control/NodeControlService.hpp"
77
77
78
- #include " osnet /NativeSocketManager.hpp"
78
+ #include " osdep /NativeSocketManager.hpp"
79
79
80
80
#ifdef ZT_ENABLE_NETCONF_MASTER
81
81
#include " netconf/SqliteNetworkConfigMaster.hpp"
82
82
#endif // ZT_ENABLE_NETCONF_MASTER
83
83
84
84
#ifdef __WINDOWS__
85
- #include " osnet /WindowsEthernetTapFactory.hpp"
85
+ #include " osdep /WindowsEthernetTapFactory.hpp"
86
86
#define ZTCreatePlatformEthernetTapFactory (new WindowsEthernetTapFactory(homeDir))
87
87
#endif // __WINDOWS__
88
88
89
89
#ifdef __LINUX__
90
- #include " osnet /LinuxEthernetTapFactory.hpp"
90
+ #include " osdep /LinuxEthernetTapFactory.hpp"
91
91
#define ZTCreatePlatformEthernetTapFactory (new LinuxEthernetTapFactory())
92
92
#endif // __LINUX__
93
93
94
94
#ifdef __APPLE__
95
- #include " osnet /OSXEthernetTapFactory.hpp"
95
+ #include " osdep /OSXEthernetTapFactory.hpp"
96
96
#define ZTCreatePlatformEthernetTapFactory (new OSXEthernetTapFactory(homeDir," tap.kext" ))
97
97
#endif // __APPLE__
98
98
99
99
#ifndef ZTCreatePlatformEthernetTapFactory
100
100
#ifdef __BSD__
101
- #include " osnet /BSDEthernetTapFactory.hpp"
101
+ #include " osdep /BSDEthernetTapFactory.hpp"
102
102
#define ZTCreatePlatformEthernetTapFactory (new BSDEthernetTapFactory())
103
103
#else
104
- #error Sorry, this platform has no osnet / implementation yet. Fork me on GitHub and add one?
104
+ #error Sorry, this platform has no osdep / implementation yet. Fork me on GitHub and add one?
105
105
#endif // __BSD__
106
106
#endif // ZTCreatePlatformEthernetTapFactory
107
107
Original file line number Diff line number Diff line change 6
6
LIBS =
7
7
8
8
include objects.mk
9
- OBJS+ =osnet /BSDEthernetTapFactory.o osnet /BSDEthernetTap.o
9
+ OBJS+ =osdep /BSDEthernetTapFactory.o osdep /BSDEthernetTap.o
10
10
TESTNET_OBJS =testnet/SimNet.o testnet/SimNetSocketManager.o testnet/TestEthernetTap.o testnet/TestEthernetTapFactory.o
11
11
12
12
# Enable SSE-optimized Salsa20 on x86 and x86_64 machines
@@ -84,7 +84,7 @@ testnet: $(TESTNET_OBJS) $(OBJS) testnet.o
84
84
# ./buildinstaller.sh
85
85
86
86
clean :
87
- rm -rf $(OBJS ) $(TESTNET_OBJS ) node/* .o osnet /* .o control/* .o testnet/* .o * .o zerotier-* build-* ZeroTierOneInstaller-*
87
+ rm -rf $(OBJS ) $(TESTNET_OBJS ) node/* .o osdep /* .o control/* .o testnet/* .o * .o zerotier-* build-* ZeroTierOneInstaller-*
88
88
89
89
debug : FORCE
90
90
make -j 4 ZT_DEBUG=1
Original file line number Diff line number Diff line change 7
7
LIBS =
8
8
9
9
include objects.mk
10
- OBJS+ =osnet /LinuxEthernetTap.o osnet /LinuxEthernetTapFactory.o
10
+ OBJS+ =osdep /LinuxEthernetTap.o osdep /LinuxEthernetTapFactory.o
11
11
TESTNET_OBJS =testnet/SimNet.o testnet/SimNetSocketManager.o testnet/TestEthernetTap.o testnet/TestEthernetTapFactory.o
12
12
13
13
# Enable SSE-optimized Salsa20 on x86 and x86_64 machines
@@ -89,7 +89,7 @@ installer: one FORCE
89
89
./buildinstaller.sh
90
90
91
91
clean :
92
- rm -rf * .o netconf/* .o node/* .o osnet /* .o control/* .o testnet/* .o ext/lz4/* .o zerotier-* build-* ZeroTierOneInstaller-* * .deb * .rpm
92
+ rm -rf * .o netconf/* .o node/* .o osdep /* .o control/* .o testnet/* .o ext/lz4/* .o zerotier-* build-* ZeroTierOneInstaller-* * .deb * .rpm
93
93
94
94
debug : FORCE
95
95
make -j 4 ZT_DEBUG=1
Original file line number Diff line number Diff line change 7
7
ARCH_FLAGS =-arch i386 -arch x86_64
8
8
9
9
include objects.mk
10
- OBJS+ =osnet /OSXEthernetTap.o osnet /OSXEthernetTapFactory.o
10
+ OBJS+ =osdep /OSXEthernetTap.o osdep /OSXEthernetTapFactory.o
11
11
TESTNET_OBJS =testnet/SimNet.o testnet/SimNetSocketManager.o testnet/TestEthernetTap.o testnet/TestEthernetTapFactory.o
12
12
13
13
# Disable codesign since open source users will not have ZeroTier's certs
@@ -77,7 +77,7 @@ mac-ui: FORCE
77
77
$(CODESIGN ) -vvv " build-ZeroTierUI-release/ZeroTier One.app"
78
78
79
79
clean :
80
- rm -rf * .dSYM build-* * .o netconf/* .o control/* .o node/* .o testnet/* .o osnet /* .o ext/http-parser/* .o ext/lz4/* .o zerotier-* ZeroTierOneInstaller-* " ZeroTier One.zip" " ZeroTier One.dmg"
80
+ rm -rf * .dSYM build-* * .o netconf/* .o control/* .o node/* .o testnet/* .o osdep /* .o ext/http-parser/* .o ext/lz4/* .o zerotier-* ZeroTierOneInstaller-* " ZeroTier One.zip" " ZeroTier One.dmg"
81
81
82
82
# For our use -- builds official signed binary, packages in installer and download DMG
83
83
official : FORCE
Original file line number Diff line number Diff line change 1
1
OBJS =\
2
2
ext/lz4/lz4.o \
3
3
ext/http-parser/http_parser.o \
4
- osnet /NativeSocketManager.o \
4
+ osdep /NativeSocketManager.o \
5
5
node/C25519.o \
6
6
node/CertificateOfMembership.o \
7
7
node/Defaults.o \
Original file line number Diff line number Diff line change 58
58
#include " node/Node.hpp"
59
59
60
60
#ifdef ZT_TEST_PHY
61
- #include " osnet /Phy.hpp"
61
+ #include " osdep /Phy.hpp"
62
62
#endif
63
63
64
64
#ifdef ZT_ENABLE_NETCONF_MASTER
Original file line number Diff line number Diff line change 40
40
#include " ../../control/NodeControlClient.hpp"
41
41
#include " ../../control/NodeControlService.hpp"
42
42
43
- #include " ../../osnet /WindowsEthernetTapFactory.hpp"
44
- #include " ../../osnet /WindowsRoutingTable.hpp"
45
- #include " ../../osnet /NativeSocketManager.hpp"
43
+ #include " ../../osdep /WindowsEthernetTapFactory.hpp"
44
+ #include " ../../osdep /WindowsRoutingTable.hpp"
45
+ #include " ../../osdep /NativeSocketManager.hpp"
46
46
47
47
#pragma endregion // Includes
48
48
You can’t perform that action at this time.
0 commit comments