mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Networking: Clean up IPv6 Neighbor Table logic
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
|
||||
#include "devif/devif.h"
|
||||
#include "arp/arp.h"
|
||||
#include "neighbor/neighbor.h"
|
||||
#include "tcp/tcp.h"
|
||||
#include "udp/udp.h"
|
||||
#include "pkt/pkt.h"
|
||||
@@ -428,6 +429,12 @@ 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();
|
||||
#endif
|
||||
|
||||
/* Traverse all of the active packet connections and perform the poll
|
||||
* action.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user