Deleted Added
full compact
sctp_pcb.h (188067) sctp_pcb.h (197288)
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 188067 2009-02-03 11:04:03Z rrs $");
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_pcb.h 197288 2009-09-17 15:11:12Z rrs $");
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>

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

457
458/* TODO where to put non-_KERNEL things for __Userspace__? */
459#if defined(_KERNEL) || defined(__Userspace__)
460
461/* Attention Julian, this is the extern that
462 * goes with the base info. sctp_pcb.c has
463 * the real definition.
464 */
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>

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

457
458/* TODO where to put non-_KERNEL things for __Userspace__? */
459#if defined(_KERNEL) || defined(__Userspace__)
460
461/* Attention Julian, this is the extern that
462 * goes with the base info. sctp_pcb.c has
463 * the real definition.
464 */
465extern struct sctp_base_info system_base_info;
465VNET_DECLARE(struct sctp_base_info, system_base_info);
466
467#ifdef INET6
468int SCTP6_ARE_ADDR_EQUAL(struct sockaddr_in6 *a, struct sockaddr_in6 *b);
469
470#endif
471
472void sctp_fill_pcbinfo(struct sctp_pcbinfo *);
473

--- 155 unchanged lines hidden ---
466
467#ifdef INET6
468int SCTP6_ARE_ADDR_EQUAL(struct sockaddr_in6 *a, struct sockaddr_in6 *b);
469
470#endif
471
472void sctp_fill_pcbinfo(struct sctp_pcbinfo *);
473

--- 155 unchanged lines hidden ---