sctp_input.c (237230) | sctp_input.c (237540) |
---|---|
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 237230 2012-06-18 17:11:24Z tuexen $"); | 34__FBSDID("$FreeBSD: head/sys/netinet/sctp_input.c 237540 2012-06-24 21:25:54Z 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> --- 5884 unchanged lines hidden (view full) --- 5927 5928 for (mat = m; mat; mat = SCTP_BUF_NEXT(mat)) { 5929 if (SCTP_BUF_IS_EXTENDED(mat)) { 5930 sctp_log_mb(mat, SCTP_MBUF_INPUT); 5931 } 5932 } 5933 } 5934#endif | 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> --- 5884 unchanged lines hidden (view full) --- 5927 5928 for (mat = m; mat; mat = SCTP_BUF_NEXT(mat)) { 5929 if (SCTP_BUF_IS_EXTENDED(mat)) { 5930 sctp_log_mb(mat, SCTP_MBUF_INPUT); 5931 } 5932 } 5933 } 5934#endif |
5935#ifdef SCTP_PACKET_LOGGING | 5935#ifdef SCTP_PACKET_LOGGING |
5936 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LAST_PACKET_TRACING) | 5936 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LAST_PACKET_TRACING) |
5937 sctp_packet_log(m, mlen); | 5937 sctp_packet_log(m); |
5938#endif 5939 if (m->m_flags & M_FLOWID) { 5940 mflowid = m->m_pkthdr.flowid; 5941 use_mflowid = 1; 5942 } else { 5943 mflowid = 0; 5944 use_mflowid = 0; 5945 } --- 250 unchanged lines hidden --- | 5938#endif 5939 if (m->m_flags & M_FLOWID) { 5940 mflowid = m->m_pkthdr.flowid; 5941 use_mflowid = 1; 5942 } else { 5943 mflowid = 0; 5944 use_mflowid = 0; 5945 } --- 250 unchanged lines hidden --- |