dect
/
libpcap
Archived
13
0
Fork 0

Modified the license at the beginning of the files created by the Politecno di Torino developers from the 4-clause BSD code to the modified BSD license

This commit is contained in:
risso 2003-05-15 14:30:29 +00:00
parent 2e69dd906a
commit 6ca7c69b0b
4 changed files with 109 additions and 67 deletions

View File

@ -1,22 +1,33 @@
/* /*
* Copyright (c) 1999, 2000 * Copyright (c) 1999 - 2003
* Politecnico di Torino. All rights reserved. * NetGroup, Politecnico di Torino (Italy)
* All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that: (1) source code distributions * modification, are permitted provided that the following conditions
* retain the above copyright notice and this paragraph in its entirety, (2) * are met:
* distributions including binary code include the above copyright notice and *
* this paragraph in its entirety in the documentation or other materials * 1. Redistributions of source code must retain the above copyright
* provided with the distribution, and (3) all advertising materials mentioning * notice, this list of conditions and the following disclaimer.
* features or use of this software display the following acknowledgement: * 2. Redistributions in binary form must reproduce the above copyright
* ``This product includes software developed by the Politecnico * notice, this list of conditions and the following disclaimer in the
* di Torino, and its contributors.'' Neither the name of * documentation and/or other materials provided with the distribution.
* the University nor the names of its contributors may be used to endorse * 3. Neither the name of the Politecnico di Torino nor the names of its
* or promote products derived from this software without specific prior * contributors may be used to endorse or promote products derived from
* written permission. * this software without specific prior written permission.
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED *
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * "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 COPYRIGHT
* OWNER OR CONTRIBUTORS 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.
*
*/ */
#include <sys/types.h> #include <sys/types.h>

View File

@ -1,27 +1,38 @@
/* /*
* Copyright (c) 1999, 2002 * Copyright (c) 2002 - 2003
* Politecnico di Torino. All rights reserved. * NetGroup, Politecnico di Torino (Italy)
* All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that: (1) source code distributions * modification, are permitted provided that the following conditions
* retain the above copyright notice and this paragraph in its entirety, (2) * are met:
* distributions including binary code include the above copyright notice and *
* this paragraph in its entirety in the documentation or other materials * 1. Redistributions of source code must retain the above copyright
* provided with the distribution, and (3) all advertising materials mentioning * notice, this list of conditions and the following disclaimer.
* features or use of this software display the following acknowledgement: * 2. Redistributions in binary form must reproduce the above copyright
* ``This product includes software developed by the Politecnico * notice, this list of conditions and the following disclaimer in the
* di Torino, and its contributors.'' Neither the name of * documentation and/or other materials provided with the distribution.
* the University nor the names of its contributors may be used to endorse * 3. Neither the name of the Politecnico di Torino nor the names of its
* or promote products derived from this software without specific prior * contributors may be used to endorse or promote products derived from
* written permission. * this software without specific prior written permission.
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED *
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * "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 COPYRIGHT
* OWNER OR CONTRIBUTORS 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.
*
*/ */
#ifndef lint #ifndef lint
static const char rcsid[] = static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/fad-win32.c,v 1.5 2003-03-12 13:28:54 risso Exp $ (LBL)"; "@(#) $Header: /tcpdump/master/libpcap/fad-win32.c,v 1.6 2003-05-15 14:30:29 risso Exp $ (LBL)";
#endif #endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H

View File

@ -1,24 +1,33 @@
/* /*
* Copyright (c) 2002 * Copyright (c) 2002 - 2003
* Politecnico di Torino. All rights reserved. * NetGroup, Politecnico di Torino (Italy)
* All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that: (1) source code distributions * modification, are permitted provided that the following conditions
* retain the above copyright notice and this paragraph in its entirety, (2) * are met:
* distributions including binary code include the above copyright notice and *
* this paragraph in its entirety in the documentation or other materials * 1. Redistributions of source code must retain the above copyright
* provided with the distribution, and (3) all advertising materials mentioning * notice, this list of conditions and the following disclaimer.
* features or use of this software display the following acknowledgement: * 2. Redistributions in binary form must reproduce the above copyright
* ``This product includes software developed by the Politecnico * notice, this list of conditions and the following disclaimer in the
* di Torino, and its contributors.'' Neither the name of * documentation and/or other materials provided with the distribution.
* the University nor the names of its contributors may be used to endorse * 3. Neither the name of the Politecnico di Torino nor the names of its
* or promote products derived from this software without specific prior * contributors may be used to endorse or promote products derived from
* written permission. * this software without specific prior written permission.
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED *
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * "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 COPYRIGHT
* OWNER OR CONTRIBUTORS 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.
* *
* @(#) $Header: /tcpdump/master/libpcap/pcap-stdinc.h,v 1.5 2002-08-05 07:45:09 guy Exp $ (LBL)
*/ */
#define SIZEOF_CHAR 1 #define SIZEOF_CHAR 1

View File

@ -1,27 +1,38 @@
/* /*
* Copyright (c) 1999, 2000 * Copyright (c) 1999 - 2003
* Politecnico di Torino. All rights reserved. * NetGroup, Politecnico di Torino (Italy)
* All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that: (1) source code distributions * modification, are permitted provided that the following conditions
* retain the above copyright notice and this paragraph in its entirety, (2) * are met:
* distributions including binary code include the above copyright notice and *
* this paragraph in its entirety in the documentation or other materials * 1. Redistributions of source code must retain the above copyright
* provided with the distribution, and (3) all advertising materials mentioning * notice, this list of conditions and the following disclaimer.
* features or use of this software display the following acknowledgement: * 2. Redistributions in binary form must reproduce the above copyright
* ``This product includes software developed by the Politecnico * notice, this list of conditions and the following disclaimer in the
* di Torino, and its contributors.'' Neither the name of * documentation and/or other materials provided with the distribution.
* the University nor the names of its contributors may be used to endorse * 3. Neither the name of the Politecnico di Torino nor the names of its
* or promote products derived from this software without specific prior * contributors may be used to endorse or promote products derived from
* written permission. * this software without specific prior written permission.
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED *
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * "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 COPYRIGHT
* OWNER OR CONTRIBUTORS 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.
*
*/ */
#ifndef lint #ifndef lint
static const char rcsid[] = static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/pcap-win32.c,v 1.7 2003-04-09 10:01:10 risso Exp $ (LBL)"; "@(#) $Header: /tcpdump/master/libpcap/pcap-win32.c,v 1.8 2003-05-15 14:30:30 risso Exp $ (LBL)";
#endif #endif
#include <pcap-int.h> #include <pcap-int.h>