sctp_output.h (169382) | sctp_output.h (170181) |
---|---|
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_output.h,v 1.14 2005/03/06 16:04:18 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_output.h,v 1.14 2005/03/06 16:04:18 itojun Exp $ */ 32 33#include <sys/cdefs.h> |
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_output.h 169382 2007-05-08 17:01:12Z rrs $"); | 34__FBSDID("$FreeBSD: head/sys/netinet/sctp_output.h 170181 2007-06-01 11:19:54Z rrs $"); |
35 36#ifndef __sctp_output_h__ 37#define __sctp_output_h__ 38 39#include <netinet/sctp_header.h> 40 41#if defined(_KERNEL) 42 --- 28 unchanged lines hidden (view full) --- 71 72 73 74void sctp_send_initiate(struct sctp_inpcb *, struct sctp_tcb *); 75 76void 77sctp_send_initiate_ack(struct sctp_inpcb *, struct sctp_tcb *, 78 struct mbuf *, int, int, struct sctphdr *, struct sctp_init_chunk *, | 35 36#ifndef __sctp_output_h__ 37#define __sctp_output_h__ 38 39#include <netinet/sctp_header.h> 40 41#if defined(_KERNEL) 42 --- 28 unchanged lines hidden (view full) --- 71 72 73 74void sctp_send_initiate(struct sctp_inpcb *, struct sctp_tcb *); 75 76void 77sctp_send_initiate_ack(struct sctp_inpcb *, struct sctp_tcb *, 78 struct mbuf *, int, int, struct sctphdr *, struct sctp_init_chunk *, |
79 uint32_t, uint32_t); | 79 uint32_t); |
80 81struct mbuf * 82sctp_arethere_unrecognized_parameters(struct mbuf *, int, int *, 83 struct sctp_chunkhdr *); 84void sctp_queue_op_err(struct sctp_tcb *, struct mbuf *); 85 86int 87sctp_send_cookie_echo(struct mbuf *, int, struct sctp_tcb *, --- 9 unchanged lines hidden (view full) --- 97void sctp_send_shutdown(struct sctp_tcb *, struct sctp_nets *); 98 99void sctp_send_shutdown_ack(struct sctp_tcb *, struct sctp_nets *); 100 101void sctp_send_shutdown_complete(struct sctp_tcb *, struct sctp_nets *); 102 103void 104sctp_send_shutdown_complete2(struct mbuf *, int, struct sctphdr *, | 80 81struct mbuf * 82sctp_arethere_unrecognized_parameters(struct mbuf *, int, int *, 83 struct sctp_chunkhdr *); 84void sctp_queue_op_err(struct sctp_tcb *, struct mbuf *); 85 86int 87sctp_send_cookie_echo(struct mbuf *, int, struct sctp_tcb *, --- 9 unchanged lines hidden (view full) --- 97void sctp_send_shutdown(struct sctp_tcb *, struct sctp_nets *); 98 99void sctp_send_shutdown_ack(struct sctp_tcb *, struct sctp_nets *); 100 101void sctp_send_shutdown_complete(struct sctp_tcb *, struct sctp_nets *); 102 103void 104sctp_send_shutdown_complete2(struct mbuf *, int, struct sctphdr *, |
105 uint32_t, uint32_t); | 105 uint32_t); |
106 107void sctp_send_asconf(struct sctp_tcb *, struct sctp_nets *); 108 109void sctp_send_asconf_ack(struct sctp_tcb *, uint32_t); 110 111int sctp_get_frag_point(struct sctp_tcb *, struct sctp_association *); 112 113void sctp_toss_old_cookies(struct sctp_tcb *, struct sctp_association *); --- 60 unchanged lines hidden (view full) --- 174 int number_entries, uint16_t * list, 175 uint8_t send_out_req, uint32_t resp_seq, 176 uint8_t send_in_req, 177 uint8_t send_tsn_req); 178 179 180void 181sctp_send_abort(struct mbuf *, int, struct sctphdr *, uint32_t, | 106 107void sctp_send_asconf(struct sctp_tcb *, struct sctp_nets *); 108 109void sctp_send_asconf_ack(struct sctp_tcb *, uint32_t); 110 111int sctp_get_frag_point(struct sctp_tcb *, struct sctp_association *); 112 113void sctp_toss_old_cookies(struct sctp_tcb *, struct sctp_association *); --- 60 unchanged lines hidden (view full) --- 174 int number_entries, uint16_t * list, 175 uint8_t send_out_req, uint32_t resp_seq, 176 uint8_t send_in_req, 177 uint8_t send_tsn_req); 178 179 180void 181sctp_send_abort(struct mbuf *, int, struct sctphdr *, uint32_t, |
182 struct mbuf *, uint32_t, uint32_t); | 182 struct mbuf *, uint32_t); |
183 | 183 |
184void 185sctp_send_operr_to(struct mbuf *, int, struct mbuf *, uint32_t, uint32_t, 186 uint32_t); | 184void sctp_send_operr_to(struct mbuf *, int, struct mbuf *, uint32_t, uint32_t); |
187 188int 189sctp_sosend(struct socket *so, 190 struct sockaddr *addr, 191 struct uio *uio, 192 struct mbuf *top, 193 struct mbuf *control, 194 int flags, 195 struct thread *p 196); 197 198#endif 199#endif | 185 186int 187sctp_sosend(struct socket *so, 188 struct sockaddr *addr, 189 struct uio *uio, 190 struct mbuf *top, 191 struct mbuf *control, 192 int flags, 193 struct thread *p 194); 195 196#endif 197#endif |