mirror of https://github.com/PurpleI2P/i2pd.git
I2P: End-to-End encrypted and anonymous Internet
https://i2pd.website/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
368 B
26 lines
368 B
#ifndef TUNNEL_BASE_H__ |
|
#define TUNNEL_BASE_H__ |
|
|
|
#include <inttypes.h> |
|
|
|
namespace i2p |
|
{ |
|
namespace tunnel |
|
{ |
|
enum TunnelDeliveryType |
|
{ |
|
eDeliveryTypeLocal = 0, |
|
eDeliveryTypeTunnel = 1, |
|
eDeliveryTypeRouter = 2 |
|
}; |
|
struct TunnelMessageBlock |
|
{ |
|
TunnelDeliveryType deliveryType; |
|
uint32_t tunnelID; |
|
uint8_t hash[32]; |
|
I2NPMessage * data; |
|
}; |
|
} |
|
} |
|
|
|
#endif
|
|
|