Deleted Added
full compact
sctp_var.h (235828) sctp_var.h (241916)
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 235828 2012-05-23 11:26:28Z tuexen $");
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_var.h 241916 2012-10-22 21:49:56Z delphij $");
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

--- 274 unchanged lines hidden (view full) ---

317struct sctp_inpcb;
318struct sctp_tcb;
319struct sctphdr;
320
321
322void sctp_close(struct socket *so);
323int sctp_disconnect(struct socket *so);
324
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

--- 274 unchanged lines hidden (view full) ---

317struct sctp_inpcb;
318struct sctp_tcb;
319struct sctphdr;
320
321
322void sctp_close(struct socket *so);
323int sctp_disconnect(struct socket *so);
324
325void sctp_ctlinput __P((int, struct sockaddr *, void *));
326int sctp_ctloutput __P((struct socket *, struct sockopt *));
325void sctp_ctlinput(int, struct sockaddr *, void *);
326int sctp_ctloutput(struct socket *, struct sockopt *);
327
328#ifdef INET
327
328#ifdef INET
329void sctp_input_with_port __P((struct mbuf *, int, uint16_t));
329void sctp_input_with_port(struct mbuf *, int, uint16_t);
330
331#endif
332#ifdef INET
330
331#endif
332#ifdef INET
333void sctp_input __P((struct mbuf *, int));
333void sctp_input(struct mbuf *, int);
334
335#endif
334
335#endif
336void sctp_pathmtu_adjustment __P((struct sctp_tcb *, uint16_t));
337void sctp_drain __P((void));
338void sctp_init __P((void));
336void sctp_pathmtu_adjustment(struct sctp_tcb *, uint16_t);
337void sctp_drain(void);
338void sctp_init(void);
339
340void sctp_finish(void);
341
342int sctp_flush(struct socket *, int);
339
340void sctp_finish(void);
341
342int sctp_flush(struct socket *, int);
343int sctp_shutdown __P((struct socket *));
343int sctp_shutdown(struct socket *);
344void sctp_notify
344void sctp_notify
345__P((struct sctp_inpcb *, struct ip *ip, struct sctphdr *,
345(struct sctp_inpcb *, struct ip *ip, struct sctphdr *,
346 struct sockaddr *, struct sctp_tcb *,
346 struct sockaddr *, struct sctp_tcb *,
347 struct sctp_nets *));
347 struct sctp_nets *);
348
349 int sctp_bindx(struct socket *, int, struct sockaddr_storage *,
350 int, int, struct proc *);
351
352/* can't use sctp_assoc_t here */
353 int sctp_peeloff(struct socket *, struct socket *, int, caddr_t, int *);
354
355 int sctp_ingetaddr(struct socket *,

--- 14 unchanged lines hidden ---
348
349 int sctp_bindx(struct socket *, int, struct sockaddr_storage *,
350 int, int, struct proc *);
351
352/* can't use sctp_assoc_t here */
353 int sctp_peeloff(struct socket *, struct socket *, int, caddr_t, int *);
354
355 int sctp_ingetaddr(struct socket *,

--- 14 unchanged lines hidden ---