Make probing expiration time configurable

This commit is contained in:
Simon Duquennoy 2015-05-10 13:19:56 +02:00
parent d1ec313081
commit 832a4d3e01
2 changed files with 15 additions and 5 deletions

View file

@ -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.
* */