mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-19 11:54:22 -04:00
add more documentation to updstunner.h
This commit is contained in:
parent
6f9d875fc6
commit
6e3740f3b8
1 changed files with 6 additions and 0 deletions
|
@ -155,13 +155,19 @@ bool locked_checkExternalAddress();
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/// The UDP stunner will only (actively) contact it's peers when mPassiveStunMode is false. (has priority over mForceRestun
|
||||||
bool mPassiveStunMode;
|
bool mPassiveStunMode;
|
||||||
|
/// Time between STUNs
|
||||||
uint32_t mTargetStunPeriod;
|
uint32_t mTargetStunPeriod;
|
||||||
|
/// Rate that determines how often STUN attempts are successfull
|
||||||
double mSuccessRate;
|
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) */
|
bool mExclusiveMode; /* when this is switched on, the stunner stays silent (and extAddr is maintained) */
|
||||||
rstime_t mExclusiveModeTS;
|
rstime_t mExclusiveModeTS;
|
||||||
std::string mExclusiveHolder;
|
std::string mExclusiveHolder;
|
||||||
|
|
||||||
|
/// force a STUN immediately
|
||||||
bool mForceRestun;
|
bool mForceRestun;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue