sctp_timer.h revision 169382
1163953Srrs/*-
2169382Srrs * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved.
3163953Srrs *
4163953Srrs * Redistribution and use in source and binary forms, with or without
5163953Srrs * modification, are permitted provided that the following conditions are met:
6163953Srrs *
7163953Srrs * a) Redistributions of source code must retain the above copyright notice,
8163953Srrs *   this list of conditions and the following disclaimer.
9163953Srrs *
10163953Srrs * b) Redistributions in binary form must reproduce the above copyright
11163953Srrs *    notice, this list of conditions and the following disclaimer in
12163953Srrs *   the documentation and/or other materials provided with the distribution.
13163953Srrs *
14163953Srrs * c) Neither the name of Cisco Systems, Inc. nor the names of its
15163953Srrs *    contributors may be used to endorse or promote products derived
16163953Srrs *    from this software without specific prior written permission.
17163953Srrs *
18163953Srrs * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19163953Srrs * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
20163953Srrs * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21163953Srrs * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
22163953Srrs * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23163953Srrs * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24163953Srrs * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25163953Srrs * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26163953Srrs * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27163953Srrs * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
28163953Srrs * THE POSSIBILITY OF SUCH DAMAGE.
29163953Srrs */
30163953Srrs
31163953Srrs/* $KAME: sctp_timer.h,v 1.6 2005/03/06 16:04:18 itojun Exp $	 */
32163953Srrs#include <sys/cdefs.h>
33163953Srrs__FBSDID("$FreeBSD: head/sys/netinet/sctp_timer.h 169382 2007-05-08 17:01:12Z rrs $");
34163953Srrs
35163953Srrs#ifndef __sctp_timer_h__
36163953Srrs#define __sctp_timer_h__
37163953Srrs
38163953Srrs#if defined(_KERNEL)
39163953Srrs
40163953Srrsvoid
41163953Srrssctp_early_fr_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb,
42163953Srrs    struct sctp_nets *net);
43163953Srrs
44163953Srrsstruct sctp_nets *
45163953Srrssctp_find_alternate_net(struct sctp_tcb *,
46163953Srrs    struct sctp_nets *, int high_ssthresh);
47163953Srrs
48163953Srrsint
49163953Srrssctp_threshold_management(struct sctp_inpcb *, struct sctp_tcb *,
50163953Srrs    struct sctp_nets *, uint16_t);
51163953Srrs
52163953Srrsint
53163953Srrssctp_t3rxt_timer(struct sctp_inpcb *, struct sctp_tcb *,
54163953Srrs    struct sctp_nets *);
55163953Srrsint
56163953Srrssctp_t1init_timer(struct sctp_inpcb *, struct sctp_tcb *,
57163953Srrs    struct sctp_nets *);
58163953Srrsint
59163953Srrssctp_shutdown_timer(struct sctp_inpcb *, struct sctp_tcb *,
60163953Srrs    struct sctp_nets *);
61163953Srrsint
62163953Srrssctp_heartbeat_timer(struct sctp_inpcb *, struct sctp_tcb *,
63163953Srrs    struct sctp_nets *, int);
64163953Srrs
65163953Srrsint sctp_is_hb_timer_running(struct sctp_tcb *stcb);
66163953Srrsint sctp_is_sack_timer_running(struct sctp_tcb *stcb);
67163953Srrs
68163953Srrsint
69163953Srrssctp_cookie_timer(struct sctp_inpcb *, struct sctp_tcb *,
70163953Srrs    struct sctp_nets *);
71163953Srrs
72163953Srrsvoid
73163953Srrssctp_pathmtu_timer(struct sctp_inpcb *, struct sctp_tcb *,
74163953Srrs    struct sctp_nets *);
75163953Srrs
76163953Srrsint
77163953Srrssctp_shutdownack_timer(struct sctp_inpcb *, struct sctp_tcb *,
78163953Srrs    struct sctp_nets *);
79163953Srrsint
80163953Srrssctp_strreset_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb,
81163953Srrs    struct sctp_nets *net);
82163953Srrs
83163953Srrsint
84163953Srrssctp_asconf_timer(struct sctp_inpcb *, struct sctp_tcb *,
85163953Srrs    struct sctp_nets *);
86163953Srrs
87163953Srrsvoid
88163953Srrssctp_autoclose_timer(struct sctp_inpcb *, struct sctp_tcb *,
89163953Srrs    struct sctp_nets *net);
90163953Srrs
91163953Srrsvoid sctp_audit_retranmission_queue(struct sctp_association *);
92163953Srrs
93163953Srrsvoid sctp_iterator_timer(struct sctp_iterator *it);
94163953Srrs
95163953Srrs
96163953Srrs#endif
97163953Srrs#endif
98