add more documentation to updstunner.h

This commit is contained in:
sehraf 2020-02-09 11:18:16 +01:00
parent 6f9d875fc6
commit 6e3740f3b8
No known key found for this signature in database
GPG Key ID: DF09F6EAE356B2C6

View File

@ -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;
};