sctp_var.h (268537) | sctp_var.h (269699) |
---|---|
1/*- 2 * Copyright (c) 2001-2008, 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-2008, 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: head/sys/netinet/sctp_var.h 268537 2014-07-11 21:15:40Z tuexen $"); | 34__FBSDID("$FreeBSD: head/sys/netinet/sctp_var.h 269699 2014-08-08 01:57:15Z kevlo $"); |
35 36#ifndef _NETINET_SCTP_VAR_H_ 37#define _NETINET_SCTP_VAR_H_ 38 39#include <netinet/sctp_uio.h> 40 41#if defined(_KERNEL) || defined(__Userspace__) 42 --- 278 unchanged lines hidden (view full) --- 321 322void sctp_close(struct socket *so); 323int sctp_disconnect(struct socket *so); 324void sctp_ctlinput(int, struct sockaddr *, void *); 325int sctp_ctloutput(struct socket *, struct sockopt *); 326 327#ifdef INET 328void sctp_input_with_port(struct mbuf *, int, uint16_t); | 35 36#ifndef _NETINET_SCTP_VAR_H_ 37#define _NETINET_SCTP_VAR_H_ 38 39#include <netinet/sctp_uio.h> 40 41#if defined(_KERNEL) || defined(__Userspace__) 42 --- 278 unchanged lines hidden (view full) --- 321 322void sctp_close(struct socket *so); 323int sctp_disconnect(struct socket *so); 324void sctp_ctlinput(int, struct sockaddr *, void *); 325int sctp_ctloutput(struct socket *, struct sockopt *); 326 327#ifdef INET 328void sctp_input_with_port(struct mbuf *, int, uint16_t); |
329void sctp_input(struct mbuf *, int); | 329int sctp_input(struct mbuf **, int *, int); |
330 331#endif 332void sctp_pathmtu_adjustment(struct sctp_tcb *, uint16_t); 333void sctp_drain(void); 334void sctp_init(void); 335void sctp_finish(void); 336int sctp_flush(struct socket *, int); 337int sctp_shutdown(struct socket *); --- 18 unchanged lines hidden --- | 330 331#endif 332void sctp_pathmtu_adjustment(struct sctp_tcb *, uint16_t); 333void sctp_drain(void); 334void sctp_init(void); 335void sctp_finish(void); 336int sctp_flush(struct socket *, int); 337int sctp_shutdown(struct socket *); --- 18 unchanged lines hidden --- |