added per-community locking

This commit is contained in:
Logan007
2020-08-04 15:46:09 +05:45
parent e4b33a2656
commit 9fba63dfb4
3 changed files with 8 additions and 3 deletions
+1
View File
@@ -349,6 +349,7 @@ typedef struct sn_stats
struct sn_community
{
char community[N2N_COMMUNITY_SIZE];
uint8_t purgeable; /* indicates purgeable community (fixed-name, predetermined (-c parameter) communties usually are unpurgeable) */
uint8_t header_encryption; /* Header encryption indicator. */
he_context_t *header_encryption_ctx; /* Header encryption cipher context. */
he_context_t *header_iv_ctx; /* Header IV ecnryption cipher context, REMOVE as soon as seperate fields for checksum and replay protection available */