mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
different input anf output I2NP message for tunnel encryption
This commit is contained in:
parent
6ff3f8df87
commit
d8cd2afd12
7 changed files with 15 additions and 12 deletions
|
@ -138,6 +138,7 @@ namespace tunnel
|
|||
|
||||
// payload
|
||||
uint8_t * GetPayload () { return GetBuffer () + I2NP_HEADER_SIZE; };
|
||||
const uint8_t * GetPayload () const { return GetBuffer () + I2NP_HEADER_SIZE; };
|
||||
uint8_t * GetBuffer () { return buf + offset; };
|
||||
const uint8_t * GetBuffer () const { return buf + offset; };
|
||||
size_t GetLength () const { return len - offset; };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue