Make probing expiration time configurable
This commit is contained in:
parent
d1ec313081
commit
832a4d3e01
2 changed files with 15 additions and 5 deletions
|
@ -226,6 +226,15 @@
|
|||
#define RPL_PROBING_INTERVAL (120 * CLOCK_SECOND)
|
||||
#endif
|
||||
|
||||
/*
|
||||
* RPL probing expiration time.
|
||||
* */
|
||||
#ifdef RPL_CONF_PROBING_EXPIRATION_TIME
|
||||
#define RPL_PROBING_EXPIRATION_TIME RPL_CONF_PROBING_EXPIRATION_TIME
|
||||
#else
|
||||
#define RPL_PROBING_EXPIRATION_TIME (10 * 60 * CLOCK_SECOND)
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Function used to select the next parent to be probed.
|
||||
* */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue