mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
handle garlic's DeliveryStatus in the garlic thread
This commit is contained in:
parent
f741b14664
commit
eff3bb6ab1
4 changed files with 33 additions and 22 deletions
7
Garlic.h
7
Garlic.h
|
@ -100,10 +100,8 @@ namespace garlic
|
|||
|
||||
void Start ();
|
||||
void Stop ();
|
||||
void PostI2NPMsg (I2NPMessage * msg);
|
||||
void AddSessionKey (const uint8_t * key, const uint8_t * tag); // one tag
|
||||
|
||||
void HandleGarlicMessage (I2NPMessage * msg);
|
||||
void HandleDeliveryStatusMessage (uint8_t * buf, size_t len);
|
||||
|
||||
I2NPMessage * WrapSingleMessage (const i2p::data::RoutingDestination& destination, I2NPMessage * msg);
|
||||
I2NPMessage * WrapMessage (const i2p::data::RoutingDestination& destination,
|
||||
|
@ -112,7 +110,8 @@ namespace garlic
|
|||
private:
|
||||
|
||||
void Run ();
|
||||
void ProcessGarlicMessage (I2NPMessage * msg);
|
||||
void HandleGarlicMessage (I2NPMessage * msg);
|
||||
void HandleDeliveryStatusMessage (I2NPMessage * msg);
|
||||
void HandleAESBlock (uint8_t * buf, size_t len, SessionDecryption * decryption, i2p::tunnel::InboundTunnel * from);
|
||||
void HandleGarlicPayload (uint8_t * buf, size_t len, i2p::tunnel::InboundTunnel * from);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue