sctputil.h (256281) | sctputil.h (267723) |
---|---|
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/sctputil.h 243186 2012-11-17 20:04:04Z tuexen $"); | 34__FBSDID("$FreeBSD: stable/10/sys/netinet/sctputil.h 267723 2014-06-22 16:28:52Z tuexen $"); |
35 36#ifndef _NETINET_SCTP_UTIL_H_ 37#define _NETINET_SCTP_UTIL_H_ 38 39#if defined(_KERNEL) || defined(__Userspace__) 40 41#define SCTP_READ_LOCK_HELD 1 42#define SCTP_READ_LOCK_NOT_HELD 0 --- 157 unchanged lines hidden (view full) --- 200 SCTP_UNUSED 201#endif 202); 203 204void 205sctp_handle_ootb(struct mbuf *, int, int, 206 struct sockaddr *, struct sockaddr *, 207 struct sctphdr *, struct sctp_inpcb *, | 35 36#ifndef _NETINET_SCTP_UTIL_H_ 37#define _NETINET_SCTP_UTIL_H_ 38 39#if defined(_KERNEL) || defined(__Userspace__) 40 41#define SCTP_READ_LOCK_HELD 1 42#define SCTP_READ_LOCK_NOT_HELD 0 --- 157 unchanged lines hidden (view full) --- 200 SCTP_UNUSED 201#endif 202); 203 204void 205sctp_handle_ootb(struct mbuf *, int, int, 206 struct sockaddr *, struct sockaddr *, 207 struct sctphdr *, struct sctp_inpcb *, |
208 struct mbuf *, |
|
208 uint8_t, uint32_t, 209 uint32_t, uint16_t); 210 211int 212sctp_connectx_helper_add(struct sctp_tcb *stcb, struct sockaddr *addr, 213 int totaddr, int *error); 214 215struct sctp_tcb * --- 31 unchanged lines hidden (view full) --- 247int 248sctp_release_pr_sctp_chunk(struct sctp_tcb *, struct sctp_tmit_chunk *, 249 uint8_t, int 250#if !defined(__APPLE__) && !defined(SCTP_SO_LOCK_TESTING) 251 SCTP_UNUSED 252#endif 253); 254 | 209 uint8_t, uint32_t, 210 uint32_t, uint16_t); 211 212int 213sctp_connectx_helper_add(struct sctp_tcb *stcb, struct sockaddr *addr, 214 int totaddr, int *error); 215 216struct sctp_tcb * --- 31 unchanged lines hidden (view full) --- 248int 249sctp_release_pr_sctp_chunk(struct sctp_tcb *, struct sctp_tmit_chunk *, 250 uint8_t, int 251#if !defined(__APPLE__) && !defined(SCTP_SO_LOCK_TESTING) 252 SCTP_UNUSED 253#endif 254); 255 |
255struct mbuf *sctp_generate_invmanparam(int); | 256struct mbuf *sctp_generate_cause(uint16_t, char *); |
256 257void 258sctp_bindx_add_address(struct socket *so, struct sctp_inpcb *inp, 259 struct sockaddr *sa, sctp_assoc_t assoc_id, 260 uint32_t vrf_id, int *error, void *p); 261void 262sctp_bindx_delete_address(struct sctp_inpcb *inp, 263 struct sockaddr *sa, sctp_assoc_t assoc_id, --- 123 unchanged lines hidden --- | 257 258void 259sctp_bindx_add_address(struct socket *so, struct sctp_inpcb *inp, 260 struct sockaddr *sa, sctp_assoc_t assoc_id, 261 uint32_t vrf_id, int *error, void *p); 262void 263sctp_bindx_delete_address(struct sctp_inpcb *inp, 264 struct sockaddr *sa, sctp_assoc_t assoc_id, --- 123 unchanged lines hidden --- |