sctputil.h (235403) | sctputil.h (235416) |
---|---|
1/*- 2 * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved. 3 * Copyright (c) 2008-2011, by Randall Stewart. All rights reserved. 4 * Copyright (c) 2008-2011, 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 * --- 20 unchanged lines hidden (view full) --- 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 34/* $KAME: sctputil.h,v 1.15 2005/03/06 16:04:19 itojun Exp $ */ 35 36#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved. 3 * Copyright (c) 2008-2011, by Randall Stewart. All rights reserved. 4 * Copyright (c) 2008-2011, 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 * --- 20 unchanged lines hidden (view full) --- 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 34/* $KAME: sctputil.h,v 1.15 2005/03/06 16:04:19 itojun Exp $ */ 35 36#include <sys/cdefs.h> |
37__FBSDID("$FreeBSD: head/sys/netinet/sctputil.h 235403 2012-05-13 16:56:16Z tuexen $"); | 37__FBSDID("$FreeBSD: head/sys/netinet/sctputil.h 235416 2012-05-13 19:32:49Z tuexen $"); |
38#ifndef __sctputil_h__ 39#define __sctputil_h__ 40 41 42#if defined(_KERNEL) || defined(__Userspace__) 43 44#define SCTP_READ_LOCK_HELD 1 45#define SCTP_READ_LOCK_NOT_HELD 0 --- 119 unchanged lines hidden (view full) --- 165sctp_pull_off_control_to_new_inp(struct sctp_inpcb *old_inp, 166 struct sctp_inpcb *new_inp, 167 struct sctp_tcb *stcb, int waitflags); 168 169 170void sctp_stop_timers_for_shutdown(struct sctp_tcb *); 171 172void | 38#ifndef __sctputil_h__ 39#define __sctputil_h__ 40 41 42#if defined(_KERNEL) || defined(__Userspace__) 43 44#define SCTP_READ_LOCK_HELD 1 45#define SCTP_READ_LOCK_NOT_HELD 0 --- 119 unchanged lines hidden (view full) --- 165sctp_pull_off_control_to_new_inp(struct sctp_inpcb *old_inp, 166 struct sctp_inpcb *new_inp, 167 struct sctp_tcb *stcb, int waitflags); 168 169 170void sctp_stop_timers_for_shutdown(struct sctp_tcb *); 171 172void |
173sctp_report_all_outbound(struct sctp_tcb *, int, int | 173sctp_report_all_outbound(struct sctp_tcb *, uint16_t, int, int |
174#if !defined(__APPLE__) && !defined(SCTP_SO_LOCK_TESTING) 175 SCTP_UNUSED 176#endif 177); 178 179int sctp_expand_mapping_array(struct sctp_association *, uint32_t); 180 181void --- 57 unchanged lines hidden (view full) --- 239 240int sctp_cmpaddr(struct sockaddr *, struct sockaddr *); 241 242void sctp_print_address(struct sockaddr *); 243void sctp_print_address_pkt(struct ip *, struct sctphdr *); 244 245int 246sctp_release_pr_sctp_chunk(struct sctp_tcb *, struct sctp_tmit_chunk *, | 174#if !defined(__APPLE__) && !defined(SCTP_SO_LOCK_TESTING) 175 SCTP_UNUSED 176#endif 177); 178 179int sctp_expand_mapping_array(struct sctp_association *, uint32_t); 180 181void --- 57 unchanged lines hidden (view full) --- 239 240int sctp_cmpaddr(struct sockaddr *, struct sockaddr *); 241 242void sctp_print_address(struct sockaddr *); 243void sctp_print_address_pkt(struct ip *, struct sctphdr *); 244 245int 246sctp_release_pr_sctp_chunk(struct sctp_tcb *, struct sctp_tmit_chunk *, |
247 int, int | 247 uint8_t, int |
248#if !defined(__APPLE__) && !defined(SCTP_SO_LOCK_TESTING) 249 SCTP_UNUSED 250#endif 251); 252 253struct mbuf *sctp_generate_invmanparam(int); 254 255void --- 135 unchanged lines hidden --- | 248#if !defined(__APPLE__) && !defined(SCTP_SO_LOCK_TESTING) 249 SCTP_UNUSED 250#endif 251); 252 253struct mbuf *sctp_generate_invmanparam(int); 254 255void --- 135 unchanged lines hidden --- |