Update license and copyright text to conform to LBNL standards.
Note that the license remains a 3-clause BSD license; the only license changes were to add the name of the program and to add some punctuation.
This commit is contained in:
parent
8365c3d003
commit
da9f046f19
4
LICENSE
4
LICENSE
|
@ -1,6 +1,6 @@
|
||||||
Copyright (c) 2009-2014, The Regents of the University of California, through
|
"iperf, Copyright (c) 2014, The Regents of the University of California, through
|
||||||
Lawrence Berkeley National Laboratory (subject to receipt of any required
|
Lawrence Berkeley National Laboratory (subject to receipt of any required
|
||||||
approvals from the U.S. Dept. of Energy). All rights reserved.
|
approvals from the U.S. Dept. of Energy). 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 the following conditions are met:
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
|
28
README.md
28
README.md
|
@ -169,3 +169,31 @@ responsibility for the content of these pages.
|
||||||
<cameron@ivdatacenter.com>):
|
<cameron@ivdatacenter.com>):
|
||||||
|
|
||||||
http://cheatsheet.logicalwebhost.com/iperf-network-testing/
|
http://cheatsheet.logicalwebhost.com/iperf-network-testing/
|
||||||
|
|
||||||
|
Copyright
|
||||||
|
---------
|
||||||
|
|
||||||
|
iperf, Copyright (c) 2014, 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.
|
||||||
|
|
||||||
|
If you have questions about your rights to use or distribute this
|
||||||
|
software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
Department at TTD@lbl.gov.
|
||||||
|
|
||||||
|
NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
As such, the U.S. Government has been granted for itself and others
|
||||||
|
acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
works, and perform publicly and display publicly. Beginning five
|
||||||
|
(5) years after the date permission to assert copyright is obtained
|
||||||
|
from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
prepare derivative works, distribute copies to the public, perform
|
||||||
|
publicly and display publicly, and to permit others to do so.
|
||||||
|
|
||||||
|
This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
file for complete information.
|
||||||
|
|
25
bootstrap.sh
25
bootstrap.sh
|
@ -1,9 +1,26 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014, The Regents of the University of California,
|
# iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
# through Lawrence Berkeley National Laboratory (subject to receipt of
|
# California, through Lawrence Berkeley National Laboratory (subject
|
||||||
# any required approvals from the U.S. Dept. of Energy). All rights
|
# to receipt of any required approvals from the U.S. Dept. of
|
||||||
# reserved.
|
# Energy). All rights reserved.
|
||||||
|
#
|
||||||
|
# If you have questions about your rights to use or distribute this
|
||||||
|
# software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
# Department at TTD@lbl.gov.
|
||||||
|
#
|
||||||
|
# NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
# As such, the U.S. Government has been granted for itself and others
|
||||||
|
# acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
# worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
# works, and perform publicly and display publicly. Beginning five
|
||||||
|
# (5) years after the date permission to assert copyright is obtained
|
||||||
|
# from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
# five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
# and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
# irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
# prepare derivative works, distribute copies to the public, perform
|
||||||
|
# publicly and display publicly, and to permit others to do so.
|
||||||
#
|
#
|
||||||
# This code is distributed under a BSD style license, see the LICENSE
|
# This code is distributed under a BSD style license, see the LICENSE
|
||||||
# file for complete information.
|
# file for complete information.
|
||||||
|
|
25
configure.ac
25
configure.ac
|
@ -1,3 +1,28 @@
|
||||||
|
# iperf, Copyright (c) 2014, 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.
|
||||||
|
#
|
||||||
|
# If you have questions about your rights to use or distribute this
|
||||||
|
# software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
# Department at TTD@lbl.gov.
|
||||||
|
#
|
||||||
|
# NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
# As such, the U.S. Government has been granted for itself and others
|
||||||
|
# acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
# worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
# works, and perform publicly and display publicly. Beginning five
|
||||||
|
# (5) years after the date permission to assert copyright is obtained
|
||||||
|
# from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
# five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
# and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
# irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
# prepare derivative works, distribute copies to the public, perform
|
||||||
|
# publicly and display publicly, and to permit others to do so.
|
||||||
|
#
|
||||||
|
# This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
# file for complete information.
|
||||||
|
|
||||||
# Initialize the autoconf system for the specified tool, version and mailing list
|
# Initialize the autoconf system for the specified tool, version and mailing list
|
||||||
AC_INIT(iperf, 3-CURRENT, https://github.com/esnet/iperf, iperf, http://software.es.net/iperf/)
|
AC_INIT(iperf, 3-CURRENT, https://github.com/esnet/iperf, iperf, http://software.es.net/iperf/)
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,29 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2011, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* to receipt of any required approvals from the U.S. Dept. of
|
||||||
* This code is distributed under a BSD style license, see the LICENSE file
|
* Energy). All rights reserved.
|
||||||
* for complete information.
|
*
|
||||||
|
* If you have questions about your rights to use or distribute this
|
||||||
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
* file for complete information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __FLOW_LABEL_H
|
#ifndef __FLOW_LABEL_H
|
||||||
#define __FLOW_LABEL_H
|
#define __FLOW_LABEL_H
|
||||||
|
|
||||||
|
|
29
src/iperf.h
29
src/iperf.h
|
@ -1,12 +1,29 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2014, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
* If you have questions about your rights to use or distribute this
|
||||||
* for complete information.
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
* file for complete information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __IPERF_H
|
#ifndef __IPERF_H
|
||||||
#define __IPERF_H
|
#define __IPERF_H
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,29 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2014, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* to receipt of any required approvals from the U.S. Dept. of
|
||||||
|
* Energy). All rights reserved.
|
||||||
|
*
|
||||||
|
* If you have questions about your rights to use or distribute this
|
||||||
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
*
|
*
|
||||||
* This code is distributed under a BSD style license, see the LICENSE file
|
* This code is distributed under a BSD style license, see the LICENSE file
|
||||||
* for complete information.
|
* for complete information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
#define __USE_GNU
|
#define __USE_GNU
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,29 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2014, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
* If you have questions about your rights to use or distribute this
|
||||||
* for complete information.
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
* file for complete information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __IPERF_API_H
|
#ifndef __IPERF_API_H
|
||||||
#define __IPERF_API_H
|
#define __IPERF_API_H
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,29 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2014, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
* If you have questions about your rights to use or distribute this
|
||||||
* for complete information.
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
* file for complete information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,12 +1,29 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2014, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
* If you have questions about your rights to use or distribute this
|
||||||
* for complete information.
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
* file for complete information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
|
|
|
@ -1,7 +1,28 @@
|
||||||
/*---------------------------------------------------------------
|
/*---------------------------------------------------------------
|
||||||
* Copyright (c) 2014, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* to receipt of any required approvals from the U.S. Dept. of
|
||||||
|
* Energy). All rights reserved.
|
||||||
|
*
|
||||||
|
* If you have questions about your rights to use or distribute this
|
||||||
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
* file for complete information.
|
||||||
*
|
*
|
||||||
* Based on code that is:
|
* Based on code that is:
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,12 +1,29 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2014, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
* If you have questions about your rights to use or distribute this
|
||||||
* for complete information.
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
* file for complete information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef IPERF_LOCALE_H
|
#ifndef IPERF_LOCALE_H
|
||||||
#define IPERF_LOCALE_H
|
#define IPERF_LOCALE_H
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,28 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2014, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
* If you have questions about your rights to use or distribute this
|
||||||
* for complete information.
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
* file for complete information.
|
||||||
*/
|
*/
|
||||||
#include "iperf_config.h"
|
#include "iperf_config.h"
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,29 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2014, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
* If you have questions about your rights to use or distribute this
|
||||||
* for complete information.
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
* file for complete information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef IPERF_SCTP_H
|
#ifndef IPERF_SCTP_H
|
||||||
#define IPERF_SCTP_H
|
#define IPERF_SCTP_H
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,29 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2014, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
* If you have questions about your rights to use or distribute this
|
||||||
* for complete information.
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* 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
|
/* iperf_server_api.c: Functions to be used by an iperf server
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,28 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2014, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
* If you have questions about your rights to use or distribute this
|
||||||
* for complete information.
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
* file for complete information.
|
||||||
*/
|
*/
|
||||||
#include "iperf_config.h"
|
#include "iperf_config.h"
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,29 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2011, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
* If you have questions about your rights to use or distribute this
|
||||||
* for complete information.
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
* file for complete information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef IPERF_TCP_H
|
#ifndef IPERF_TCP_H
|
||||||
#define IPERF_TCP_H
|
#define IPERF_TCP_H
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,29 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2011, 2014, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
* If you have questions about your rights to use or distribute this
|
||||||
* for complete information.
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
* file for complete information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -1,12 +1,29 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2011, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
* If you have questions about your rights to use or distribute this
|
||||||
* for complete information.
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
* file for complete information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __IPERF_UDP_H
|
#ifndef __IPERF_UDP_H
|
||||||
#define __IPERF_UDP_H
|
#define __IPERF_UDP_H
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,29 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2014, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
* If you have questions about your rights to use or distribute this
|
||||||
* for complete information.
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
* file for complete information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* iperf_util.c
|
/* iperf_util.c
|
||||||
*
|
*
|
||||||
* Iperf utility functions
|
* Iperf utility functions
|
||||||
|
|
|
@ -1,12 +1,29 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2011, 2014, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
* If you have questions about your rights to use or distribute this
|
||||||
* for complete information.
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
* file for complete information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __IPERF_UTIL_H
|
#ifndef __IPERF_UTIL_H
|
||||||
#define __IPERF_UTIL_H
|
#define __IPERF_UTIL_H
|
||||||
|
|
||||||
|
|
28
src/main.c
28
src/main.c
|
@ -1,10 +1,28 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2014, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
* If you have questions about your rights to use or distribute this
|
||||||
* for complete information.
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
* file for complete information.
|
||||||
*/
|
*/
|
||||||
#include "iperf_config.h"
|
#include "iperf_config.h"
|
||||||
|
|
||||||
|
|
28
src/net.c
28
src/net.c
|
@ -1,10 +1,28 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2014, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
* If you have questions about your rights to use or distribute this
|
||||||
* for complete information.
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
* file for complete information.
|
||||||
*/
|
*/
|
||||||
#include "iperf_config.h"
|
#include "iperf_config.h"
|
||||||
|
|
||||||
|
|
29
src/net.h
29
src/net.h
|
@ -1,12 +1,29 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2014, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
* If you have questions about your rights to use or distribute this
|
||||||
* for complete information.
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
* file for complete information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __NET_H
|
#ifndef __NET_H
|
||||||
#define __NET_H
|
#define __NET_H
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,29 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2011, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
* If you have questions about your rights to use or distribute this
|
||||||
* for complete information.
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
* file for complete information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
|
@ -1,12 +1,29 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2011, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
* If you have questions about your rights to use or distribute this
|
||||||
* for complete information.
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
* file for complete information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#ifdef HAVE_STDINT_H
|
#ifdef HAVE_STDINT_H
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
29
src/t_uuid.c
29
src/t_uuid.c
|
@ -1,12 +1,29 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2011, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
* If you have questions about your rights to use or distribute this
|
||||||
* for complete information.
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
* file for complete information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -1,10 +1,28 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2014, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
* If you have questions about your rights to use or distribute this
|
||||||
* for complete information.
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
* file for complete information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1,11 +1,28 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2011, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
* If you have questions about your rights to use or distribute this
|
||||||
* for complete information.
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* 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 set_tcp_windowsize(int sock, int bufsize, int dir);
|
||||||
int get_tcp_windowsize(int sock, int dir);
|
int get_tcp_windowsize(int sock, int dir);
|
||||||
|
|
28
src/timer.c
28
src/timer.c
|
@ -1,10 +1,28 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2011, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
* If you have questions about your rights to use or distribute this
|
||||||
* for complete information.
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
* file for complete information.
|
||||||
*
|
*
|
||||||
* Based on timers.c by Jef Poskanzer. Used with permission.
|
* Based on timers.c by Jef Poskanzer. Used with permission.
|
||||||
*/
|
*/
|
||||||
|
|
28
src/timer.h
28
src/timer.h
|
@ -1,10 +1,28 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2014, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
* If you have questions about your rights to use or distribute this
|
||||||
* for complete information.
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
* file for complete information.
|
||||||
*
|
*
|
||||||
* Based on timers.h by Jef Poskanzer. Used with permission.
|
* Based on timers.h by Jef Poskanzer. Used with permission.
|
||||||
*/
|
*/
|
||||||
|
|
29
src/units.h
29
src/units.h
|
@ -1,12 +1,29 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2011, 2014, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
* If you have questions about your rights to use or distribute this
|
||||||
* for complete information.
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
* file for complete information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
UNIT_LEN = 32
|
UNIT_LEN = 32
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,10 +1,27 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2014, The Regents of the University of California,
|
* iperf, Copyright (c) 2014, The Regents of the University of
|
||||||
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
* California, through Lawrence Berkeley National Laboratory (subject
|
||||||
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
* If you have questions about your rights to use or distribute this
|
||||||
* for complete information.
|
* software, please contact Berkeley Lab's Technology Transfer
|
||||||
|
* Department at TTD@lbl.gov.
|
||||||
|
*
|
||||||
|
* NOTICE. This software is owned by the U.S. Department of Energy.
|
||||||
|
* As such, the U.S. Government has been granted for itself and others
|
||||||
|
* acting on its behalf a paid-up, nonexclusive, irrevocable,
|
||||||
|
* worldwide license in the Software to reproduce, prepare derivative
|
||||||
|
* works, and perform publicly and display publicly. Beginning five
|
||||||
|
* (5) years after the date permission to assert copyright is obtained
|
||||||
|
* from the U.S. Department of Energy, and subject to any subsequent
|
||||||
|
* five (5) year renewals, the U.S. Government is granted for itself
|
||||||
|
* and others acting on its behalf a paid-up, nonexclusive,
|
||||||
|
* irrevocable, worldwide license in the Software to reproduce,
|
||||||
|
* prepare derivative works, distribute copies to the public, perform
|
||||||
|
* publicly and display publicly, and to permit others to do so.
|
||||||
|
*
|
||||||
|
* This code is distributed under a BSD style license, see the LICENSE
|
||||||
|
* file for complete information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define IPERF_VERSION "@PACKAGE_VERSION@"
|
#define IPERF_VERSION "@PACKAGE_VERSION@"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user