From 7d375156aadc0c00bdd940c37f57522330129b71 Mon Sep 17 00:00:00 2001 From: Jon Dugan Date: Wed, 20 Apr 2011 20:33:09 +0000 Subject: [PATCH] update license info for all source files --- src/iperf.h | 11 +++++++---- src/iperf_api.c | 10 ++++++---- src/iperf_api.h | 12 +++++++----- src/iperf_client_api.c | 9 +++++++++ src/iperf_client_api.h | 8 ++++++++ src/iperf_error.c | 9 +++++++++ src/iperf_error.h | 9 +++++++++ src/iperf_server_api.c | 10 ++++++---- src/iperf_server_api.h | 8 ++++++++ src/iperf_tcp.c | 10 ++++++---- src/iperf_tcp.h | 11 +++++++---- src/iperf_udp.c | 11 ++++++----- src/iperf_udp.h | 12 +++++++----- src/iperf_util.c | 9 +++++++++ src/iperf_util.h | 9 +++++++++ src/locale.c | 1 - src/locale.h | 8 ++++++++ src/main.c | 10 ++++++---- src/net.c | 9 +++++++++ src/net.h | 9 +++++++++ src/t_timer.c | 9 +++++++++ src/t_units.c | 9 +++++++++ src/t_uuid.c | 9 +++++++++ src/tcp_info.c | 8 ++++++++ src/tcp_window_size.h | 9 +++++++++ src/timer.c | 9 +++++++++ src/timer.h | 9 +++++++++ src/units.h | 9 +++++++++ src/version.h | 9 +++++++++ 29 files changed, 225 insertions(+), 40 deletions(-) diff --git a/src/iperf.h b/src/iperf.h index 43d955e..f1a9246 100644 --- a/src/iperf.h +++ b/src/iperf.h @@ -1,8 +1,11 @@ /* - Copyright (c) 2009, The Regents of the University of California, through - Lawrence Berkeley National Laboratory (subject to receipt of any required - approvals from the U.S. Dept. of Energy). All rights reserved. -*/ + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. + */ #ifndef __IPERF_H #define __IPERF_H diff --git a/src/iperf_api.c b/src/iperf_api.c index 89874e4..caf8652 100644 --- a/src/iperf_api.c +++ b/src/iperf_api.c @@ -1,8 +1,10 @@ - /* - * Copyright (c) 2009, The Regents of the University of California, through - * Lawrence Berkeley National Laboratory (subject to receipt of any required - * approvals from the U.S. Dept. of Energy). All rights reserved. + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. */ #include diff --git a/src/iperf_api.h b/src/iperf_api.h index 447598a..1e99380 100644 --- a/src/iperf_api.h +++ b/src/iperf_api.h @@ -1,9 +1,11 @@ - /* - Copyright (c) 2009, The Regents of the University of California, through - Lawrence Berkeley National Laboratory (subject to receipt of any required - approvals from the U.S. Dept. of Energy). All rights reserved. -*/ + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. + */ #ifndef __IPERF_API_H #define __IPERF_API_H diff --git a/src/iperf_client_api.c b/src/iperf_client_api.c index 7fa2e98..eb8a283 100644 --- a/src/iperf_client_api.c +++ b/src/iperf_client_api.c @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. + */ + #include #include #include diff --git a/src/iperf_client_api.h b/src/iperf_client_api.h index 1bc683d..c17c447 100644 --- a/src/iperf_client_api.h +++ b/src/iperf_client_api.h @@ -1,3 +1,11 @@ +/* + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. + */ #ifndef __IPERF_CLIENT_API_H #define __IPERF_CLIENT_API_H diff --git a/src/iperf_error.c b/src/iperf_error.c index e5a8238..d097a92 100644 --- a/src/iperf_error.c +++ b/src/iperf_error.c @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. + */ + #include #include #include diff --git a/src/iperf_error.h b/src/iperf_error.h index 57c9546..1f5f834 100644 --- a/src/iperf_error.h +++ b/src/iperf_error.h @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. + */ + /* iperf_error.h * * Iperf error handling diff --git a/src/iperf_server_api.c b/src/iperf_server_api.c index b79d3b1..fe0661d 100644 --- a/src/iperf_server_api.c +++ b/src/iperf_server_api.c @@ -1,8 +1,10 @@ - /* - * Copyright (c) 2009, The Regents of the University of California, through - * Lawrence Berkeley National Laboratory (subject to receipt of any required - * approvals from the U.S. Dept. of Energy). All rights reserved. + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. */ /* iperf_server_api.c: Functions to be used by an iperf server diff --git a/src/iperf_server_api.h b/src/iperf_server_api.h index 0574c80..96f8fdb 100644 --- a/src/iperf_server_api.h +++ b/src/iperf_server_api.h @@ -1,3 +1,11 @@ +/* + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. + */ #ifndef __IPERF_SERVER_API_H #define __IPERF_SERVER_API_H diff --git a/src/iperf_tcp.c b/src/iperf_tcp.c index 3ce9398..90333cc 100644 --- a/src/iperf_tcp.c +++ b/src/iperf_tcp.c @@ -1,8 +1,10 @@ - /* - * Copyright (c) 2009, The Regents of the University of California, through - * Lawrence Berkeley National Laboratory (subject to receipt of any required - * approvals from the U.S. Dept. of Energy). All rights reserved. + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. */ #include diff --git a/src/iperf_tcp.h b/src/iperf_tcp.h index 1a6757b..58662c2 100644 --- a/src/iperf_tcp.h +++ b/src/iperf_tcp.h @@ -1,8 +1,11 @@ /* - Copyright (c) 2009, The Regents of the University of California, through - Lawrence Berkeley National Laboratory (subject to receipt of any required - approvals from the U.S. Dept. of Energy). All rights reserved. -*/ + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. + */ #ifndef IPERF_TCP_H #define IPERF_TCP_H diff --git a/src/iperf_udp.c b/src/iperf_udp.c index f6d7291..06809a4 100644 --- a/src/iperf_udp.c +++ b/src/iperf_udp.c @@ -1,11 +1,12 @@ - /* - * Copyright (c) 2009, The Regents of the University of California, through - * Lawrence Berkeley National Laboratory (subject to receipt of any required - * approvals from the U.S. Dept. of Energy). All rights reserved. + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. */ - #include #include #include diff --git a/src/iperf_udp.h b/src/iperf_udp.h index d4d1e03..f89c4cd 100644 --- a/src/iperf_udp.h +++ b/src/iperf_udp.h @@ -1,9 +1,11 @@ - /* - Copyright (c) 2009, The Regents of the University of California, through - Lawrence Berkeley National Laboratory (subject to receipt of any required - approvals from the U.S. Dept. of Energy). All rights reserved. -*/ + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. + */ #ifndef __IPERF_UDP_H #define __IPERF_UDP_H diff --git a/src/iperf_util.c b/src/iperf_util.c index 84f285d..0e9fba6 100644 --- a/src/iperf_util.c +++ b/src/iperf_util.c @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. + */ + /* iperf_util.c * * Iperf utility functions diff --git a/src/iperf_util.h b/src/iperf_util.h index ed22017..6271d46 100644 --- a/src/iperf_util.h +++ b/src/iperf_util.h @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. + */ + #ifndef __IPERF_UTIL_H #define __IPERF_UTIL_H diff --git a/src/locale.c b/src/locale.c index 745044c..e99ff1e 100644 --- a/src/locale.c +++ b/src/locale.c @@ -1,4 +1,3 @@ - /*--------------------------------------------------------------- * Copyright (c) 1999,2000,2001,2002,2003 * The Board of Trustees of the University of Illinois diff --git a/src/locale.h b/src/locale.h index 2b69485..4c43788 100644 --- a/src/locale.h +++ b/src/locale.h @@ -1,3 +1,11 @@ +/* + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. + */ #ifndef IPERF_LOCALE_H #define IPERF_LOCALE_H diff --git a/src/main.c b/src/main.c index d62f160..9cc1641 100644 --- a/src/main.c +++ b/src/main.c @@ -1,8 +1,10 @@ - /* - * Copyright (c) 2009, The Regents of the University of California, through - * Lawrence Berkeley National Laboratory (subject to receipt of any required - * approvals from the U.S. Dept. of Energy). All rights reserved. + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. */ #include diff --git a/src/net.c b/src/net.c index ec8a430..146dc26 100644 --- a/src/net.c +++ b/src/net.c @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. + */ + #include #include #include diff --git a/src/net.h b/src/net.h index 52a311c..50f976c 100644 --- a/src/net.h +++ b/src/net.h @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. + */ + #ifndef __NET_H #define __NET_H diff --git a/src/t_timer.c b/src/t_timer.c index 4f48100..09d565e 100644 --- a/src/t_timer.c +++ b/src/t_timer.c @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. + */ + #include #include #include diff --git a/src/t_units.c b/src/t_units.c index 87693bb..5a35004 100644 --- a/src/t_units.c +++ b/src/t_units.c @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. + */ + #include #include #include diff --git a/src/t_uuid.c b/src/t_uuid.c index 44db4f4..e74bc14 100644 --- a/src/t_uuid.c +++ b/src/t_uuid.c @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. + */ + #include #include #include diff --git a/src/tcp_info.c b/src/tcp_info.c index 13feec7..883d743 100644 --- a/src/tcp_info.c +++ b/src/tcp_info.c @@ -1,3 +1,11 @@ +/* + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. + */ /* * routines related to collection TCP_INFO using getsockopt() diff --git a/src/tcp_window_size.h b/src/tcp_window_size.h index 2051f56..c4852b3 100644 --- a/src/tcp_window_size.h +++ b/src/tcp_window_size.h @@ -1,2 +1,11 @@ +/* + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. + */ + int set_tcp_windowsize(int sock, int bufsize, int dir); int get_tcp_windowsize(int sock, int dir); diff --git a/src/timer.c b/src/timer.c index 3fb5e94..c89a60a 100644 --- a/src/timer.c +++ b/src/timer.c @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. + */ + #include #include #include diff --git a/src/timer.h b/src/timer.h index 2f14fa3..aacd218 100644 --- a/src/timer.h +++ b/src/timer.h @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. + */ + #ifndef __TIMER_H #define __TIMER_H diff --git a/src/units.h b/src/units.h index 828e355..0256e88 100644 --- a/src/units.h +++ b/src/units.h @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. + */ + enum { UNIT_LEN = 11 }; diff --git a/src/version.h b/src/version.h index e07b09d..ac51035 100644 --- a/src/version.h +++ b/src/version.h @@ -1,2 +1,11 @@ +/* + * Copyright (c) 2009-2011, The Regents of the University of California, + * through Lawrence Berkeley National Laboratory (subject to receipt of any + * required approvals from the U.S. Dept. of Energy). All rights reserved. + * + * This code is distributed under a BSD style license, see the LICENSE file + * for complete information. + */ + #define IPERF_VERSION "3.0-BETA4" #define IPERF_VERSION_DATE "2 Aug 2010"