From f63f04737b40cafd3018b53f23b899356520de15 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 27 Jan 2021 14:19:21 -0500 Subject: [PATCH] Stash old Mac Ethernet tap code in attic. --- {osdep => attic}/MacEthernetTap.cpp | 0 {osdep => attic}/MacEthernetTap.hpp | 0 {osdep => attic}/MacEthernetTapAgent.c | 0 {osdep => attic}/MacEthernetTapAgent.h | 0 osdep/CMakeLists.txt | 7 ------- 5 files changed, 7 deletions(-) rename {osdep => attic}/MacEthernetTap.cpp (100%) rename {osdep => attic}/MacEthernetTap.hpp (100%) rename {osdep => attic}/MacEthernetTapAgent.c (100%) rename {osdep => attic}/MacEthernetTapAgent.h (100%) diff --git a/osdep/MacEthernetTap.cpp b/attic/MacEthernetTap.cpp similarity index 100% rename from osdep/MacEthernetTap.cpp rename to attic/MacEthernetTap.cpp diff --git a/osdep/MacEthernetTap.hpp b/attic/MacEthernetTap.hpp similarity index 100% rename from osdep/MacEthernetTap.hpp rename to attic/MacEthernetTap.hpp diff --git a/osdep/MacEthernetTapAgent.c b/attic/MacEthernetTapAgent.c similarity index 100% rename from osdep/MacEthernetTapAgent.c rename to attic/MacEthernetTapAgent.c diff --git a/osdep/MacEthernetTapAgent.h b/attic/MacEthernetTapAgent.h similarity index 100% rename from osdep/MacEthernetTapAgent.h rename to attic/MacEthernetTapAgent.h diff --git a/osdep/CMakeLists.txt b/osdep/CMakeLists.txt index 20ac93b25..562331d7c 100644 --- a/osdep/CMakeLists.txt +++ b/osdep/CMakeLists.txt @@ -2,7 +2,6 @@ cmake_minimum_required(VERSION 3.0) project(zt_osdep) set(src - EthernetTap.cpp ManagedRoute.cpp OSUtils.cpp rust-osdep.cpp @@ -10,7 +9,6 @@ set(src set(headers BlockingQueue.hpp - EthernetTap.hpp ManagedRoute.hpp OSUtils.hpp Thread.hpp @@ -20,11 +18,6 @@ if(WIN32) set(src ${src} WindowsEthernetTap.cpp) set(headers ${headers} WindowsEthernetTap.hpp) elseif(UNIX) - if(APPLE) - set(src ${src} MacEthernetTap.cpp MacKextEthernetTap.cpp) - set(headers ${headers} MacEthernetTap.hpp MacKextEthernetTap.hpp) - endif(APPLE) - if(CMAKE_SYSTEM_NAME MATCHES "BSD") set(src ${src} BSDEthernetTap.cpp) set(headers ${headers} BSDEthernetTap.hpp)