|
|
@ -24,10 +24,10 @@ namespace llarp
|
|
|
|
~TunEndpoint();
|
|
|
|
~TunEndpoint();
|
|
|
|
|
|
|
|
|
|
|
|
virtual bool
|
|
|
|
virtual bool
|
|
|
|
SetOption(const std::string& k, const std::string& v);
|
|
|
|
SetOption(const std::string& k, const std::string& v) override;
|
|
|
|
|
|
|
|
|
|
|
|
virtual void
|
|
|
|
virtual void
|
|
|
|
Tick(llarp_time_t now);
|
|
|
|
Tick(llarp_time_t now) override;
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
void
|
|
|
|
TickTun(llarp_time_t now);
|
|
|
|
TickTun(llarp_time_t now);
|
|
|
@ -36,7 +36,7 @@ namespace llarp
|
|
|
|
MapAddress(const service::Address& remote, huint32_t ip, bool SNode);
|
|
|
|
MapAddress(const service::Address& remote, huint32_t ip, bool SNode);
|
|
|
|
|
|
|
|
|
|
|
|
bool
|
|
|
|
bool
|
|
|
|
Start();
|
|
|
|
Start() override;
|
|
|
|
|
|
|
|
|
|
|
|
bool
|
|
|
|
bool
|
|
|
|
IsSNode() const;
|
|
|
|
IsSNode() const;
|
|
|
@ -47,7 +47,7 @@ namespace llarp
|
|
|
|
|
|
|
|
|
|
|
|
/// overrides Endpoint
|
|
|
|
/// overrides Endpoint
|
|
|
|
bool
|
|
|
|
bool
|
|
|
|
SetupNetworking();
|
|
|
|
SetupNetworking() override;
|
|
|
|
|
|
|
|
|
|
|
|
/// overrides Endpoint
|
|
|
|
/// overrides Endpoint
|
|
|
|
/// handle inbound traffic
|
|
|
|
/// handle inbound traffic
|
|
|
@ -69,7 +69,7 @@ namespace llarp
|
|
|
|
#ifndef WIN32
|
|
|
|
#ifndef WIN32
|
|
|
|
/// overrides Endpoint
|
|
|
|
/// overrides Endpoint
|
|
|
|
bool
|
|
|
|
bool
|
|
|
|
IsolationFailed()
|
|
|
|
IsolationFailed() override
|
|
|
|
{
|
|
|
|
{
|
|
|
|
m_TunSetupResult.set_value(false);
|
|
|
|
m_TunSetupResult.set_value(false);
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|