sctputil.c (172091) | sctputil.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. --- 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: sctputil.c,v 1.37 2005/03/07 23:26:09 itojun 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: sctputil.c,v 1.37 2005/03/07 23:26:09 itojun Exp $ */ 32 33#include <sys/cdefs.h> |
34__FBSDID("$FreeBSD: head/sys/netinet/sctputil.c 172091 2007-09-08 17:48:46Z rrs $"); | 34__FBSDID("$FreeBSD: head/sys/netinet/sctputil.c 172156 2007-09-13 10:36:43Z rrs $"); |
35 36#include <netinet/sctp_os.h> 37#include <netinet/sctp_pcb.h> 38#include <netinet/sctputil.h> 39#include <netinet/sctp_var.h> 40#include <netinet/sctp_sysctl.h> 41#ifdef INET6 42#include <netinet6/sctp6_var.h> --- 1723 unchanged lines hidden (view full) --- 1766 sctp_auditing(4, inp, stcb, net); 1767#endif 1768 sctp_chunk_output(inp, stcb, SCTP_OUTPUT_FROM_ASCONF_TMR, SCTP_SO_NOT_LOCKED); 1769 break; 1770 case SCTP_TIMER_TYPE_PRIM_DELETED: 1771 if ((stcb == NULL) || (inp == NULL)) { 1772 break; 1773 } | 35 36#include <netinet/sctp_os.h> 37#include <netinet/sctp_pcb.h> 38#include <netinet/sctputil.h> 39#include <netinet/sctp_var.h> 40#include <netinet/sctp_sysctl.h> 41#ifdef INET6 42#include <netinet6/sctp6_var.h> --- 1723 unchanged lines hidden (view full) --- 1766 sctp_auditing(4, inp, stcb, net); 1767#endif 1768 sctp_chunk_output(inp, stcb, SCTP_OUTPUT_FROM_ASCONF_TMR, SCTP_SO_NOT_LOCKED); 1769 break; 1770 case SCTP_TIMER_TYPE_PRIM_DELETED: 1771 if ((stcb == NULL) || (inp == NULL)) { 1772 break; 1773 } |
1774 if (sctp_delete_prim_timer(inp, stcb, net)) { 1775 goto out_decr; 1776 } | 1774 sctp_delete_prim_timer(inp, stcb, net); |
1777 SCTP_STAT_INCR(sctps_timodelprim); 1778 break; 1779 1780 case SCTP_TIMER_TYPE_AUTOCLOSE: 1781 if ((stcb == NULL) || (inp == NULL)) { 1782 break; 1783 } 1784 SCTP_STAT_INCR(sctps_timoautoclose); --- 4716 unchanged lines hidden --- | 1775 SCTP_STAT_INCR(sctps_timodelprim); 1776 break; 1777 1778 case SCTP_TIMER_TYPE_AUTOCLOSE: 1779 if ((stcb == NULL) || (inp == NULL)) { 1780 break; 1781 } 1782 SCTP_STAT_INCR(sctps_timoautoclose); --- 4716 unchanged lines hidden --- |