fixed identation
This commit is contained in:
@@ -61,50 +61,50 @@ struct private_receiver_t {
|
|||||||
*/
|
*/
|
||||||
pthread_t assigned_thread;
|
pthread_t assigned_thread;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* current secret to use for cookie calculation
|
* current secret to use for cookie calculation
|
||||||
*/
|
*/
|
||||||
char secret[SECRET_LENGTH];
|
char secret[SECRET_LENGTH];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* previous secret used to verify older cookies
|
* previous secret used to verify older cookies
|
||||||
*/
|
*/
|
||||||
char secret_old[SECRET_LENGTH];
|
char secret_old[SECRET_LENGTH];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* how many times we have used "secret" so far
|
* how many times we have used "secret" so far
|
||||||
*/
|
*/
|
||||||
u_int32_t secret_used;
|
u_int32_t secret_used;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* time we did the cookie switch
|
* time we did the cookie switch
|
||||||
*/
|
*/
|
||||||
u_int32_t secret_switch;
|
u_int32_t secret_switch;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* time offset to use, hides our system time
|
* time offset to use, hides our system time
|
||||||
*/
|
*/
|
||||||
u_int32_t secret_offset;
|
u_int32_t secret_offset;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* the RNG to use for secret generation
|
* the RNG to use for secret generation
|
||||||
*/
|
*/
|
||||||
rng_t *rng;
|
rng_t *rng;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* hasher to use for cookie calculation
|
* hasher to use for cookie calculation
|
||||||
*/
|
*/
|
||||||
hasher_t *hasher;
|
hasher_t *hasher;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* require cookies after this many half open IKE_SAs
|
* require cookies after this many half open IKE_SAs
|
||||||
*/
|
*/
|
||||||
u_int32_t cookie_threshold;
|
u_int32_t cookie_threshold;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* how many half open IKE_SAs per peer before blocking
|
* how many half open IKE_SAs per peer before blocking
|
||||||
*/
|
*/
|
||||||
u_int32_t block_threshold;
|
u_int32_t block_threshold;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user