sctp_input.h revision 169352
1163953Srrs/*-
2166086Srrs * Copyright (c) 2001-2007, 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_input.h,v 1.6 2005/03/06 16:04:17 itojun Exp $	 */
32163953Srrs
33163953Srrs#include <sys/cdefs.h>
34163953Srrs__FBSDID("$FreeBSD: head/sys/netinet/sctp_input.h 169352 2007-05-08 00:21:05Z rrs $");
35163953Srrs
36163953Srrs#ifndef __sctp_input_h__
37163953Srrs#define __sctp_input_h__
38163953Srrs
39163953Srrs#if defined(_KERNEL)
40163953Srrsint
41163953Srrssctp_common_input_processing(struct mbuf **, int, int, int,
42163953Srrs    struct sctphdr *, struct sctp_chunkhdr *, struct sctp_inpcb *,
43169352Srrs    struct sctp_tcb *, struct sctp_nets *, uint8_t, uint32_t, uint32_t);
44163953Srrs
45163953Srrs
46163953Srrsstruct sctp_stream_reset_out_request *
47169352Srrssctp_find_stream_reset(struct sctp_tcb *stcb, uint32_t seq,
48169352Srrs    struct sctp_tmit_chunk **bchk);
49163953Srrs
50169352Srrsvoid
51169352Srrssctp_reset_in_stream(struct sctp_tcb *stcb, int number_entries,
52169352Srrs    uint16_t * list);
53163953Srrs
54163953Srrs
55163953Srrs#endif
56163953Srrs#endif
57