mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-30 18:06:18 -05:00
add more documentation to updstunner.h
This commit is contained in:
parent
6f9d875fc6
commit
6e3740f3b8
@ -155,13 +155,19 @@ bool locked_checkExternalAddress();
|
||||
|
||||
#endif
|
||||
|
||||
/// The UDP stunner will only (actively) contact it's peers when mPassiveStunMode is false. (has priority over mForceRestun
|
||||
bool mPassiveStunMode;
|
||||
/// Time between STUNs
|
||||
uint32_t mTargetStunPeriod;
|
||||
/// Rate that determines how often STUN attempts are successfull
|
||||
double mSuccessRate;
|
||||
|
||||
/// Some variables used for tracking who and when exclusive mode is enabled
|
||||
bool mExclusiveMode; /* when this is switched on, the stunner stays silent (and extAddr is maintained) */
|
||||
rstime_t mExclusiveModeTS;
|
||||
std::string mExclusiveHolder;
|
||||
|
||||
/// force a STUN immediately
|
||||
bool mForceRestun;
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user