net/neighbor: Simplify the neighbor table aging process

This commit is contained in:
Xiang Xiao
2018-11-09 14:08:18 -06:00
committed by Gregory Nutt
parent eb31dc69ac
commit 7f8496c643
8 changed files with 8 additions and 242 deletions
-7
View File
@@ -50,7 +50,6 @@
#include "devif/devif.h"
#include "arp/arp.h"
#include "neighbor/neighbor.h"
#include "tcp/tcp.h"
#include "udp/udp.h"
#include "pkt/pkt.h"
@@ -787,12 +786,6 @@ int devif_timer(FAR struct net_driver_s *dev, devif_poll_callback_t callback)
}
#endif
#ifdef CONFIG_NET_IPv6
/* Perform aging on the entries in the Neighbor Table */
neighbor_periodic(hsec);
#endif
#ifdef NET_TCP_HAVE_STACK
/* Traverse all of the active TCP connections and perform the
* timer action.