incoming ipv6 connections

This commit is contained in:
orignal 2014-10-27 15:08:50 -04:00
parent 7fb7341502
commit f2434d66fc
7 changed files with 74 additions and 4 deletions

View file

@ -2,6 +2,7 @@
#define ROUTER_CONTEXT_H__
#include <inttypes.h>
#include <string>
#include <cryptopp/dsa.h>
#include <cryptopp/osrng.h>
#include "Identity.h"
@ -34,7 +35,8 @@ namespace i2p
void SetAcceptsTunnels (bool acceptsTunnels) { m_AcceptsTunnels = acceptsTunnels; };
bool SupportsV6 () const { return m_RouterInfo.IsV6 (); };
void SetSupportsV6 (bool supportsV6);
void UpdateV6Address (const std::string& host); // called from NTCP session
// implements LocalDestination
const i2p::data::PrivateKeys& GetPrivateKeys () const { return m_Keys; };
const uint8_t * GetEncryptionPrivateKey () const { return m_Keys.GetPrivateKey (); };