Deleted Added
full compact
sctp_output.h (273001) sctp_output.h (284633)
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: stable/10/sys/netinet/sctp_output.h 273001 2014-10-12 17:42:32Z tuexen $");
34__FBSDID("$FreeBSD: stable/10/sys/netinet/sctp_output.h 284633 2015-06-20 08:25:27Z tuexen $");
35
36#ifndef _NETINET_SCTP_OUTPUT_H_
37#define _NETINET_SCTP_OUTPUT_H_
38
39#include <netinet/sctp_header.h>
40
41#if defined(_KERNEL) || defined(__Userspace__)
42

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

112
113void sctp_send_shutdown_ack(struct sctp_tcb *, struct sctp_nets *);
114
115void sctp_send_shutdown_complete(struct sctp_tcb *, struct sctp_nets *, int);
116
117void
118sctp_send_shutdown_complete2(struct sockaddr *, struct sockaddr *,
119 struct sctphdr *,
35
36#ifndef _NETINET_SCTP_OUTPUT_H_
37#define _NETINET_SCTP_OUTPUT_H_
38
39#include <netinet/sctp_header.h>
40
41#if defined(_KERNEL) || defined(__Userspace__)
42

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

112
113void sctp_send_shutdown_ack(struct sctp_tcb *, struct sctp_nets *);
114
115void sctp_send_shutdown_complete(struct sctp_tcb *, struct sctp_nets *, int);
116
117void
118sctp_send_shutdown_complete2(struct sockaddr *, struct sockaddr *,
119 struct sctphdr *,
120 uint8_t, uint32_t,
120 uint8_t, uint32_t, uint16_t,
121 uint32_t, uint16_t);
122
123void sctp_send_asconf(struct sctp_tcb *, struct sctp_nets *, int addr_locked);
124
125void sctp_send_asconf_ack(struct sctp_tcb *);
126
127int sctp_get_frag_point(struct sctp_tcb *, struct sctp_association *);
128

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

182
183int
184sctp_send_str_reset_req(struct sctp_tcb *, uint16_t, uint16_t *, uint8_t,
185 uint8_t, uint8_t, uint8_t, uint16_t, uint16_t, uint8_t);
186
187void
188sctp_send_abort(struct mbuf *, int, struct sockaddr *, struct sockaddr *,
189 struct sctphdr *, uint32_t, struct mbuf *,
121 uint32_t, uint16_t);
122
123void sctp_send_asconf(struct sctp_tcb *, struct sctp_nets *, int addr_locked);
124
125void sctp_send_asconf_ack(struct sctp_tcb *);
126
127int sctp_get_frag_point(struct sctp_tcb *, struct sctp_association *);
128

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

182
183int
184sctp_send_str_reset_req(struct sctp_tcb *, uint16_t, uint16_t *, uint8_t,
185 uint8_t, uint8_t, uint8_t, uint16_t, uint16_t, uint8_t);
186
187void
188sctp_send_abort(struct mbuf *, int, struct sockaddr *, struct sockaddr *,
189 struct sctphdr *, uint32_t, struct mbuf *,
190 uint8_t, uint32_t,
190 uint8_t, uint32_t, uint16_t,
191 uint32_t, uint16_t);
192
193void
194sctp_send_operr_to(struct sockaddr *, struct sockaddr *,
195 struct sctphdr *, uint32_t, struct mbuf *,
191 uint32_t, uint16_t);
192
193void
194sctp_send_operr_to(struct sockaddr *, struct sockaddr *,
195 struct sctphdr *, uint32_t, struct mbuf *,
196 uint8_t, uint32_t,
196 uint8_t, uint32_t, uint16_t,
197 uint32_t, uint16_t);
198
199#endif /* _KERNEL || __Userspace__ */
200
201#if defined(_KERNEL) || defined(__Userspace__)
202int
203sctp_sosend(struct socket *so,
204 struct sockaddr *addr,
205 struct uio *uio,
206 struct mbuf *top,
207 struct mbuf *control,
208 int flags,
209 struct thread *p
210);
211
212#endif
213#endif
197 uint32_t, uint16_t);
198
199#endif /* _KERNEL || __Userspace__ */
200
201#if defined(_KERNEL) || defined(__Userspace__)
202int
203sctp_sosend(struct socket *so,
204 struct sockaddr *addr,
205 struct uio *uio,
206 struct mbuf *top,
207 struct mbuf *control,
208 int flags,
209 struct thread *p
210);
211
212#endif
213#endif