Add state management of NetSessions's IP tunnel map.

Entries are checked for inactivity at an interval controlled by
"Tunnel::ip_tunnel_timeout" and discarded if needed.
This commit is contained in:
Jon Siwek 2012-06-18 15:44:34 -05:00
parent 2ba3f5420b
commit e04d629733
6 changed files with 50 additions and 4 deletions

View file

@ -26,6 +26,7 @@ enum TimerType {
TIMER_INCREMENTAL_SEND,
TIMER_INCREMENTAL_WRITE,
TIMER_INTERCONN,
TIMER_IP_TUNNEL_INACTIVITY,
TIMER_NB_EXPIRE,
TIMER_NETWORK,
TIMER_NTP_EXPIRE,