sctputil.h (170138) | sctputil.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. --- 18 unchanged lines hidden (view full) --- 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 32/* $KAME: sctputil.h,v 1.15 2005/03/06 16:04:19 itojun Exp $ */ 33 34#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. --- 18 unchanged lines hidden (view full) --- 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 32/* $KAME: sctputil.h,v 1.15 2005/03/06 16:04:19 itojun Exp $ */ 33 34#include <sys/cdefs.h> |
35__FBSDID("$FreeBSD: head/sys/netinet/sctputil.h 170138 2007-05-30 17:39:45Z rrs $"); | 35__FBSDID("$FreeBSD: head/sys/netinet/sctputil.h 170181 2007-06-01 11:19:54Z rrs $"); |
36#ifndef __sctputil_h__ 37#define __sctputil_h__ 38 39 40#if defined(_KERNEL) 41 42 43/*- --- 158 unchanged lines hidden (view full) --- 202 203int sctp_expand_mapping_array(struct sctp_association *, uint32_t); 204 205void sctp_abort_notification(struct sctp_tcb *, int); 206 207/* We abort responding to an IP packet for some reason */ 208void 209sctp_abort_association(struct sctp_inpcb *, struct sctp_tcb *, | 36#ifndef __sctputil_h__ 37#define __sctputil_h__ 38 39 40#if defined(_KERNEL) 41 42 43/*- --- 158 unchanged lines hidden (view full) --- 202 203int sctp_expand_mapping_array(struct sctp_association *, uint32_t); 204 205void sctp_abort_notification(struct sctp_tcb *, int); 206 207/* We abort responding to an IP packet for some reason */ 208void 209sctp_abort_association(struct sctp_inpcb *, struct sctp_tcb *, |
210 struct mbuf *, int, struct sctphdr *, struct mbuf *, uint32_t, uint32_t); | 210 struct mbuf *, int, struct sctphdr *, struct mbuf *, uint32_t); |
211 212 213/* We choose to abort via user input */ 214void 215sctp_abort_an_association(struct sctp_inpcb *, struct sctp_tcb *, int, 216 struct mbuf *); 217 218void 219sctp_handle_ootb(struct mbuf *, int, int, struct sctphdr *, | 211 212 213/* We choose to abort via user input */ 214void 215sctp_abort_an_association(struct sctp_inpcb *, struct sctp_tcb *, int, 216 struct mbuf *); 217 218void 219sctp_handle_ootb(struct mbuf *, int, int, struct sctphdr *, |
220 struct sctp_inpcb *, struct mbuf *, uint32_t, uint32_t); | 220 struct sctp_inpcb *, struct mbuf *, uint32_t); |
221 222int 223sctp_connectx_helper_add(struct sctp_tcb *stcb, struct sockaddr *addr, 224 int totaddr, int *error); 225 226struct sctp_tcb * 227sctp_connectx_helper_find(struct sctp_inpcb *inp, struct sockaddr *addr, 228 int *totaddr, int *num_v4, int *num_v6, int *error, int limit, int *bad_addr); --- 175 unchanged lines hidden --- | 221 222int 223sctp_connectx_helper_add(struct sctp_tcb *stcb, struct sockaddr *addr, 224 int totaddr, int *error); 225 226struct sctp_tcb * 227sctp_connectx_helper_find(struct sctp_inpcb *inp, struct sockaddr *addr, 228 int *totaddr, int *num_v4, int *num_v6, int *error, int limit, int *bad_addr); --- 175 unchanged lines hidden --- |