summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rtadvd/timer.h
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2002-06-13 16:59:31 +0000
committerume <ume@FreeBSD.org>2002-06-13 16:59:31 +0000
commita748c142252522c9e5c2e11945e8245cc9871e46 (patch)
tree7d4549a8306821ec107a61d4cbb9e7353e39fc92 /usr.sbin/rtadvd/timer.h
parent041d0fbbd905c0e30b4155f0bbdfbafd459b50d8 (diff)
downloadFreeBSD-src-a748c142252522c9e5c2e11945e8245cc9871e46.zip
FreeBSD-src-a748c142252522c9e5c2e11945e8245cc9871e46.tar.gz
Changed the behavior when an interface-direct prefix being advertised
was removed from the kernel; Advertise the prefix with zero lifetimes rather than to remove the prefix from the prefix list to be advertised. This will help renumber a receiving host by deprecating the address derived from the old prefix. Obtained from: KAME MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/rtadvd/timer.h')
-rw-r--r--usr.sbin/rtadvd/timer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rtadvd/timer.h b/usr.sbin/rtadvd/timer.h
index 3baf0d0..2eebf15 100644
--- a/usr.sbin/rtadvd/timer.h
+++ b/usr.sbin/rtadvd/timer.h
@@ -46,14 +46,14 @@ struct rtadvd_timer {
struct rainfo *rai;
struct timeval tm;
- void (*expire) __P((void *)); /* expiration function */
+ struct rtadvd_timer *(*expire) __P((void *)); /* expiration function */
void *expire_data;
void (*update) __P((void *, struct timeval *)); /* update function */
void *update_data;
};
void rtadvd_timer_init __P((void));
-struct rtadvd_timer *rtadvd_add_timer __P((void (*) __P((void *)),
+struct rtadvd_timer *rtadvd_add_timer __P((struct rtadvd_timer *(*) __P((void *)),
void (*) __P((void *, struct timeval *)), void *, void *));
void rtadvd_set_timer __P((struct timeval *, struct rtadvd_timer *));
void rtadvd_remove_timer __P((struct rtadvd_timer **));
OpenPOWER on IntegriCloud