Put kext back in Mac distro and use on versions older than High Sierra (which lack the feth device)

This commit is contained in:
Adam Ierymenko 2019-08-07 18:14:12 -05:00
parent 6073e7972f
commit aca31c7055
No known key found for this signature in database
GPG key ID: 1657198823E52A61
17 changed files with 2094 additions and 915 deletions

View file

@ -24,6 +24,17 @@
* of your own application.
*/
#include "../node/Constants.hpp"
#ifdef __APPLE__
#include "../node/Utils.hpp"
#include "../node/Mutex.hpp"
#include "../node/Dictionary.hpp"
#include "OSUtils.hpp"
#include "MacEthernetTap.hpp"
#include "MacEthernetTapAgent.h"
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
@ -57,14 +68,6 @@
#include <set>
#include <algorithm>
#include "../node/Constants.hpp"
#include "../node/Utils.hpp"
#include "../node/Mutex.hpp"
#include "../node/Dictionary.hpp"
#include "OSUtils.hpp"
#include "MacEthernetTap.hpp"
#include "MacEthernetTapAgent.h"
static const ZeroTier::MulticastGroup _blindWildcardMulticastGroup(ZeroTier::MAC(0xff),0);
namespace ZeroTier {
@ -463,3 +466,5 @@ void MacEthernetTap::threadMain()
}
} // namespace ZeroTier
#endif // __APPLE__