|
|
@ -214,6 +214,9 @@ namespace llarp
|
|
|
|
|
|
|
|
|
|
|
|
using PendingBufferQueue = std::queue< PendingBuffer >;
|
|
|
|
using PendingBufferQueue = std::queue< PendingBuffer >;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool
|
|
|
|
|
|
|
|
ShouldBundleRC() const override;
|
|
|
|
|
|
|
|
|
|
|
|
struct SendContext
|
|
|
|
struct SendContext
|
|
|
|
{
|
|
|
|
{
|
|
|
|
SendContext(const ServiceInfo& ident, const Introduction& intro,
|
|
|
|
SendContext(const ServiceInfo& ident, const Introduction& intro,
|
|
|
@ -280,6 +283,12 @@ namespace llarp
|
|
|
|
util::StatusObject
|
|
|
|
util::StatusObject
|
|
|
|
ExtractStatus() const override;
|
|
|
|
ExtractStatus() const override;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool
|
|
|
|
|
|
|
|
ShouldBundleRC() const override
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return m_Endpoint->ShouldBundleRC();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bool
|
|
|
|
bool
|
|
|
|
Stop() override;
|
|
|
|
Stop() override;
|
|
|
|
|
|
|
|
|
|
|
@ -494,6 +503,7 @@ namespace llarp
|
|
|
|
std::string m_Keyfile;
|
|
|
|
std::string m_Keyfile;
|
|
|
|
std::string m_Name;
|
|
|
|
std::string m_Name;
|
|
|
|
std::string m_NetNS;
|
|
|
|
std::string m_NetNS;
|
|
|
|
|
|
|
|
bool m_BundleRC = false;
|
|
|
|
|
|
|
|
|
|
|
|
using PendingTraffic =
|
|
|
|
using PendingTraffic =
|
|
|
|
std::unordered_map< Address, PendingBufferQueue, Address::Hash >;
|
|
|
|
std::unordered_map< Address, PendingBufferQueue, Address::Hash >;
|
|
|
|