Deleted Added
full compact
sctp_os_bsd.h (285877) sctp_os_bsd.h (292782)
1/*-
2 * Copyright (c) 2006-2007, 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) 2006-2007, 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_os_bsd.h 285877 2015-07-25 18:26:09Z tuexen $");
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_os_bsd.h 292782 2015-12-27 17:33:59Z allanjude $");
35
36#ifndef _NETINET_SCTP_OS_BSD_H_
37#define _NETINET_SCTP_OS_BSD_H_
38/*
39 * includes
40 */
41#include "opt_ipsec.h"
42#include "opt_compat.h"

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

99#include <netinet6/nd6.h>
100#include <netinet6/scope6_var.h>
101#endif /* INET6 */
102
103
104#include <netinet/ip_options.h>
105
106#include <crypto/sha1.h>
35
36#ifndef _NETINET_SCTP_OS_BSD_H_
37#define _NETINET_SCTP_OS_BSD_H_
38/*
39 * includes
40 */
41#include "opt_ipsec.h"
42#include "opt_compat.h"

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

99#include <netinet6/nd6.h>
100#include <netinet6/scope6_var.h>
101#endif /* INET6 */
102
103
104#include <netinet/ip_options.h>
105
106#include <crypto/sha1.h>
107#include
107#include <crypto/sha2/sha256.h>
108
109#ifndef in6pcb
110#define in6pcb inpcb
111#endif
112/* Declare all the malloc names for all the various mallocs */
113MALLOC_DECLARE(SCTP_M_MAP);
114MALLOC_DECLARE(SCTP_M_STRMI);
115MALLOC_DECLARE(SCTP_M_STRMO);

--- 382 unchanged lines hidden ---
108
109#ifndef in6pcb
110#define in6pcb inpcb
111#endif
112/* Declare all the malloc names for all the various mallocs */
113MALLOC_DECLARE(SCTP_M_MAP);
114MALLOC_DECLARE(SCTP_M_STRMI);
115MALLOC_DECLARE(SCTP_M_STRMO);

--- 382 unchanged lines hidden ---