fix a bug about tv_sub
add a hashmap property to hold the time we receive the rip update message
consider the link quality and 3g detector's rtt as the rule to choose the default gateway
add a hashmap structure to hold the ip --> time pair