sctp_output.h (179157) | sctp_output.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_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 179157 2008-05-20 13:47:46Z rrs $"); | 34__FBSDID("$FreeBSD: head/sys/netinet/sctp_output.h 180387 2008-07-09 16:45:30Z rrs $"); |
35 36#ifndef __sctp_output_h__ 37#define __sctp_output_h__ 38 39#include <netinet/sctp_header.h> 40 | 35 36#ifndef __sctp_output_h__ 37#define __sctp_output_h__ 38 39#include <netinet/sctp_header.h> 40 |
41#if defined(_KERNEL) | 41#if defined(_KERNEL) || defined(__Userspace__) |
42 43 44struct mbuf * 45sctp_add_addresses_to_i_ia(struct sctp_inpcb *inp, 46 struct sctp_scoping *scope, 47 struct mbuf *m_at, 48 int cnt_inits_to); 49 --- 146 unchanged lines hidden (view full) --- 196 197 198void 199sctp_send_abort(struct mbuf *, int, struct sctphdr *, uint32_t, 200 struct mbuf *, uint32_t, uint16_t); 201 202void sctp_send_operr_to(struct mbuf *, int, struct mbuf *, uint32_t, uint32_t, uint16_t); 203 | 42 43 44struct mbuf * 45sctp_add_addresses_to_i_ia(struct sctp_inpcb *inp, 46 struct sctp_scoping *scope, 47 struct mbuf *m_at, 48 int cnt_inits_to); 49 --- 146 unchanged lines hidden (view full) --- 196 197 198void 199sctp_send_abort(struct mbuf *, int, struct sctphdr *, uint32_t, 200 struct mbuf *, uint32_t, uint16_t); 201 202void sctp_send_operr_to(struct mbuf *, int, struct mbuf *, uint32_t, uint32_t, uint16_t); 203 |
204#endif /* _KERNEL || __Userspace__ */ 205 206#if defined(_KERNEL) || defined (__Userspace__) |
|
204int 205sctp_sosend(struct socket *so, 206 struct sockaddr *addr, 207 struct uio *uio, 208 struct mbuf *top, 209 struct mbuf *control, 210 int flags, 211 struct thread *p 212); 213 214#endif 215#endif | 207int 208sctp_sosend(struct socket *so, 209 struct sockaddr *addr, 210 struct uio *uio, 211 struct mbuf *top, 212 struct mbuf *control, 213 int flags, 214 struct thread *p 215); 216 217#endif 218#endif |