zt_get_address() implementation
This commit is contained in:
@@ -20,6 +20,14 @@
|
||||
#define ZT_ONESERVICE_HPP
|
||||
|
||||
#include <string>
|
||||
#include <map>
|
||||
|
||||
// Include the right tap device driver for this platform -- add new platforms here
|
||||
#ifdef SDK
|
||||
// In network containers builds, use the virtual netcon endpoint instead of a tun/tap port driver
|
||||
#include "../src/SDK_EthernetTap.hpp"
|
||||
namespace ZeroTier { typedef NetconEthernetTap EthernetTap; }
|
||||
#endif // not ZT_SDK so pick a tap driver
|
||||
|
||||
namespace ZeroTier {
|
||||
|
||||
@@ -146,6 +154,11 @@ public:
|
||||
*/
|
||||
virtual std::string givenHomePath() = 0;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
virtual std::map< uint64_t,EthernetTap * > getTaps() = 0;
|
||||
|
||||
/**
|
||||
* @return True if service is still running
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user