sctp_input.c (238454) | sctp_input.c (239091) |
---|---|
1/*- 2 * Copyright (c) 2001-2008, 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) 2001-2008, 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_input.c 238454 2012-07-14 19:44:39Z tuexen $"); | 34__FBSDID("$FreeBSD: head/sys/netinet/sctp_input.c 239091 2012-08-06 10:50:23Z tuexen $"); |
35 36#include <netinet/sctp_os.h> 37#include <netinet/sctp_var.h> 38#include <netinet/sctp_sysctl.h> 39#include <netinet/sctp_pcb.h> 40#include <netinet/sctp_header.h> 41#include <netinet/sctputil.h> 42#include <netinet/sctp_output.h> --- 5552 unchanged lines hidden (view full) --- 5595 uint8_t use_mflowid, uint32_t mflowid, 5596 uint32_t vrf_id, uint16_t port) 5597{ 5598 uint32_t high_tsn; 5599 int fwd_tsn_seen = 0, data_processed = 0; 5600 struct mbuf *m = *mm; 5601 int un_sent; 5602 int cnt_ctrl_ready = 0; | 35 36#include <netinet/sctp_os.h> 37#include <netinet/sctp_var.h> 38#include <netinet/sctp_sysctl.h> 39#include <netinet/sctp_pcb.h> 40#include <netinet/sctp_header.h> 41#include <netinet/sctputil.h> 42#include <netinet/sctp_output.h> --- 5552 unchanged lines hidden (view full) --- 5595 uint8_t use_mflowid, uint32_t mflowid, 5596 uint32_t vrf_id, uint16_t port) 5597{ 5598 uint32_t high_tsn; 5599 int fwd_tsn_seen = 0, data_processed = 0; 5600 struct mbuf *m = *mm; 5601 int un_sent; 5602 int cnt_ctrl_ready = 0; |
5603 struct sctp_inpcb *inp, *inp_decr = NULL; | 5603 struct sctp_inpcb *inp = NULL, *inp_decr = NULL; |
5604 struct sctp_tcb *stcb = NULL; 5605 struct sctp_nets *net = NULL; 5606 5607 SCTP_STAT_INCR(sctps_recvdatagrams); 5608#ifdef SCTP_AUDITING_ENABLED 5609 sctp_audit_log(0xE0, 1); 5610 sctp_auditing(0, inp, stcb, net); 5611#endif --- 537 unchanged lines hidden --- | 5604 struct sctp_tcb *stcb = NULL; 5605 struct sctp_nets *net = NULL; 5606 5607 SCTP_STAT_INCR(sctps_recvdatagrams); 5608#ifdef SCTP_AUDITING_ENABLED 5609 sctp_audit_log(0xE0, 1); 5610 sctp_auditing(0, inp, stcb, net); 5611#endif --- 537 unchanged lines hidden --- |