summaryrefslogtreecommitdiff
path: root/src/routing.h
diff options
context:
space:
mode:
authorJesper Jensen <jesper@jnsn.dev>2025-05-10 11:43:31 +0200
committerJesper Jensen <jesper@jnsn.dev>2025-05-10 11:43:31 +0200
commitf93e2d4de6e8140276ce84d173bfb80acaf45830 (patch)
tree82b9f434842e785b76b0df1b482d8c469cb5ec71 /src/routing.h
parentd230c01c0609529332eb72ae1b65f0ddddd515a0 (diff)
Rebuild the rounting table on startup
Diffstat (limited to 'src/routing.h')
-rw-r--r--src/routing.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/routing.h b/src/routing.h
index 2d53b80..a6d1e84 100644
--- a/src/routing.h
+++ b/src/routing.h
@@ -39,6 +39,7 @@ extern int table_size;
void routing_init(struct nodeid* myid);
void routing_setid(struct nodeid *id);
void routing_update_metrics();
+void routing_rebuild_table();
void routing_flush();
bool routing_interested(struct nodeid* id);
bool routing_offer(struct nodeid* id, struct entry **dest);