Update purge logic of communities and edges for supernode

This commit is contained in:
switch_st
2020-07-22 15:49:45 +08:00
parent 0ab9f3229e
commit 81516d8d8c
3 changed files with 37 additions and 18 deletions
+3
View File
@@ -35,6 +35,9 @@
#define IFACE_UPDATE_INTERVAL (30) /* sec. How long it usually takes to get an IP lease. */
#define TRANSOP_TICK_INTERVAL (10) /* sec */
#define PURGE_REGISTRATION_FREQUENCY 30
#define REGISTRATION_TIMEOUT 60
#define ETH_FRAMESIZE 14
#define IP4_SRCOFFSET 12
#define IP4_DSTOFFSET 16