diff options
author | Michele Marchetto <michele@cvs.openbsd.org> | 2007-04-09 20:45:53 +0000 |
---|---|---|
committer | Michele Marchetto <michele@cvs.openbsd.org> | 2007-04-09 20:45:53 +0000 |
commit | a456875a1be0b30621087924aaa8e8f3331659a5 (patch) | |
tree | 9ab3801aac4fd1e979e1ec456baed7bcb4e014b7 /usr.sbin/ripd/rde.h | |
parent | b77de0322bb373112a4d0b239571875c9e07e9be (diff) |
Improve the handling of "counting to infinity" mechanism and add an heuristic
higly recommended in the rfc.
tested by me and OK claudio@
Diffstat (limited to 'usr.sbin/ripd/rde.h')
-rw-r--r-- | usr.sbin/ripd/rde.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ripd/rde.h b/usr.sbin/ripd/rde.h index f27d561a8ae..429c5a91055 100644 --- a/usr.sbin/ripd/rde.h +++ b/usr.sbin/ripd/rde.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.h,v 1.1 2006/10/18 16:11:58 norby Exp $ */ +/* $OpenBSD: rde.h,v 1.2 2007/04/09 20:45:52 michele Exp $ */ /* * Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it> @@ -46,7 +46,7 @@ void rde_send_delete_kroute(struct rt_node *); int rde_imsg_compose_ripe(int, u_int32_t, pid_t, void *, u_int16_t); -/* rde_routes.c */ +/* rde_rib.c */ void rt_init(void); int rt_compare(struct rt_node *, struct rt_node *); struct rt_node *rt_find(in_addr_t, in_addr_t); @@ -59,6 +59,7 @@ void rt_snap(u_int32_t); void rt_clear(void); void route_reset_timers(struct rt_node *); int route_start_timeout(struct rt_node *); +void route_start_garbage(struct rt_node *); void rt_dump(pid_t); #endif /* _RDE_H_ */ |