sctp_input.h (179157) | sctp_input.h (180387) |
---|---|
1/*- 2 * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are met: 6 * 7 * a) Redistributions of source code must retain the above copyright notice, 8 * this list of conditions and the following disclaimer. --- 17 unchanged lines hidden (view full) --- 26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 28 * THE POSSIBILITY OF SUCH DAMAGE. 29 */ 30 31/* $KAME: sctp_input.h,v 1.6 2005/03/06 16:04:17 itojun Exp $ */ 32 33#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are met: 6 * 7 * a) Redistributions of source code must retain the above copyright notice, 8 * this list of conditions and the following disclaimer. --- 17 unchanged lines hidden (view full) --- 26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 28 * THE POSSIBILITY OF SUCH DAMAGE. 29 */ 30 31/* $KAME: sctp_input.h,v 1.6 2005/03/06 16:04:17 itojun Exp $ */ 32 33#include <sys/cdefs.h> |
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_input.h 179157 2008-05-20 13:47:46Z rrs $"); | 34__FBSDID("$FreeBSD: head/sys/netinet/sctp_input.h 180387 2008-07-09 16:45:30Z rrs $"); |
35 36#ifndef __sctp_input_h__ 37#define __sctp_input_h__ 38 | 35 36#ifndef __sctp_input_h__ 37#define __sctp_input_h__ 38 |
39#if defined(_KERNEL) | 39#if defined(_KERNEL) || defined(__Userspace__) |
40void 41sctp_common_input_processing(struct mbuf **, int, int, int, 42 struct sctphdr *, struct sctp_chunkhdr *, struct sctp_inpcb *, 43 struct sctp_tcb *, struct sctp_nets *, uint8_t, uint32_t, uint16_t); 44 45struct sctp_stream_reset_out_request * 46sctp_find_stream_reset(struct sctp_tcb *stcb, uint32_t seq, 47 struct sctp_tmit_chunk **bchk); 48 49void 50sctp_reset_in_stream(struct sctp_tcb *stcb, int number_entries, 51 uint16_t * list); 52 53 54int sctp_is_there_unsent_data(struct sctp_tcb *stcb); 55 56#endif 57#endif | 40void 41sctp_common_input_processing(struct mbuf **, int, int, int, 42 struct sctphdr *, struct sctp_chunkhdr *, struct sctp_inpcb *, 43 struct sctp_tcb *, struct sctp_nets *, uint8_t, uint32_t, uint16_t); 44 45struct sctp_stream_reset_out_request * 46sctp_find_stream_reset(struct sctp_tcb *stcb, uint32_t seq, 47 struct sctp_tmit_chunk **bchk); 48 49void 50sctp_reset_in_stream(struct sctp_tcb *stcb, int number_entries, 51 uint16_t * list); 52 53 54int sctp_is_there_unsent_data(struct sctp_tcb *stcb); 55 56#endif 57#endif |