*/
/** Link estimator asks the routing engine if this entry
- * should be inserted into the neighbor table given the
- * white bit. The return value is the "pin bit" - if true
+ * should be inserted into the neighbor table if the
+ * white bit on a link is set but there is no room for the link
+ * on the link table. The return value is the "pin bit" - if true
* insert into the neighbor table. In the reference implementation
* the router will return true if the path through the source
* will be better than a path through at least one current neighbor.
interface CompareBit {
/* should the source of this message be inserted into the neighbor table? */
- event bool shouldInsert(message_t * ONE msg, void* COUNT_NOK(len) payload, uint8_t len, bool white_bit);
+ /* expect to be called only for links with the white bit set */
+ event bool shouldInsert(message_t * ONE msg, void* COUNT_NOK(len) payload, uint8_t len);
}