Skip to content

Commit

Permalink
fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
a1346054 committed Sep 3, 2021
1 parent ae2fac3 commit 50d6cce
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions RELNOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ iperf 3.2 2017-06-26
is primarily a cosmetic change to prevent these fairly meaningless
intervals from showing up in the output (#278).

* Compatiblity note: Users running iperf3 3.2 or newer from the
* Compatibility note: Users running iperf3 3.2 or newer from the
bwctl utility will need to obtain version 1.6.3 or newer of bwctl.
Note that bwctl, a component of the perfSONAR toolkit, has been
deprecated in favor of pScheduler since the release of perfSONAR
Expand Down Expand Up @@ -871,7 +871,7 @@ iperf 3.0b3 2010-07-23
* Better error handling
* All errors now handled with iperf_error()
* All functions that can return errors return NULL or -1 on error and set i_errno appropriately
* Iperf API intruduced
* Iperf API introduced
* Support for adding new protocols
* Added support for callback functions
* on_connect - executes after a connection is made to the server
Expand Down
2 changes: 1 addition & 1 deletion docs/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ How can I build on a system that doesn't support profiled executables?

And then run ``./bootstrap.sh``, that will regenerate the project
Makefiles to make the exclusion of the profiled iperf3 executable
permanant (within that source tree).
permanent (within that source tree).

I'm seeing quite a bit of unexpected UDP loss. Why?
First, confirm you are using iperf 3.1.5 or higher. There was an
Expand Down
2 changes: 1 addition & 1 deletion docs/news.rst
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,6 @@ https://github.com/esnet/iperf
During development, there were various distributions of the source
code unofficially released carrying a 3.0.0 version number. Because
of the possiblity for confusion, this first public release of iperf3
of the possibility for confusion, this first public release of iperf3
was numbered 3.0.1.

6 changes: 3 additions & 3 deletions src/iperf.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ typedef uint64_t iperf_size_t;

struct iperf_interval_results
{
iperf_size_t bytes_transferred; /* bytes transfered in this interval */
iperf_size_t bytes_transferred; /* bytes transferred in this interval */
struct iperf_time interval_start_time;
struct iperf_time interval_end_time;
float interval_duration;
Expand Down Expand Up @@ -146,7 +146,7 @@ struct iperf_settings
int blksize; /* size of read/writes (-l) */
iperf_size_t rate; /* target data rate for application pacing*/
iperf_size_t bitrate_limit; /* server's maximum allowed total data rate for all streams*/
double bitrate_limit_interval; /* interval for avaraging total data rate */
double bitrate_limit_interval; /* interval for averaging total data rate */
int bitrate_limit_stats_per_interval; /* calculated number of stats periods for averaging total data rate */
uint64_t fqrate; /* target data rate for FQ pacing*/
int pacing_timer; /* pacing timer in microseconds */
Expand Down Expand Up @@ -350,7 +350,7 @@ struct iperf_test

iperf_size_t bitrate_limit_stats_count; /* Number of stats periods accumulated for server's total bitrate average */
iperf_size_t *bitrate_limit_intervals_traffic_bytes; /* Pointer to a cyclic array that includes the last interval's bytes transferred */
iperf_size_t bitrate_limit_last_interval_index; /* Index of the last interval traffic insrted into the cyclic array */
iperf_size_t bitrate_limit_last_interval_index; /* Index of the last interval traffic inserted into the cyclic array */
int bitrate_limit_exceeded; /* Set by callback routine when average data rate exceeded the server's bitrate limit */

int server_last_run_rc; /* Save last server run rc for next test */
Expand Down
4 changes: 2 additions & 2 deletions src/iperf3.1
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ test by specifying the --get-server-output flag.
Either the client or the server can produce its output in a JSON
structure, useful for integration with other programs, by passing it
the -J flag.
Because the contents of the JSON structure are only competely known
Because the contents of the JSON structure are only completely known
after the test has finished, no JSON output will be emitted until the
end of the test.
.PP
Expand Down Expand Up @@ -137,7 +137,7 @@ In addition, on the client side you can override the server's
affinity for just that one test, using the \fIn,m\fR form of
argument.
Note that when using this feature, a process will only be bound
to a single CPU (as opposed to a set containing potentialy multiple
to a single CPU (as opposed to a set containing potentially multiple
CPUs).
.TP
.BR -B ", " --bind " \fIhost\fR"
Expand Down
12 changes: 6 additions & 6 deletions src/iperf_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -1676,7 +1676,7 @@ iperf_check_throttle(struct iperf_stream *sp, struct iperf_time *nowP)
}
}

/* Verify that average traffic is not greater than the specifid limit */
/* Verify that average traffic is not greater than the specified limit */
void
iperf_check_total_rate(struct iperf_test *test, iperf_size_t last_interval_bytes_transferred)
{
Expand All @@ -1688,7 +1688,7 @@ iperf_check_total_rate(struct iperf_test *test, iperf_size_t last_interval_bytes
if (test->done || test->settings->bitrate_limit == 0) // Continue only if check should be done
return;

/* Add last inetrval's transffered bytes to the array */
/* Add last inetrval's transferred bytes to the array */
if (++test->bitrate_limit_last_interval_index >= test->settings->bitrate_limit_stats_per_interval)
test->bitrate_limit_last_interval_index = 0;
test->bitrate_limit_intervals_traffic_bytes[test->bitrate_limit_last_interval_index] = last_interval_bytes_transferred;
Expand Down Expand Up @@ -2386,7 +2386,7 @@ get_results(struct iperf_test *test)
sp->peer_packet_count = pcount;
sp->result->bytes_received = bytes_transferred;
/*
* We have to handle the possibilty that
* We have to handle the possibility that
* start_time and end_time might not be
* available; this is the case for older (pre-3.2)
* servers.
Expand Down Expand Up @@ -2871,7 +2871,7 @@ iperf_free_test(struct iperf_test *test)
}
}

/* Free interval's traffic array for avrage rate calculations */
/* Free interval's traffic array for average rate calculations */
if (test->bitrate_limit_intervals_traffic_bytes != NULL)
free(test->bitrate_limit_intervals_traffic_bytes);

Expand Down Expand Up @@ -3175,7 +3175,7 @@ iperf_print_intermediate(struct iperf_test *test)

/*
* If the interval is at least 10% the normal interval
* length, or if there were actual bytes transferrred,
* length, or if there were actual bytes transferred,
* then we want to keep this interval.
*/
if (interval_len >= test->stats_interval * 0.10 ||
Expand Down Expand Up @@ -3447,7 +3447,7 @@ iperf_print_results(struct iperf_test *test)
* the streams. It's possible to not have any streams at all
* if the client got interrupted before it got to do anything.
*
* Also note that we try to keep seperate values for the sender
* Also note that we try to keep separate values for the sender
* and receiver ending times. Earlier iperf (3.1 and earlier)
* servers didn't send that to the clients, so in this case we fall
* back to using the client's ending timestamp. The fallback is
Expand Down
4 changes: 2 additions & 2 deletions src/iperf_auth.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ int encrypt_rsa_message(const char *plaintext, EVP_PKEY *public_key, unsigned ch
BIO_free(bioBuff);

if (encryptedtext_len < 0) {
/* We probably shoudln't be printing stuff like this */
/* We probably shouldn't be printing stuff like this */
fprintf(stderr, "%s\n", ERR_error_string(ERR_get_error(), NULL));
}

Expand All @@ -273,7 +273,7 @@ int decrypt_rsa_message(const unsigned char *encryptedtext, const int encryptedt
BIO_free(bioBuff);

if (plaintext_len < 0) {
/* We probably shoudln't be printing stuff like this */
/* We probably shouldn't be printing stuff like this */
fprintf(stderr, "%s\n", ERR_error_string(ERR_get_error(), NULL));
}

Expand Down
2 changes: 1 addition & 1 deletion src/iperf_error.c
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ iperf_strerror(int int_errno)
snprintf(errstr, len, "skew threshold must be a positive number");
break;
case IEIDLETIMEOUT:
snprintf(errstr, len, "idle timeout parameter is not positive or larget then allowed limit");
snprintf(errstr, len, "idle timeout parameter is not positive or larger than allowed limit");
break;
case IENOMSG:
snprintf(errstr, len, "idle timeout for receiving data");
Expand Down
2 changes: 1 addition & 1 deletion src/iperf_tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ iperf_tcp_listen(struct iperf_test *test)
}

/*
* If we got an IPv6 socket, figure out if it shoudl accept IPv4
* If we got an IPv6 socket, figure out if it should accept IPv4
* connections as well. See documentation in netannounce() for
* more details.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ main(int argc, char **argv)
// XXX: Setting the process affinity requires root on most systems.
// Is this a feature we really need?
#ifdef TEST_PROC_AFFINITY
/* didnt seem to work.... */
/* didn't seem to work.... */
/*
* increasing the priority of the process to minimise packet generation
* delay
Expand Down
2 changes: 1 addition & 1 deletion src/tcp_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* Note that this is only really useful on Linux.
* XXX: only standard on linux versions 2.4 and later
#
* FreeBSD has a limitted implementation that only includes the following:
* FreeBSD has a limited implementation that only includes the following:
* tcpi_snd_ssthresh, tcpi_snd_cwnd, tcpi_rcv_space, tcpi_rtt
* Based on information on http://wiki.freebsd.org/8.0TODO, I dont think this will be
* fixed before v8.1 at the earliest.
Expand Down

0 comments on commit 50d6cce

Please sign in to comment.