patacongo edited a comment on pull request #3862:
URL: https://github.com/apache/incubator-nuttx/pull/3862#issuecomment-855431529


   This is the actual license header on the uIP 1.0 primary file uip.c:
   
       #define DEBUG_PRINTF(...) /*printf(__VA_ARGS__)*/
       
       /**
        * \defgroup uip The uIP TCP/IP stack
        * @{
        *
        * uIP is an implementation of the TCP/IP protocol stack intended for
        * small 8-bit and 16-bit microcontrollers.
        *
        * uIP provides the necessary protocols for Internet communication,
        * with a very small code footprint and RAM requirements - the uIP
        * code size is on the order of a few kilobytes and RAM usage is on
        * the order of a few hundred bytes.
        */
       
       /**
        * \file
        * The uIP TCP/IP stack code.
        * \author Adam Dunkels <a...@dunkels.com>
        */
       
       /*
        * Copyright (c) 2001-2003, Adam Dunkels.
        * All rights reserved.
        *
        * Redistribution and use in source and binary forms, with or without
        * modification, are permitted provided that the following conditions
        * are met:
        * 1. Redistributions of source code must retain the above copyright
        *    notice, this list of conditions and the following disclaimer.
        * 2. Redistributions in binary form must reproduce the above copyright
        *    notice, this list of conditions and the following disclaimer in the
        *    documentation and/or other materials provided with the 
distribution.
        * 3. The name of the author may not be used to endorse or promote
        *    products derived from this software without specific prior
        *    written permission.
        *
        * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
        * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
        * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
        * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
        * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
        * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
        * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
        * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
        * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
        * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
        * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
        *
        * This file is part of the uIP TCP/IP stack.
        *
        * $Id: uip.c,v 1.65 2006/06/11 21:46:39 adam Exp $
        *
        */
       
       /*
        * uIP is a small implementation of the IP, UDP and TCP protocols (as
        * well as some basic ICMP stuff). The implementation couples the IP,
        * UDP, TCP and the application layers very tightly. To keep the size
        * of the compiled code down, this code frequently uses the goto
        * statement. While it would be possible to break the uip_process()
        * function into many smaller functions, this would increase the code
        * size because of the overhead of parameter passing and the fact that
        * the optimier would not be as efficient.
        *
        * The principle is that we have a small buffer, called the uip_buf,
        * in which the device driver puts an incoming packet. The TCP/IP
        * stack parses the headers in the packet, and calls the
        * application. If the remote host has sent data to the application,
        * this data is present in the uip_buf and the application read the
        * data from there. It is up to the application to put this data into
        * a byte stream if needed. The application will not be fed with data
        * that is out of sequence.
        *
        * If the application whishes to send data to the peer, it should put
        * its data into the uip_buf. The uip_appdata pointer points to the
        * first available byte. The TCP/IP stack will calculate the
        * checksums, and fill in the necessary header fields and finally send
        * the packet back to the peer.
       */
   
   The wording looks the same as your change.  Sometimes.... often... BSD 
licenses differ in the third clause.  The 2006 date is when I pulled the 
original code.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to