Deleted Added
full compact
sctp6_usrreq.c (172091) sctp6_usrreq.c (172156)
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.

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

24 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
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/* $KAME: sctp6_usrreq.c,v 1.38 2005/08/24 08:08:56 suz Exp $ */
31#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.

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

24 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
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/* $KAME: sctp6_usrreq.c,v 1.38 2005/08/24 08:08:56 suz Exp $ */
31#include <sys/cdefs.h>
32__FBSDID("$FreeBSD: head/sys/netinet6/sctp6_usrreq.c 172091 2007-09-08 17:48:46Z rrs $");
32__FBSDID("$FreeBSD: head/sys/netinet6/sctp6_usrreq.c 172156 2007-09-13 10:36:43Z rrs $");
33
34
35#include <netinet/sctp_os.h>
36#include <sys/proc.h>
37#include <netinet/sctp_pcb.h>
38#include <netinet/sctp_header.h>
39#include <netinet/sctp_var.h>
40#if defined(INET6)

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

310 sctp_timer_start(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, NULL);
311out:
312 if (stcb) {
313 SCTP_TCB_UNLOCK(stcb);
314 }
315}
316
317
33
34
35#include <netinet/sctp_os.h>
36#include <sys/proc.h>
37#include <netinet/sctp_pcb.h>
38#include <netinet/sctp_header.h>
39#include <netinet/sctp_var.h>
40#if defined(INET6)

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

310 sctp_timer_start(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, NULL);
311out:
312 if (stcb) {
313 SCTP_TCB_UNLOCK(stcb);
314 }
315}
316
317
318static void
318void
319sctp6_notify(struct sctp_inpcb *inp,
320 struct icmp6_hdr *icmph,
321 struct sctphdr *sh,
322 struct sockaddr *to,
323 struct sctp_tcb *stcb,
324 struct sctp_nets *net)
325{
326#if defined (__APPLE__) || defined(SCTP_SO_LOCK_TESTING)

--- 945 unchanged lines hidden ---
319sctp6_notify(struct sctp_inpcb *inp,
320 struct icmp6_hdr *icmph,
321 struct sctphdr *sh,
322 struct sockaddr *to,
323 struct sctp_tcb *stcb,
324 struct sctp_nets *net)
325{
326#if defined (__APPLE__) || defined(SCTP_SO_LOCK_TESTING)

--- 945 unchanged lines hidden ---