sctp_output.h (236956) | sctp_output.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_output.h 236956 2012-06-12 13:15:27Z tuexen $"); | 34__FBSDID("$FreeBSD: head/sys/netinet/sctp_output.h 237049 2012-06-14 06:54:48Z 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 --- 35 unchanged lines hidden (view full) --- 78void 79sctp_send_initiate(struct sctp_inpcb *, struct sctp_tcb *, int 80#if !defined(__APPLE__) && !defined(SCTP_SO_LOCK_TESTING) 81 SCTP_UNUSED 82#endif 83); 84 85void | 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 --- 35 unchanged lines hidden (view full) --- 78void 79sctp_send_initiate(struct sctp_inpcb *, struct sctp_tcb *, int 80#if !defined(__APPLE__) && !defined(SCTP_SO_LOCK_TESTING) 81 SCTP_UNUSED 82#endif 83); 84 85void |
86sctp_send_initiate_ack(struct sctp_inpcb *, struct sctp_tcb *, 87 struct mbuf *, int, int, struct sctphdr *, struct sctp_init_chunk *, | 86sctp_send_initiate_ack(struct sctp_inpcb *, struct sctp_tcb *, struct mbuf *, 87 int, int, struct sctphdr *, struct sctp_init_chunk *, 88 uint8_t, uint32_t, |
88 uint32_t, uint16_t, int); 89 90struct mbuf * 91sctp_arethere_unrecognized_parameters(struct mbuf *, int, int *, 92 struct sctp_chunkhdr *, int *); 93void sctp_queue_op_err(struct sctp_tcb *, struct mbuf *); 94 95int --- 15 unchanged lines hidden (view full) --- 111void sctp_send_shutdown(struct sctp_tcb *, struct sctp_nets *); 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 mbuf *, struct sctphdr *, | 89 uint32_t, uint16_t, int); 90 91struct mbuf * 92sctp_arethere_unrecognized_parameters(struct mbuf *, int, int *, 93 struct sctp_chunkhdr *, int *); 94void sctp_queue_op_err(struct sctp_tcb *, struct mbuf *); 95 96int --- 15 unchanged lines hidden (view full) --- 112void sctp_send_shutdown(struct sctp_tcb *, struct sctp_nets *); 113 114void sctp_send_shutdown_ack(struct sctp_tcb *, struct sctp_nets *); 115 116void sctp_send_shutdown_complete(struct sctp_tcb *, struct sctp_nets *, int); 117 118void 119sctp_send_shutdown_complete2(struct mbuf *, struct sctphdr *, |
120 uint8_t, uint32_t, |
|
119 uint32_t, uint16_t); 120 121void sctp_send_asconf(struct sctp_tcb *, struct sctp_nets *, int addr_locked); 122 123void sctp_send_asconf_ack(struct sctp_tcb *); 124 125int sctp_get_frag_point(struct sctp_tcb *, struct sctp_association *); 126 --- 70 unchanged lines hidden (view full) --- 197 uint8_t send_in_req, 198 uint8_t send_tsn_req, 199 uint8_t add_stream, 200 uint16_t adding_o, 201 uint16_t adding_i, uint8_t from_peer); 202 203void 204sctp_send_abort(struct mbuf *, int, struct sctphdr *, uint32_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 --- 70 unchanged lines hidden (view full) --- 199 uint8_t send_in_req, 200 uint8_t send_tsn_req, 201 uint8_t add_stream, 202 uint16_t adding_o, 203 uint16_t adding_i, uint8_t from_peer); 204 205void 206sctp_send_abort(struct mbuf *, int, struct sctphdr *, uint32_t, |
205 struct mbuf *, uint32_t, uint16_t); | 207 struct mbuf *, 208 uint8_t, uint32_t, 209 uint32_t, uint16_t); |
206 207void 208sctp_send_operr_to(struct mbuf *, struct sctphdr *, uint32_t, | 210 211void 212sctp_send_operr_to(struct mbuf *, struct sctphdr *, uint32_t, |
209 struct mbuf *, uint32_t, uint16_t); | 213 struct mbuf *, 214 uint8_t, uint32_t, 215 uint32_t, uint16_t); |
210 211#endif /* _KERNEL || __Userspace__ */ 212 | 216 217#endif /* _KERNEL || __Userspace__ */ 218 |
213#if defined(_KERNEL) || defined (__Userspace__) | 219#if defined(_KERNEL) || defined(__Userspace__) |
214int 215sctp_sosend(struct socket *so, 216 struct sockaddr *addr, 217 struct uio *uio, 218 struct mbuf *top, 219 struct mbuf *control, 220 int flags, 221 struct thread *p 222); 223 224#endif 225#endif | 220int 221sctp_sosend(struct socket *so, 222 struct sockaddr *addr, 223 struct uio *uio, 224 struct mbuf *top, 225 struct mbuf *control, 226 int flags, 227 struct thread *p 228); 229 230#endif 231#endif |