Deleted Added
full compact
sctp_indata.h (235828) sctp_indata.h (237049)
1/*-
2 * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved.
3 * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved.
4 * Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are met:
8 *

--- 17 unchanged lines hidden (view full) ---

26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved.
3 * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved.
4 * Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are met:
8 *

--- 17 unchanged lines hidden (view full) ---

26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_indata.h 235828 2012-05-23 11:26:28Z tuexen $");
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_indata.h 237049 2012-06-14 06:54:48Z tuexen $");
35
36#ifndef _NETINET_SCTP_INDATA_H_
37#define _NETINET_SCTP_INDATA_H_
38
39#if defined(_KERNEL) || defined(__Userspace__)
40
41struct sctp_queued_to_read *
42sctp_build_readq_entry(struct sctp_tcb *stcb,

--- 65 unchanged lines hidden (view full) ---

108void sctp_service_queues(struct sctp_tcb *, struct sctp_association *);
109
110void
111 sctp_update_acked(struct sctp_tcb *, struct sctp_shutdown_chunk *, int *);
112
113int
114sctp_process_data(struct mbuf **, int, int *, int, struct sctphdr *,
115 struct sctp_inpcb *, struct sctp_tcb *,
35
36#ifndef _NETINET_SCTP_INDATA_H_
37#define _NETINET_SCTP_INDATA_H_
38
39#if defined(_KERNEL) || defined(__Userspace__)
40
41struct sctp_queued_to_read *
42sctp_build_readq_entry(struct sctp_tcb *stcb,

--- 65 unchanged lines hidden (view full) ---

108void sctp_service_queues(struct sctp_tcb *, struct sctp_association *);
109
110void
111 sctp_update_acked(struct sctp_tcb *, struct sctp_shutdown_chunk *, int *);
112
113int
114sctp_process_data(struct mbuf **, int, int *, int, struct sctphdr *,
115 struct sctp_inpcb *, struct sctp_tcb *,
116 struct sctp_nets *, uint32_t *);
116 struct sctp_nets *, uint32_t *,
117 uint8_t, uint32_t,
118 uint32_t, uint16_t);
117
118void sctp_slide_mapping_arrays(struct sctp_tcb *stcb);
119
120void sctp_sack_check(struct sctp_tcb *, int);
121
122#endif
123#endif
119
120void sctp_slide_mapping_arrays(struct sctp_tcb *stcb);
121
122void sctp_sack_check(struct sctp_tcb *, int);
123
124#endif
125#endif