update license info for all source files
Этот коммит содержится в:
родитель
62b41ffe40
Коммит
7d375156aa
11
src/iperf.h
11
src/iperf.h
@ -1,8 +1,11 @@
|
|||||||
/*
|
/*
|
||||||
Copyright (c) 2009, The Regents of the University of California, through
|
* Copyright (c) 2009-2011, The Regents of the University of California,
|
||||||
Lawrence Berkeley National Laboratory (subject to receipt of any required
|
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
||||||
approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
#ifndef __IPERF_H
|
||||||
#define __IPERF_H
|
#define __IPERF_H
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009, The Regents of the University of California, through
|
* Copyright (c) 2009-2011, The Regents of the University of California,
|
||||||
* Lawrence Berkeley National Laboratory (subject to receipt of any required
|
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
||||||
* approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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 <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2009, The Regents of the University of California, through
|
* Copyright (c) 2009-2011, The Regents of the University of California,
|
||||||
Lawrence Berkeley National Laboratory (subject to receipt of any required
|
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
||||||
approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
#ifndef __IPERF_API_H
|
||||||
#define __IPERF_API_H
|
#define __IPERF_API_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.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.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
|
#ifndef __IPERF_CLIENT_API_H
|
||||||
#define __IPERF_CLIENT_API_H
|
#define __IPERF_CLIENT_API_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.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <netdb.h>
|
#include <netdb.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.h
|
||||||
*
|
*
|
||||||
* Iperf error handling
|
* Iperf error handling
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009, The Regents of the University of California, through
|
* Copyright (c) 2009-2011, The Regents of the University of California,
|
||||||
* Lawrence Berkeley National Laboratory (subject to receipt of any required
|
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
||||||
* approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
/* iperf_server_api.c: Functions to be used by an iperf server
|
||||||
|
@ -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
|
#ifndef __IPERF_SERVER_API_H
|
||||||
#define __IPERF_SERVER_API_H
|
#define __IPERF_SERVER_API_H
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009, The Regents of the University of California, through
|
* Copyright (c) 2009-2011, The Regents of the University of California,
|
||||||
* Lawrence Berkeley National Laboratory (subject to receipt of any required
|
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
||||||
* approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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 <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
/*
|
/*
|
||||||
Copyright (c) 2009, The Regents of the University of California, through
|
* Copyright (c) 2009-2011, The Regents of the University of California,
|
||||||
Lawrence Berkeley National Laboratory (subject to receipt of any required
|
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
||||||
approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
#ifndef IPERF_TCP_H
|
||||||
#define IPERF_TCP_H
|
#define IPERF_TCP_H
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009, The Regents of the University of California, through
|
* Copyright (c) 2009-2011, The Regents of the University of California,
|
||||||
* Lawrence Berkeley National Laboratory (subject to receipt of any required
|
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
||||||
* approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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 <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2009, The Regents of the University of California, through
|
* Copyright (c) 2009-2011, The Regents of the University of California,
|
||||||
Lawrence Berkeley National Laboratory (subject to receipt of any required
|
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
||||||
approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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
|
#ifndef __IPERF_UDP_H
|
||||||
#define __IPERF_UDP_H
|
#define __IPERF_UDP_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_util.c
|
/* iperf_util.c
|
||||||
*
|
*
|
||||||
* Iperf utility functions
|
* Iperf utility functions
|
||||||
|
@ -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
|
#ifndef __IPERF_UTIL_H
|
||||||
#define __IPERF_UTIL_H
|
#define __IPERF_UTIL_H
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/*---------------------------------------------------------------
|
/*---------------------------------------------------------------
|
||||||
* Copyright (c) 1999,2000,2001,2002,2003
|
* Copyright (c) 1999,2000,2001,2002,2003
|
||||||
* The Board of Trustees of the University of Illinois
|
* The Board of Trustees of the University of Illinois
|
||||||
|
@ -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
|
#ifndef IPERF_LOCALE_H
|
||||||
#define IPERF_LOCALE_H
|
#define IPERF_LOCALE_H
|
||||||
|
10
src/main.c
10
src/main.c
@ -1,8 +1,10 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009, The Regents of the University of California, through
|
* Copyright (c) 2009-2011, The Regents of the University of California,
|
||||||
* Lawrence Berkeley National Laboratory (subject to receipt of any required
|
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
||||||
* approvals from the U.S. Dept. of Energy). All rights reserved.
|
* 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 <stdio.h>
|
#include <stdio.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.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <errno.h>
|
#include <errno.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
|
#ifndef __NET_H
|
||||||
#define __NET_H
|
#define __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.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.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.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.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.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.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.
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* routines related to collection TCP_INFO using getsockopt()
|
* routines related to collection TCP_INFO using getsockopt()
|
||||||
|
@ -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 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);
|
||||||
|
@ -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 <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.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
|
#ifndef __TIMER_H
|
||||||
#define __TIMER_H
|
#define __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.
|
||||||
|
*/
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
UNIT_LEN = 11
|
UNIT_LEN = 11
|
||||||
};
|
};
|
||||||
|
@ -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 "3.0-BETA4"
|
||||||
#define IPERF_VERSION_DATE "2 Aug 2010"
|
#define IPERF_VERSION_DATE "2 Aug 2010"
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user