|
|
|
@ -119,16 +119,16 @@ namespace llarp
|
|
|
|
|
/// for netns)
|
|
|
|
|
struct dotLokiLookup dll;
|
|
|
|
|
|
|
|
|
|
/// maps ip to service address
|
|
|
|
|
/// maps ip to service address (host byte order)
|
|
|
|
|
std::unordered_map< uint32_t, service::Address > m_IPToAddr;
|
|
|
|
|
/// maps service address to ip
|
|
|
|
|
/// maps service address to ip (host byte order)
|
|
|
|
|
std::unordered_map< service::Address, uint32_t, service::Address::Hash >
|
|
|
|
|
m_AddrToIP;
|
|
|
|
|
/// maps ip address to timestamp last active
|
|
|
|
|
std::unordered_map< uint32_t, llarp_time_t > m_IPActivity;
|
|
|
|
|
/// our ip address
|
|
|
|
|
/// our ip address (host byte order)
|
|
|
|
|
uint32_t m_OurIP;
|
|
|
|
|
/// next ip address to allocate
|
|
|
|
|
/// next ip address to allocate (host byte order)
|
|
|
|
|
uint32_t m_NextIP;
|
|
|
|
|
/// highest ip address to allocate
|
|
|
|
|
uint32_t m_MaxIP;
|
|
|
|
|