RelayTest for Bob and Charlie

This commit is contained in:
orignal 2014-09-04 16:27:22 -04:00
parent 10d9a4582f
commit 3c610fa952
2 changed files with 13 additions and 21 deletions

2
SSU.h
View file

@ -100,7 +100,7 @@ namespace ssu
void ScheduleConnectTimer ();
void HandleConnectTimer (const boost::system::error_code& ecode);
void ProcessPeerTest (uint8_t * buf, size_t len, const boost::asio::ip::udp::endpoint& senderEndpoint);
void SendPeerTest (uint32_t nonce, uint32_t address, uint16_t port, uint8_t * introKey, bool toAddress = true);
void SendPeerTest (uint32_t nonce, uint32_t address, uint16_t port, const uint8_t * introKey, bool toAddress = true);
void ProcessData (uint8_t * buf, size_t len);
void SendSesionDestroyed ();
void Send (uint8_t type, const uint8_t * payload, size_t len); // with session key