···1010 *1111 * Various protocol defined structures.1212 *1313- * The SCTP reference implementation is free software;1313+ * This SCTP implementation is free software;1414 * you can redistribute it and/or modify it under the terms of1515 * the GNU General Public License as published by1616 * the Free Software Foundation; either version 2, or (at your option)1717 * any later version.1818 *1919- * The SCTP reference implementation is distributed in the hope that it1919+ * This SCTP implementation is distributed in the hope that it2020 * will be useful, but WITHOUT ANY WARRANTY; without even the implied2121 * ************************2222 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-4
include/net/sctp/auth.h
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright 2007 Hewlett-Packard Development Company, L.P.33 *44- * This file is part of the SCTP kernel reference Implementation44+ * This file is part of the SCTP kernel implementation55 *66- * The SCTP reference implementation is free software;66+ * This SCTP implementation is free software;77 * you can redistribute it and/or modify it under the terms of88 * the GNU General Public License as published by99 * the Free Software Foundation; either version 2, or (at your option)1010 * any later version.1111 *1212- * The SCTP reference implementation is distributed in the hope that it1212+ * This SCTP implementation is distributed in the hope that it1313 * will be useful, but WITHOUT ANY WARRANTY; without even the implied1414 * ************************1515 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-4
include/net/sctp/command.h
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel Implementation22 * (C) Copyright IBM Corp. 2001, 200433 * Copyright (C) 1999-2001 Cisco, Motorola44 *55- * This file is part of the SCTP kernel reference Implementation55+ * This file is part of the SCTP kernel implementation66 *77 * These are the definitions needed for the command object.88 *99- * The SCTP reference implementation is free software;99+ * This SCTP implementation is free software;1010 * you can redistribute it and/or modify it under the terms of1111 * the GNU General Public License as published by1212 * the Free Software Foundation; either version 2, or (at your option)1313 * any later version.1414 *1515- * the SCTP reference implementation is distributed in the hope that it1515+ * This SCTP implementation is distributed in the hope that it1616 * will be useful, but WITHOUT ANY WARRANTY; without even the implied1717 * ************************1818 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-4
include/net/sctp/constants.h
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright IBM Corp. 2001, 200433 * Copyright (c) 1999-2000 Cisco, Inc.44 * Copyright (c) 1999-2001 Motorola, Inc.55 * Copyright (c) 2001 Intel Corp.66 *77- * This file is part of the SCTP kernel reference Implementation77+ * This file is part of the SCTP kernel implementation88 *99- * The SCTP reference implementation is free software;99+ * This SCTP implementation is free software;1010 * you can redistribute it and/or modify it under the terms of1111 * the GNU General Public License as published by1212 * the Free Software Foundation; either version 2, or (at your option)1313 * any later version.1414 *1515- * The SCTP reference implementation is distributed in the hope that it1515+ * This SCTP implementation is distributed in the hope that it1616 * will be useful, but WITHOUT ANY WARRANTY; without even the implied1717 * ************************1818 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-4
include/net/sctp/sctp.h
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright IBM Corp. 2001, 200433 * Copyright (c) 1999-2000 Cisco, Inc.44 * Copyright (c) 1999-2001 Motorola, Inc.55 * Copyright (c) 2001-2003 Intel Corp.66 *77- * This file is part of the SCTP kernel reference Implementation77+ * This file is part of the SCTP kernel implementation88 *99 * The base lksctp header.1010 *1111- * The SCTP reference implementation is free software;1111+ * This SCTP implementation is free software;1212 * you can redistribute it and/or modify it under the terms of1313 * the GNU General Public License as published by1414 * the Free Software Foundation; either version 2, or (at your option)1515 * any later version.1616 *1717- * The SCTP reference implementation is distributed in the hope that it1717+ * This SCTP implementation is distributed in the hope that it1818 * will be useful, but WITHOUT ANY WARRANTY; without even the implied1919 * ************************2020 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-4
include/net/sctp/sm.h
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright IBM Corp. 2001, 200433 * Copyright (c) 1999-2000 Cisco, Inc.44 * Copyright (c) 1999-2001 Motorola, Inc.55 * Copyright (c) 2001 Intel Corp.66 *77- * This file is part of the SCTP kernel reference Implementation77+ * This file is part of the SCTP kernel implementation88 *99 * These are definitions needed by the state machine.1010 *1111- * The SCTP reference implementation is free software;1111+ * This SCTP implementation is free software;1212 * you can redistribute it and/or modify it under the terms of1313 * the GNU General Public License as published by1414 * the Free Software Foundation; either version 2, or (at your option)1515 * any later version.1616 *1717- * The SCTP reference implementation is distributed in the hope that it1717+ * This SCTP implementation is distributed in the hope that it1818 * will be useful, but WITHOUT ANY WARRANTY; without even the implied1919 * ************************2020 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-4
include/net/sctp/structs.h
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright IBM Corp. 2001, 200433 * Copyright (c) 1999-2000 Cisco, Inc.44 * Copyright (c) 1999-2001 Motorola, Inc.55 * Copyright (c) 2001 Intel Corp.66 *77- * This file is part of the SCTP kernel reference Implementation77+ * This file is part of the SCTP kernel implementation88 *99- * The SCTP reference implementation is free software;99+ * This SCTP implementation is free software;1010 * you can redistribute it and/or modify it under the terms of1111 * the GNU General Public License as published by1212 * the Free Software Foundation; either version 2, or (at your option)1313 * any later version.1414 *1515- * The SCTP reference implementation is distributed in the hope that it1515+ * This SCTP implementation is distributed in the hope that it1616 * will be useful, but WITHOUT ANY WARRANTY; without even the implied1717 * ************************1818 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-4
include/net/sctp/tsnmap.h
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright IBM Corp. 2001, 200433 * Copyright (c) 1999-2000 Cisco, Inc.44 * Copyright (c) 1999-2001 Motorola, Inc.55 * Copyright (c) 2001 Intel Corp.66 *77- * This file is part of the SCTP kernel reference Implementation77+ * This file is part of the SCTP kernel implementation88 *99 * These are the definitions needed for the tsnmap type. The tsnmap is used1010 * to track out of order TSNs received.1111 *1212- * The SCTP reference implementation is free software;1212+ * This SCTP implementation is free software;1313 * you can redistribute it and/or modify it under the terms of1414 * the GNU General Public License as published by1515 * the Free Software Foundation; either version 2, or (at your option)1616 * any later version.1717 *1818- * The SCTP reference implementation is distributed in the hope that it1818+ * This SCTP implementation is distributed in the hope that it1919 * will be useful, but WITHOUT ANY WARRANTY; without even the implied2020 * ************************2121 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-4
include/net/sctp/ulpevent.h
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright IBM Corp. 2001, 200433 * Copyright (c) 1999-2000 Cisco, Inc.44 * Copyright (c) 1999-2001 Motorola, Inc.···1010 * sctp_ulpevent type is used to carry information from the state machine1111 * upwards to the ULP.1212 *1313- * This file is part of the SCTP kernel reference Implementation1313+ * This file is part of the SCTP kernel implementation1414 *1515- * The SCTP reference implementation is free software;1515+ * This SCTP implementation is free software;1616 * you can redistribute it and/or modify it under the terms of1717 * the GNU General Public License as published by1818 * the Free Software Foundation; either version 2, or (at your option)1919 * any later version.2020 *2121- * The SCTP reference implementation is distributed in the hope that it2121+ * This SCTP implementation is distributed in the hope that it2222 * will be useful, but WITHOUT ANY WARRANTY; without even the implied2323 * ************************2424 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+3-3
include/net/sctp/ulpqueue.h
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright IBM Corp. 2001, 200433 * Copyright (c) 1999-2000 Cisco, Inc.44 * Copyright (c) 1999-2001 Motorola, Inc.···1111 * and the core SCTP state machine. This is the component which handles1212 * reassembly and ordering.1313 *1414- * The SCTP reference implementation is free software;1414+ * This SCTP implementation is free software;1515 * you can redistribute it and/or modify it under the terms of1616 * the GNU General Public License as published by1717 * the Free Software Foundation; either version 2, or (at your option)1818 * any later version.1919 *2020- * the SCTP reference implementation is distributed in the hope that it2020+ * This SCTP implementation is distributed in the hope that it2121 * will be useful, but WITHOUT ANY WARRANTY; without even the implied2222 * ************************2323 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-4
include/net/sctp/user.h
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright IBM Corp. 2001, 200433 * Copyright (c) 1999-2000 Cisco, Inc.44 * Copyright (c) 1999-2001 Motorola, Inc.55 * Copyright (c) 2002 Intel Corp.66 *77- * This file is part of the SCTP kernel reference Implementation77+ * This file is part of the SCTP kernel implementation88 *99 * This header represents the structures and constants needed to support1010 * the SCTP Extension to the Sockets API.1111 *1212- * The SCTP reference implementation is free software;1212+ * This SCTP implementation is free software;1313 * you can redistribute it and/or modify it under the terms of1414 * the GNU General Public License as published by1515 * the Free Software Foundation; either version 2, or (at your option)1616 * any later version.1717 *1818- * The SCTP reference implementation is distributed in the hope that it1818+ * This SCTP implementation is distributed in the hope that it1919 * will be useful, but WITHOUT ANY WARRANTY; without even the implied2020 * ************************2121 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+7-7
net/sctp/associola.c
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright IBM Corp. 2001, 200433 * Copyright (c) 1999-2000 Cisco, Inc.44 * Copyright (c) 1999-2001 Motorola, Inc.55 * Copyright (c) 2001 Intel Corp.66 * Copyright (c) 2001 La Monte H.P. Yarroll77 *88- * This file is part of the SCTP kernel reference Implementation88+ * This file is part of the SCTP kernel implementation99 *1010 * This module provides the abstraction for an SCTP association.1111 *1212- * The SCTP reference implementation is free software;1212+ * This SCTP implementation is free software;1313 * you can redistribute it and/or modify it under the terms of1414 * the GNU General Public License as published by1515 * the Free Software Foundation; either version 2, or (at your option)1616 * any later version.1717 *1818- * The SCTP reference implementation is distributed in the hope that it1818+ * This SCTP implementation is distributed in the hope that it1919 * will be useful, but WITHOUT ANY WARRANTY; without even the implied2020 * ************************2121 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.···15251525 const struct sctp_association *asoc,15261526 __be32 serial)15271527{15281528- struct sctp_chunk *ack = NULL;15281528+ struct sctp_chunk *ack;1529152915301530 /* Walk through the list of cached ASCONF-ACKs and find the15311531 * ack chunk whose serial number matches that of the request.···15331533 list_for_each_entry(ack, &asoc->asconf_ack_list, transmitted_list) {15341534 if (ack->subh.addip_hdr->serial == serial) {15351535 sctp_chunk_hold(ack);15361536- break;15361536+ return ack;15371537 }15381538 }1539153915401540- return ack;15401540+ return NULL;15411541}
+4-4
net/sctp/auth.c
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright 2007 Hewlett-Packard Development Company, L.P.33 *44- * This file is part of the SCTP kernel reference Implementation44+ * This file is part of the SCTP kernel implementation55 *66- * The SCTP reference implementation is free software;66+ * This SCTP implementation is free software;77 * you can redistribute it and/or modify it under the terms of88 * the GNU General Public License as published by99 * the Free Software Foundation; either version 2, or (at your option)1010 * any later version.1111 *1212- * The SCTP reference implementation is distributed in the hope that it1212+ * This SCTP implementation is distributed in the hope that it1313 * will be useful, but WITHOUT ANY WARRANTY; without even the implied1414 * ************************1515 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-4
net/sctp/bind_addr.c
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright IBM Corp. 2001, 200333 * Copyright (c) Cisco 1999,200044 * Copyright (c) Motorola 1999,2000,200155 * Copyright (c) La Monte H.P. Yarroll 200166 *77- * This file is part of the SCTP kernel reference implementation.77+ * This file is part of the SCTP kernel implementation.88 *99 * A collection class to handle the storage of transport addresses.1010 *1111- * The SCTP reference implementation is free software;1111+ * This SCTP implementation is free software;1212 * you can redistribute it and/or modify it under the terms of1313 * the GNU General Public License as published by1414 * the Free Software Foundation; either version 2, or (at your option)1515 * any later version.1616 *1717- * The SCTP reference implementation is distributed in the hope that it1717+ * This SCTP implementation is distributed in the hope that it1818 * will be useful, but WITHOUT ANY WARRANTY; without even the implied1919 * ************************2020 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-4
net/sctp/chunk.c
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright IBM Corp. 2003, 200433 *44- * This file is part of the SCTP kernel reference Implementation44+ * This file is part of the SCTP kernel implementation55 *66 * This file contains the code relating the chunk abstraction.77 *88- * The SCTP reference implementation is free software;88+ * This SCTP implementation is free software;99 * you can redistribute it and/or modify it under the terms of1010 * the GNU General Public License as published by1111 * the Free Software Foundation; either version 2, or (at your option)1212 * any later version.1313 *1414- * The SCTP reference implementation is distributed in the hope that it1414+ * This SCTP implementation is distributed in the hope that it1515 * will be useful, but WITHOUT ANY WARRANTY; without even the implied1616 * ************************1717 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-4
net/sctp/command.c
···11-/* SCTP kernel reference Implementation Copyright (C) 1999-200111+/* SCTP kernel implementation Copyright (C) 1999-200122 * Cisco, Motorola, and IBM33 * Copyright 2001 La Monte H.P. Yarroll44 *55- * This file is part of the SCTP kernel reference Implementation55+ * This file is part of the SCTP kernel implementation66 *77 * These functions manipulate sctp command sequences.88 *99- * The SCTP reference implementation is free software;99+ * This SCTP implementation is free software;1010 * you can redistribute it and/or modify it under the terms of1111 * the GNU General Public License as published by1212 * the Free Software Foundation; either version 2, or (at your option)1313 * any later version.1414 *1515- * The SCTP reference implementation is distributed in the hope that it1515+ * This SCTP implementation is distributed in the hope that it1616 * will be useful, but WITHOUT ANY WARRANTY; without even the implied1717 * ************************1818 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-8
net/sctp/debug.c
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright IBM Corp. 2001, 200433 * Copyright (c) 1999-2000 Cisco, Inc.44 * Copyright (c) 1999-2001 Motorola, Inc.55 * Copyright (c) 2001 Intel Corp.66 *77- * This file is part of the SCTP kernel reference Implementation88- *99- * This file is part of the implementation of the add-IP extension,1010- * based on <draft-ietf-tsvwg-addip-sctp-02.txt> June 29, 2001,1111- * for the SCTP kernel reference Implementation.77+ * This file is part of the SCTP kernel implementation128 *139 * This file converts numerical ID value to alphabetical names for SCTP1410 * terms such as chunk type, parameter time, event type, etc.1511 *1616- * The SCTP reference implementation is free software;1212+ * This SCTP implementation is free software;1713 * you can redistribute it and/or modify it under the terms of1814 * the GNU General Public License as published by1915 * the Free Software Foundation; either version 2, or (at your option)2016 * any later version.2117 *2222- * The SCTP reference implementation is distributed in the hope that it1818+ * This SCTP implementation is distributed in the hope that it2319 * will be useful, but WITHOUT ANY WARRANTY; without even the implied2420 * ************************2521 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-8
net/sctp/endpointola.c
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * Copyright (c) 1999-2000 Cisco, Inc.33 * Copyright (c) 1999-2001 Motorola, Inc.44 * Copyright (c) 2001-2002 International Business Machines, Corp.···66 * Copyright (c) 2001 Nokia, Inc.77 * Copyright (c) 2001 La Monte H.P. Yarroll88 *99- * This file is part of the SCTP kernel reference Implementation99+ * This file is part of the SCTP kernel implementation1010 *1111 * This abstraction represents an SCTP endpoint.1212 *1313- * This file is part of the implementation of the add-IP extension,1414- * based on <draft-ietf-tsvwg-addip-sctp-02.txt> June 29, 2001,1515- * for the SCTP kernel reference Implementation.1616- *1717- * The SCTP reference implementation is free software;1313+ * The SCTP implementation is free software;1814 * you can redistribute it and/or modify it under the terms of1915 * the GNU General Public License as published by2016 * the Free Software Foundation; either version 2, or (at your option)2117 * any later version.2218 *2323- * The SCTP reference implementation is distributed in the hope that it1919+ * The SCTP implementation is distributed in the hope that it2420 * will be useful, but WITHOUT ANY WARRANTY; without even the implied2521 * ************************2622 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-4
net/sctp/input.c
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * Copyright (c) 1999-2000 Cisco, Inc.33 * Copyright (c) 1999-2001 Motorola, Inc.44 * Copyright (c) 2001-2003 International Business Machines, Corp.···66 * Copyright (c) 2001 Nokia, Inc.77 * Copyright (c) 2001 La Monte H.P. Yarroll88 *99- * This file is part of the SCTP kernel reference Implementation99+ * This file is part of the SCTP kernel implementation1010 *1111 * These functions handle all input from the IP layer into SCTP.1212 *1313- * The SCTP reference implementation is free software;1313+ * This SCTP implementation is free software;1414 * you can redistribute it and/or modify it under the terms of1515 * the GNU General Public License as published by1616 * the Free Software Foundation; either version 2, or (at your option)1717 * any later version.1818 *1919- * The SCTP reference implementation is distributed in the hope that it1919+ * This SCTP implementation is distributed in the hope that it2020 * will be useful, but WITHOUT ANY WARRANTY; without even the implied2121 * ************************2222 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-4
net/sctp/inqueue.c
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * Copyright (c) 1999-2000 Cisco, Inc.33 * Copyright (c) 1999-2001 Motorola, Inc.44 * Copyright (c) 2002 International Business Machines, Corp.55 *66- * This file is part of the SCTP kernel reference Implementation66+ * This file is part of the SCTP kernel implementation77 *88 * These functions are the methods for accessing the SCTP inqueue.99 *···1111 * (which might be bundles or fragments of chunks) and out of which you1212 * pop SCTP whole chunks.1313 *1414- * The SCTP reference implementation is free software;1414+ * This SCTP implementation is free software;1515 * you can redistribute it and/or modify it under the terms of1616 * the GNU General Public License as published by1717 * the Free Software Foundation; either version 2, or (at your option)1818 * any later version.1919 *2020- * The SCTP reference implementation is distributed in the hope that it2020+ * This SCTP implementation is distributed in the hope that it2121 * will be useful, but WITHOUT ANY WARRANTY; without even the implied2222 * ************************2323 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-4
net/sctp/ipv6.c
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright IBM Corp. 2002, 200433 * Copyright (c) 2001 Nokia, Inc.44 * Copyright (c) 2001 La Monte H.P. Yarroll55 * Copyright (c) 2002-2003 Intel Corp.66 *77- * This file is part of the SCTP kernel reference Implementation77+ * This file is part of the SCTP kernel implementation88 *99 * SCTP over IPv6.1010 *1111- * The SCTP reference implementation is free software;1111+ * This SCTP implementation is free software;1212 * you can redistribute it and/or modify it under the terms of1313 * the GNU General Public License as published by1414 * the Free Software Foundation; either version 2, or (at your option)1515 * any later version.1616 *1717- * The SCTP reference implementation is distributed in the hope that it1717+ * This SCTP implementation is distributed in the hope that it1818 * will be useful, but WITHOUT ANY WARRANTY; without even the implied1919 * ************************2020 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-4
net/sctp/objcnt.c
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright IBM Corp. 2001, 200433 *44- * This file is part of the SCTP kernel reference Implementation44+ * This file is part of the SCTP kernel implementation55 *66 * Support for memory object debugging. This allows one to monitor the77 * object allocations/deallocations for types instrumented for this88 * via the proc fs.99 *1010- * The SCTP reference implementation is free software;1010+ * This SCTP implementation is free software;1111 * you can redistribute it and/or modify it under the terms of1212 * the GNU General Public License as published by1313 * the Free Software Foundation; either version 2, or (at your option)1414 * any later version.1515 *1616- * The SCTP reference implementation is distributed in the hope that it1616+ * This SCTP implementation is distributed in the hope that it1717 * will be useful, but WITHOUT ANY WARRANTY; without even the implied1818 * ************************1919 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-4
net/sctp/output.c
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright IBM Corp. 2001, 200433 * Copyright (c) 1999-2000 Cisco, Inc.44 * Copyright (c) 1999-2001 Motorola, Inc.55 *66- * This file is part of the SCTP kernel reference Implementation66+ * This file is part of the SCTP kernel implementation77 *88 * These functions handle output processing.99 *1010- * The SCTP reference implementation is free software;1010+ * This SCTP implementation is free software;1111 * you can redistribute it and/or modify it under the terms of1212 * the GNU General Public License as published by1313 * the Free Software Foundation; either version 2, or (at your option)1414 * any later version.1515 *1616- * The SCTP reference implementation is distributed in the hope that it1616+ * This SCTP implementation is distributed in the hope that it1717 * will be useful, but WITHOUT ANY WARRANTY; without even the implied1818 * ************************1919 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+7-5
net/sctp/outqueue.c
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright IBM Corp. 2001, 200433 * Copyright (c) 1999-2000 Cisco, Inc.44 * Copyright (c) 1999-2001 Motorola, Inc.55 * Copyright (c) 2001-2003 Intel Corp.66 *77- * This file is part of the SCTP kernel reference Implementation77+ * This file is part of the SCTP kernel implementation88 *99 * These functions implement the sctp_outq class. The outqueue handles1010 * bundling and queueing of outgoing SCTP chunks.1111 *1212- * The SCTP reference implementation is free software;1212+ * This SCTP implementation is free software;1313 * you can redistribute it and/or modify it under the terms of1414 * the GNU General Public License as published by1515 * the Free Software Foundation; either version 2, or (at your option)1616 * any later version.1717 *1818- * The SCTP reference implementation is distributed in the hope that it1818+ * This SCTP implementation is distributed in the hope that it1919 * will be useful, but WITHOUT ANY WARRANTY; without even the implied2020 * ************************2121 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.···11791179 tchunk = list_entry(lchunk, struct sctp_chunk,11801180 transmitted_list);11811181 tsn = ntohl(tchunk->subh.data_hdr->tsn);11821182- if (TSN_lte(tsn, ctsn))11821182+ if (TSN_lte(tsn, ctsn)) {11831183+ list_del_init(&tchunk->transmitted_list);11831184 sctp_chunk_free(tchunk);11851185+ }11841186 }1185118711861188 /* ii) Set rwnd equal to the newly received a_rwnd minus the
+4-4
net/sctp/primitive.c
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * Copyright (c) 1999-2000 Cisco, Inc.33 * Copyright (c) 1999-2001 Motorola, Inc.44 *55- * This file is part of the SCTP kernel reference Implementation55+ * This file is part of the SCTP kernel implementation66 *77 * These functions implement the SCTP primitive functions from Section 10.88 *···1010 * functions--this file is the functions which populate the struct proto1111 * for SCTP which is the BOTTOM of the sockets interface.1212 *1313- * The SCTP reference implementation is free software;1313+ * This SCTP implementation is free software;1414 * you can redistribute it and/or modify it under the terms of1515 * the GNU General Public License as published by1616 * the Free Software Foundation; either version 2, or (at your option)1717 * any later version.1818 *1919- * The SCTP reference implementation is distributed in the hope that it1919+ * This SCTP implementation is distributed in the hope that it2020 * will be useful, but WITHOUT ANY WARRANTY; without even the implied2121 * ************************2222 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-4
net/sctp/proc.c
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * Copyright (c) 2003 International Business Machines, Corp.33 *44- * This file is part of the SCTP kernel reference Implementation44+ * This file is part of the SCTP kernel implementation55 *66- * The SCTP reference implementation is free software;66+ * This SCTP implementation is free software;77 * you can redistribute it and/or modify it under the terms of88 * the GNU General Public License as published by99 * the Free Software Foundation; either version 2, or (at your option)1010 * any later version.1111 *1212- * The SCTP reference implementation is distributed in the hope that it1212+ * This SCTP implementation is distributed in the hope that it1313 * will be useful, but WITHOUT ANY WARRANTY; without even the implied1414 * ************************1515 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-4
net/sctp/protocol.c
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright IBM Corp. 2001, 200433 * Copyright (c) 1999-2000 Cisco, Inc.44 * Copyright (c) 1999-2001 Motorola, Inc.···66 * Copyright (c) 2001 Nokia, Inc.77 * Copyright (c) 2001 La Monte H.P. Yarroll88 *99- * This file is part of the SCTP kernel reference Implementation99+ * This file is part of the SCTP kernel implementation1010 *1111 * Initialization/cleanup for SCTP protocol support.1212 *1313- * The SCTP reference implementation is free software;1313+ * This SCTP implementation is free software;1414 * you can redistribute it and/or modify it under the terms of1515 * the GNU General Public License as published by1616 * the Free Software Foundation; either version 2, or (at your option)1717 * any later version.1818 *1919- * The SCTP reference implementation is distributed in the hope that it1919+ * This SCTP implementation is distributed in the hope that it2020 * will be useful, but WITHOUT ANY WARRANTY; without even the implied2121 * ************************2222 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+5-4
net/sctp/sm_make_chunk.c
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright IBM Corp. 2001, 200433 * Copyright (c) 1999-2000 Cisco, Inc.44 * Copyright (c) 1999-2001 Motorola, Inc.55 * Copyright (c) 2001-2002 Intel Corp.66 *77- * This file is part of the SCTP kernel reference Implementation77+ * This file is part of the SCTP kernel implementation88 *99 * These functions work with the state functions in sctp_sm_statefuns.c1010 * to implement the state operations. These functions implement the1111 * steps which require modifying existing data structures.1212 *1313- * The SCTP reference implementation is free software;1313+ * This SCTP implementation is free software;1414 * you can redistribute it and/or modify it under the terms of1515 * the GNU General Public License as published by1616 * the Free Software Foundation; either version 2, or (at your option)1717 * any later version.1818 *1919- * The SCTP reference implementation is distributed in the hope that it1919+ * This SCTP implementation is distributed in the hope that it2020 * will be useful, but WITHOUT ANY WARRANTY; without even the implied2121 * ************************2222 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.···32243224 }3225322532263226 /* Free the cached last sent asconf chunk. */32273227+ list_del_init(&asconf->transmitted_list);32273228 sctp_chunk_free(asconf);32283229 asoc->addip_last_asconf = NULL;32293230
+4-4
net/sctp/sm_sideeffect.c
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright IBM Corp. 2001, 200433 * Copyright (c) 1999 Cisco, Inc.44 * Copyright (c) 1999-2001 Motorola, Inc.55 *66- * This file is part of the SCTP kernel reference Implementation66+ * This file is part of the SCTP kernel implementation77 *88 * These functions work with the state functions in sctp_sm_statefuns.c99 * to implement that state operations. These functions implement the1010 * steps which require modifying existing data structures.1111 *1212- * The SCTP reference implementation is free software;1212+ * This SCTP implementation is free software;1313 * you can redistribute it and/or modify it under the terms of1414 * the GNU General Public License as published by1515 * the Free Software Foundation; either version 2, or (at your option)1616 * any later version.1717 *1818- * The SCTP reference implementation is distributed in the hope that it1818+ * This SCTP implementation is distributed in the hope that it1919 * will be useful, but WITHOUT ANY WARRANTY; without even the implied2020 * ************************2121 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-6
net/sctp/sm_statefuns.c
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright IBM Corp. 2001, 200433 * Copyright (c) 1999-2000 Cisco, Inc.44 * Copyright (c) 1999-2001 Motorola, Inc.55 * Copyright (c) 2001-2002 Intel Corp.66 * Copyright (c) 2002 Nokia Corp.77 *88- * This file is part of the SCTP kernel reference Implementation99- *1010- * This is part of the SCTP Linux Kernel Reference Implementation.88+ * This is part of the SCTP Linux Kernel Implementation.119 *1210 * These are the state functions for the state machine.1311 *1414- * The SCTP reference implementation is free software;1212+ * This SCTP implementation is free software;1513 * you can redistribute it and/or modify it under the terms of1614 * the GNU General Public License as published by1715 * the Free Software Foundation; either version 2, or (at your option)1816 * any later version.1917 *2020- * The SCTP reference implementation is distributed in the hope that it1818+ * This SCTP implementation is distributed in the hope that it2119 * will be useful, but WITHOUT ANY WARRANTY; without even the implied2220 * ************************2321 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-4
net/sctp/sm_statetable.c
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright IBM Corp. 2001, 200433 * Copyright (c) 1999-2000 Cisco, Inc.44 * Copyright (c) 1999-2001 Motorola, Inc.55 * Copyright (c) 2001 Intel Corp.66 * Copyright (c) 2001 Nokia, Inc.77 *88- * This file is part of the SCTP kernel reference Implementation88+ * This file is part of the SCTP kernel implementation99 *1010 * These are the state tables for the SCTP state machine.1111 *1212- * The SCTP reference implementation is free software;1212+ * This SCTP implementation is free software;1313 * you can redistribute it and/or modify it under the terms of1414 * the GNU General Public License as published by1515 * the Free Software Foundation; either version 2, or (at your option)1616 * any later version.1717 *1818- * The SCTP reference implementation is distributed in the hope that it1818+ * This SCTP implementation is distributed in the hope that it1919 * will be useful, but WITHOUT ANY WARRANTY; without even the implied2020 * ************************2121 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+12-5
net/sctp/socket.c
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright IBM Corp. 2001, 200433 * Copyright (c) 1999-2000 Cisco, Inc.44 * Copyright (c) 1999-2001 Motorola, Inc.···66 * Copyright (c) 2001-2002 Nokia, Inc.77 * Copyright (c) 2001 La Monte H.P. Yarroll88 *99- * This file is part of the SCTP kernel reference Implementation99+ * This file is part of the SCTP kernel implementation1010 *1111 * These functions interface with the sockets layer to implement the1212 * SCTP Extensions for the Sockets API.···1515 * functions--this file is the functions which populate the struct proto1616 * for SCTP which is the BOTTOM of the sockets interface.1717 *1818- * The SCTP reference implementation is free software;1818+ * This SCTP implementation is free software;1919 * you can redistribute it and/or modify it under the terms of2020 * the GNU General Public License as published by2121 * the Free Software Foundation; either version 2, or (at your option)2222 * any later version.2323 *2424- * The SCTP reference implementation is distributed in the hope that it2424+ * This SCTP implementation is distributed in the hope that it2525 * will be useful, but WITHOUT ANY WARRANTY; without even the implied2626 * ************************2727 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.···19111911 * rwnd by that amount. If all the data in the skb is read,19121912 * rwnd is updated when the event is freed.19131913 */19141914- sctp_assoc_rwnd_increase(event->asoc, copied);19141914+ if (!sctp_ulpevent_is_notification(event))19151915+ sctp_assoc_rwnd_increase(event->asoc, copied);19151916 goto out;19161917 } else if ((event->msg_flags & MSG_NOTIFICATION) ||19171918 (event->msg_flags & MSG_EOR))···43154314 (AF_INET6 == addr->a.sa.sa_family))43164315 continue;43174316 memcpy(&temp, &addr->a, sizeof(temp));43174317+ if (!temp.v4.sin_port)43184318+ temp.v4.sin_port = htons(port);43194319+43184320 sctp_get_pf_specific(sk->sk_family)->addr_v4map(sctp_sk(sk),43194321 &temp);43204322 addrlen = sctp_get_af_specific(temp.sa.sa_family)->sockaddr_len;···43504346 (AF_INET6 == addr->a.sa.sa_family))43514347 continue;43524348 memcpy(&temp, &addr->a, sizeof(temp));43494349+ if (!temp.v4.sin_port)43504350+ temp.v4.sin_port = htons(port);43514351+43534352 sctp_get_pf_specific(sk->sk_family)->addr_v4map(sctp_sk(sk),43544353 &temp);43554354 addrlen = sctp_get_af_specific(temp.sa.sa_family)->sockaddr_len;
+4-4
net/sctp/ssnmap.c
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * Copyright (c) 2003 International Business Machines, Corp.33 *44- * This file is part of the SCTP kernel reference Implementation44+ * This file is part of the SCTP kernel implementation55 *66 * These functions manipulate sctp SSN tracker.77 *88- * The SCTP reference implementation is free software;88+ * This SCTP implementation is free software;99 * you can redistribute it and/or modify it under the terms of1010 * the GNU General Public License as published by1111 * the Free Software Foundation; either version 2, or (at your option)1212 * any later version.1313 *1414- * The SCTP reference implementation is distributed in the hope that it1414+ * This SCTP implementation is distributed in the hope that it1515 * will be useful, but WITHOUT ANY WARRANTY; without even the implied1616 * ************************1717 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-4
net/sctp/sysctl.c
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright IBM Corp. 2002, 200433 * Copyright (c) 2002 Intel Corp.44 *55- * This file is part of the SCTP kernel reference Implementation55+ * This file is part of the SCTP kernel implementation66 *77 * Sysctl related interfaces for SCTP.88 *99- * The SCTP reference implementation is free software;99+ * This SCTP implementation is free software;1010 * you can redistribute it and/or modify it under the terms of1111 * the GNU General Public License as published by1212 * the Free Software Foundation; either version 2, or (at your option)1313 * any later version.1414 *1515- * The SCTP reference implementation is distributed in the hope that it1515+ * This SCTP implementation is distributed in the hope that it1616 * will be useful, but WITHOUT ANY WARRANTY; without even the implied1717 * ************************1818 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-4
net/sctp/transport.c
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * Copyright (c) 1999-2000 Cisco, Inc.33 * Copyright (c) 1999-2001 Motorola, Inc.44 * Copyright (c) 2001-2003 International Business Machines Corp.55 * Copyright (c) 2001 Intel Corp.66 * Copyright (c) 2001 La Monte H.P. Yarroll77 *88- * This file is part of the SCTP kernel reference Implementation88+ * This file is part of the SCTP kernel implementation99 *1010 * This module provides the abstraction for an SCTP tranport representing1111 * a remote transport address. For local transport addresses, we just use1212 * union sctp_addr.1313 *1414- * The SCTP reference implementation is free software;1414+ * This SCTP implementation is free software;1515 * you can redistribute it and/or modify it under the terms of1616 * the GNU General Public License as published by1717 * the Free Software Foundation; either version 2, or (at your option)1818 * any later version.1919 *2020- * The SCTP reference implementation is distributed in the hope that it2020+ * This SCTP implementation is distributed in the hope that it2121 * will be useful, but WITHOUT ANY WARRANTY; without even the implied2222 * ************************2323 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-4
net/sctp/tsnmap.c
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright IBM Corp. 2001, 200433 * Copyright (c) 1999-2000 Cisco, Inc.44 * Copyright (c) 1999-2001 Motorola, Inc.55 * Copyright (c) 2001 Intel Corp.66 *77- * This file is part of the SCTP kernel reference Implementation77+ * This file is part of the SCTP kernel implementation88 *99 * These functions manipulate sctp tsn mapping array.1010 *1111- * The SCTP reference implementation is free software;1111+ * This SCTP implementation is free software;1212 * you can redistribute it and/or modify it under the terms of1313 * the GNU General Public License as published by1414 * the Free Software Foundation; either version 2, or (at your option)1515 * any later version.1616 *1717- * The SCTP reference implementation is distributed in the hope that it1717+ * This SCTP implementation is distributed in the hope that it1818 * will be useful, but WITHOUT ANY WARRANTY; without even the implied1919 * ************************2020 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+4-3
net/sctp/ulpevent.c
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright IBM Corp. 2001, 200433 * Copyright (c) 1999-2000 Cisco, Inc.44 * Copyright (c) 1999-2001 Motorola, Inc.···88 *99 * These functions manipulate an sctp event. The struct ulpevent is used1010 * to carry notifications and data to the ULP (sockets).1111- * The SCTP reference implementation is free software;1111+ *1212+ * This SCTP implementation is free software;1213 * you can redistribute it and/or modify it under the terms of1314 * the GNU General Public License as published by1415 * the Free Software Foundation; either version 2, or (at your option)1516 * any later version.1617 *1717- * The SCTP reference implementation is distributed in the hope that it1818+ * This SCTP implementation is distributed in the hope that it1819 * will be useful, but WITHOUT ANY WARRANTY; without even the implied1920 * ************************2021 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+30-13
net/sctp/ulpqueue.c
···11-/* SCTP kernel reference Implementation11+/* SCTP kernel implementation22 * (C) Copyright IBM Corp. 2001, 200433 * Copyright (c) 1999-2000 Cisco, Inc.44 * Copyright (c) 1999-2001 Motorola, Inc.···88 *99 * This abstraction carries sctp events to the ULP (sockets).1010 *1111- * The SCTP reference implementation is free software;1111+ * This SCTP implementation is free software;1212 * you can redistribute it and/or modify it under the terms of1313 * the GNU General Public License as published by1414 * the Free Software Foundation; either version 2, or (at your option)1515 * any later version.1616 *1717- * The SCTP reference implementation is distributed in the hope that it1717+ * This SCTP implementation is distributed in the hope that it1818 * will be useful, but WITHOUT ANY WARRANTY; without even the implied1919 * ************************2020 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.···283283/* 2nd Level Abstractions */284284285285/* Helper function to store chunks that need to be reassembled. */286286-static inline void sctp_ulpq_store_reasm(struct sctp_ulpq *ulpq,286286+static void sctp_ulpq_store_reasm(struct sctp_ulpq *ulpq,287287 struct sctp_ulpevent *event)288288{289289 struct sk_buff *pos;···405405/* Helper function to check if an incoming chunk has filled up the last406406 * missing fragment in a SCTP datagram and return the corresponding event.407407 */408408-static inline struct sctp_ulpevent *sctp_ulpq_retrieve_reassembled(struct sctp_ulpq *ulpq)408408+static struct sctp_ulpevent *sctp_ulpq_retrieve_reassembled(struct sctp_ulpq *ulpq)409409{410410 struct sk_buff *pos;411411 struct sctp_ulpevent *cevent;···512512}513513514514/* Retrieve the next set of fragments of a partial message. */515515-static inline struct sctp_ulpevent *sctp_ulpq_retrieve_partial(struct sctp_ulpq *ulpq)515515+static struct sctp_ulpevent *sctp_ulpq_retrieve_partial(struct sctp_ulpq *ulpq)516516{517517 struct sk_buff *pos, *last_frag, *first_frag;518518 struct sctp_ulpevent *cevent;···606606}607607608608/* Retrieve the first part (sequential fragments) for partial delivery. */609609-static inline struct sctp_ulpevent *sctp_ulpq_retrieve_first(struct sctp_ulpq *ulpq)609609+static struct sctp_ulpevent *sctp_ulpq_retrieve_first(struct sctp_ulpq *ulpq)610610{611611 struct sk_buff *pos, *last_frag, *first_frag;612612 struct sctp_ulpevent *cevent;···735735/* Helper function to gather skbs that have possibly become736736 * ordered by an an incoming chunk.737737 */738738-static inline void sctp_ulpq_retrieve_ordered(struct sctp_ulpq *ulpq,738738+static void sctp_ulpq_retrieve_ordered(struct sctp_ulpq *ulpq,739739 struct sctp_ulpevent *event)740740{741741 struct sk_buff_head *event_list;···779779}780780781781/* Helper function to store chunks needing ordering. */782782-static inline void sctp_ulpq_store_ordered(struct sctp_ulpq *ulpq,782782+static void sctp_ulpq_store_ordered(struct sctp_ulpq *ulpq,783783 struct sctp_ulpevent *event)784784{785785 struct sk_buff *pos;···867867/* Helper function to gather skbs that have possibly become868868 * ordered by forward tsn skipping their dependencies.869869 */870870-static inline void sctp_ulpq_reap_ordered(struct sctp_ulpq *ulpq, __u16 sid)870870+static void sctp_ulpq_reap_ordered(struct sctp_ulpq *ulpq, __u16 sid)871871{872872 struct sk_buff *pos, *tmp;873873 struct sctp_ulpevent *cevent;874874 struct sctp_ulpevent *event;875875 struct sctp_stream *in;876876 struct sk_buff_head temp;877877+ struct sk_buff_head *lobby = &ulpq->lobby;877878 __u16 csid, cssn;878879879880 in = &ulpq->asoc->ssnmap->in;···882881 /* We are holding the chunks by stream, by SSN. */883882 skb_queue_head_init(&temp);884883 event = NULL;885885- sctp_skb_for_each(pos, &ulpq->lobby, tmp) {884884+ sctp_skb_for_each(pos, lobby, tmp) {886885 cevent = (struct sctp_ulpevent *) pos->cb;887886 csid = cevent->stream;888887 cssn = cevent->ssn;···896895 continue;897896898897 /* see if this ssn has been marked by skipping */899899- if (!SSN_lte(cssn, sctp_ssn_peek(in, csid)))898898+ if (!SSN_lt(cssn, sctp_ssn_peek(in, csid)))900899 break;901900902902- __skb_unlink(pos, &ulpq->lobby);901901+ __skb_unlink(pos, lobby);903902 if (!event)904903 /* Create a temporary list to collect chunks on. */905904 event = sctp_skb2event(pos);906905907906 /* Attach all gathered skbs to the event. */908907 __skb_queue_tail(&temp, pos);908908+ }909909+910910+ /* If we didn't reap any data, see if the next expected SSN911911+ * is next on the queue and if so, use that.912912+ */913913+ if (event == NULL && pos != (struct sk_buff *)lobby) {914914+ cevent = (struct sctp_ulpevent *) pos->cb;915915+ csid = cevent->stream;916916+ cssn = cevent->ssn;917917+918918+ if (csid == sid && cssn == sctp_ssn_peek(in, csid)) {919919+ sctp_ssn_next(in, csid);920920+ __skb_unlink(pos, lobby);921921+ __skb_queue_tail(&temp, pos);922922+ event = sctp_skb2event(pos);923923+ }909924 }910925911926 /* Send event to the ULP. 'event' is the sctp_ulpevent for