diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2001-02-08 14:51:24 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2001-02-08 14:51:24 +0000 |
commit | 3c202e57e0ac6104a9ac1d9c58ea8450a310e2c3 (patch) | |
tree | 03693be914affe097b98006ee0dad043fc27f42c /sys/netinet6/in6_prefix.h | |
parent | 35eb94911efb3d17fd511aa733e810b77a71fa76 (diff) |
use timeout_xx() throughout sys/netinet6. sync with kame.
Diffstat (limited to 'sys/netinet6/in6_prefix.h')
-rw-r--r-- | sys/netinet6/in6_prefix.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/netinet6/in6_prefix.h b/sys/netinet6/in6_prefix.h index f6856a61aa9..c8ba52446ff 100644 --- a/sys/netinet6/in6_prefix.h +++ b/sys/netinet6/in6_prefix.h @@ -1,9 +1,10 @@ -/* $OpenBSD: in6_prefix.h,v 1.2 2000/02/04 18:13:36 itojun Exp $ */ +/* $OpenBSD: in6_prefix.h,v 1.3 2001/02/08 14:51:22 itojun Exp $ */ +/* $KAME: in6_prefix.h,v 1.9 2001/02/08 10:57:00 itojun Exp $ */ /* * Copyright (C) 1995, 1996, 1997, 1998 and 1999 WIDE Project. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: @@ -15,7 +16,7 @@ * 3. Neither the name of the project nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. - * + * * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE @@ -29,6 +30,8 @@ * SUCH DAMAGE. */ +#include <sys/timeout.h> + struct rr_prefix { struct ifprefix rp_ifpr; LIST_ENTRY(rr_prefix) rp_entry; @@ -84,4 +87,5 @@ LIST_HEAD(rr_prhead, rr_prefix); extern struct rr_prhead rr_prefix; void in6_rr_timer __P((void *)); +extern struct timeout in6_rr_timer_ch; int delete_each_prefix __P((struct rr_prefix *rpp, u_char origin)); |