sctp_timer.h revision 163953
1163953Srrs/*- 2163953Srrs * Copyright (c) 2001-2006, 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 163953 2006-11-03 15:23:16Z rrs $"); 34163953Srrs 35163953Srrs#ifndef __sctp_timer_h__ 36163953Srrs#define __sctp_timer_h__ 37163953Srrs 38163953Srrs 39163953Srrs 40163953Srrs#if defined(_KERNEL) 41163953Srrs 42163953Srrsvoid 43163953Srrssctp_early_fr_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb, 44163953Srrs struct sctp_nets *net); 45163953Srrs 46163953Srrsstruct sctp_nets * 47163953Srrssctp_find_alternate_net(struct sctp_tcb *, 48163953Srrs struct sctp_nets *, int high_ssthresh); 49163953Srrs 50163953Srrsint 51163953Srrssctp_threshold_management(struct sctp_inpcb *, struct sctp_tcb *, 52163953Srrs struct sctp_nets *, uint16_t); 53163953Srrs 54163953Srrsint 55163953Srrssctp_t3rxt_timer(struct sctp_inpcb *, struct sctp_tcb *, 56163953Srrs struct sctp_nets *); 57163953Srrsint 58163953Srrssctp_t1init_timer(struct sctp_inpcb *, struct sctp_tcb *, 59163953Srrs struct sctp_nets *); 60163953Srrsint 61163953Srrssctp_shutdown_timer(struct sctp_inpcb *, struct sctp_tcb *, 62163953Srrs struct sctp_nets *); 63163953Srrsint 64163953Srrssctp_heartbeat_timer(struct sctp_inpcb *, struct sctp_tcb *, 65163953Srrs struct sctp_nets *, int); 66163953Srrs 67163953Srrsint sctp_is_hb_timer_running(struct sctp_tcb *stcb); 68163953Srrsint sctp_is_sack_timer_running(struct sctp_tcb *stcb); 69163953Srrs 70163953Srrsint 71163953Srrssctp_cookie_timer(struct sctp_inpcb *, struct sctp_tcb *, 72163953Srrs struct sctp_nets *); 73163953Srrs 74163953Srrsvoid 75163953Srrssctp_pathmtu_timer(struct sctp_inpcb *, struct sctp_tcb *, 76163953Srrs struct sctp_nets *); 77163953Srrs 78163953Srrsint 79163953Srrssctp_shutdownack_timer(struct sctp_inpcb *, struct sctp_tcb *, 80163953Srrs struct sctp_nets *); 81163953Srrsint 82163953Srrssctp_strreset_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb, 83163953Srrs struct sctp_nets *net); 84163953Srrs 85163953Srrsint 86163953Srrssctp_asconf_timer(struct sctp_inpcb *, struct sctp_tcb *, 87163953Srrs struct sctp_nets *); 88163953Srrs 89163953Srrsvoid 90163953Srrssctp_autoclose_timer(struct sctp_inpcb *, struct sctp_tcb *, 91163953Srrs struct sctp_nets *net); 92163953Srrs 93163953Srrsvoid sctp_audit_retranmission_queue(struct sctp_association *); 94163953Srrs 95163953Srrsvoid sctp_iterator_timer(struct sctp_iterator *it); 96163953Srrs 97163953Srrs 98163953Srrs#endif 99163953Srrs#endif 100