public_variable_neighborhood/public_variable_neighborhood.h
/**
 * Artificially increases the age of a neighbor such that it will outdate sooner. 
 * Can be used to punish missing acknowledgements.
 */
Artificially increases the age of a neighbor such that it will outdate sooner.
Can be used to punish missing acknowledgements.
Artificially increases the age of a neighbor such that it will outdate sooner . Can be used to punish missing acknowledgements .
void pvn_increaseNbrAge(struct Nbr* n, uint8_t seconds)
{
	if(seconds>n->timestamp) n->timestamp = 0;
	else n->timestamp -= seconds;
}
void pvn_increaseNbrAge ( struct Nbr * n , uint8_t seconds ) { if ( seconds > n -> timestamp ) n -> timestamp = 0 ; else n -> timestamp -= seconds ; }
Artificially increases the age of a neighbor such that it will outdate sooner.
Artificially increases the age of a neighbor such that it will outdate sooner .