Deleted Added
full compact
sctp_pcb.h (205629) sctp_pcb.h (206137)
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.

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

26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
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/* $KAME: sctp_pcb.h,v 1.21 2005/07/16 01:18:47 suz Exp $ */
32
33#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.

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

26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
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/* $KAME: sctp_pcb.h,v 1.21 2005/07/16 01:18:47 suz Exp $ */
32
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_pcb.h 205629 2010-03-24 20:02:40Z rrs $");
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_pcb.h 206137 2010-04-03 15:40:14Z tuexen $");
35
36#ifndef __sctp_pcb_h__
37#define __sctp_pcb_h__
38
39#include <netinet/sctp_os.h>
40#include <netinet/sctp.h>
41#include <netinet/sctp_constants.h>
42#include <netinet/sctp_sysctl.h>

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

559int sctp_inpcb_alloc(struct socket *so, uint32_t vrf_id);
560
561int sctp_is_address_on_local_host(struct sockaddr *addr, uint32_t vrf_id);
562
563void sctp_inpcb_free(struct sctp_inpcb *, int, int);
564
565struct sctp_tcb *
566sctp_aloc_assoc(struct sctp_inpcb *, struct sockaddr *,
35
36#ifndef __sctp_pcb_h__
37#define __sctp_pcb_h__
38
39#include <netinet/sctp_os.h>
40#include <netinet/sctp.h>
41#include <netinet/sctp_constants.h>
42#include <netinet/sctp_sysctl.h>

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

559int sctp_inpcb_alloc(struct socket *so, uint32_t vrf_id);
560
561int sctp_is_address_on_local_host(struct sockaddr *addr, uint32_t vrf_id);
562
563void sctp_inpcb_free(struct sctp_inpcb *, int, int);
564
565struct sctp_tcb *
566sctp_aloc_assoc(struct sctp_inpcb *, struct sockaddr *,
567 int, int *, uint32_t, uint32_t, struct thread *);
567 int *, uint32_t, uint32_t, struct thread *);
568
569int sctp_free_assoc(struct sctp_inpcb *, struct sctp_tcb *, int, int);
570
571
572void sctp_delete_from_timewait(uint32_t, uint16_t, uint16_t);
573
574int sctp_is_in_timewait(uint32_t tag, uint16_t lport, uint16_t rport);
575

--- 57 unchanged lines hidden ---
568
569int sctp_free_assoc(struct sctp_inpcb *, struct sctp_tcb *, int, int);
570
571
572void sctp_delete_from_timewait(uint32_t, uint16_t, uint16_t);
573
574int sctp_is_in_timewait(uint32_t tag, uint16_t lport, uint16_t rport);
575

--- 57 unchanged lines hidden ---