History log of /seL4-camkes-master/projects/lwip/src/apps/lwiperf/lwiperf.c
Revision Date Author Comments
# 58f928a1 21-Jun-2018 Simon Goldschmidt <goldsimon@gmx.de>

lwiperf: remove the comments that this is IPv4 only

IPv6 works (tested against iperf version 2.0.9 on linux)

Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>


# b9b74b2d 21-Jun-2018 Simon Goldschmidt <goldsimon@gmx.de>

lwiperf: make tradeoff client mode work


# 9992b48e 20-Jun-2018 Simon Goldschmidt <goldsimon@gmx.de>

fix compiling with LWIP_NOASSERT defined

See bug #54157


# 871f2762 17-Jun-2018 Simon Goldschmidt <goldsimon@gmx.de>

lwiperf: fix unused function warning/error


# 58b5a5fc 17-Jun-2018 Simon Goldschmidt <goldsimon@gmx.de>

lwiperf: implemented "dual" client mode


# a057caee 15-Jun-2018 Simon Goldschmidt <goldsimon@gmx.de>

lwiperf: start implementing iperf client

Only the transmission side works for now (todo: dual and tradeoff mode).
Also, only a 10 second timeout mode is implemented for now.

Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>


# 9dbfa9ca 19-Jan-2018 goldsimon <goldsimon@gmx.de>

lwiperf: enable TCP over IPv6 connections

tested against iperf 2.0.10
redefine LWIPERF_SERVER_IP_TYPE if you don't want both IP versions


# a696b2b5 17-Jan-2018 goldsimon <goldsimon@gmx.de>

lwiperf: fix testing against iperf 2.0.10 (bug #52901)


# 2fd83c9d 15-Jan-2018 goldsimon <goldsimon@gmx.de>

lwiperf: fix double-free of pbufs on recv error


# 653313cb 12-Jan-2018 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Work on task #14780: Add debug helper asserts to ensure threading/locking requirements are met

Add LWIP_ASSERT_CORE_LOCKED() to several more places


# 856b0c32 08-Oct-2017 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Fix bug #52189: list add and remove bug in <lwiperf.c>
Apply patch from xuyao hong


# 014420bf 17-Sep-2017 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Reformat lwiperf.c using astylerc


# 991f7513 08-Aug-2017 goldsimon <goldsimon@gmx.de>

Even more pbuf_header -> pbuf_add/remove_header replacements (also in strings)


# a1c7924c 04-Aug-2017 goldsimon <goldsimon@gmx.de>

task #14597: cleanup pbuf_header usages (use pbuf_add_header/pbuf_remove_header instead)


# 1741edf1 27-Feb-2017 goldsimon <goldsimon@gmx.de>

make tcp apps depend on LWIP_CALLBACK_API, too


# f2a5aa28 12-Dec-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Fix bug #49827: wrong cast to size_t on 16-bit x86 architecture
I hope I caught all of them.
TODO: Same for casts to get rid of alignment warnings, these are also casts via size_t


# 795acf02 05-Dec-2016 Axel Lin <axel.lin@ingics.com>

lwiperf: Simplify #if LWIPERF_CHECK_RX_DATA guard

The variable i is equal to q->len after exit the for loop.
Check the received data should not change the logic of update packet_idx.
So let's simplify the code a bit.

Signed-off-by: Axel Lin <axel.lin@ingics.com>


# 16877216 05-Dec-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Fix compile when IPv4 is disabled


# 13fb616b 05-Oct-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Cleanup hton*/ntoh* function handling and platform abstraction
Let lwip use functions/macros prefixed by lwip_ internally to avoid naming clashes with external #includes.
Remove over-complicated #define handling in def.h
Make functions easier to override in cc.h. The following is sufficient now (no more LWIP_PLATFORM_BYTESWAP):
#define lwip_htons(x) <your_htons>
#define lwip_htonl(x) <your_htonl>


# 633696c1 27-Sep-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Implement consistent IPx_ADDR_ANYx macro naming between IPv4 and IPv6
- rename IP4_ADDR_ANY to IP4_ADDR_ANY4
- IP4_ADDR_ANY (= IP_ADDR_ANY) is now IPv4 any address in ip_addr_t format


# 9078f315 30-Aug-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Minor: memcpy -> MEMCPY / SMEMCPY


# 85ab3998 08-Aug-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Fix a few incorrect uses of err_t. Found by converting lwip error codes to an enum, but I'm not sure wether I want to commit the actual enum conversion.


# 5bcaefdd 28-Jul-2016 goldsimon <goldsimon@gmx.de>

lwiperf: improved documentation, removed unused enum members


# 6b524367 27-Jul-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Documentation review with Simon, minor changes


# 14ca418a 04-Jul-2016 goldsimon <goldsimon@gmx.de>

minor: coding style fixes


# 8dc77ef5 22-Jun-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

doxygen updates - include IPv6 in documentation. Exclude include/netif/ppp/polarssl.
Convert TODO -> @todo


# 0b4bc5ea 24-Mar-2016 goldsimon <goldsimon@gmx.de>

minor whitespace change only


# eead3a70 03-Mar-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Simon says: dual-stack does not work on iperf because there IPs encoded in the payloads and IPv6 is not supported there in the current lwIP implementation -> revert


# ce370ec4 02-Mar-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Compile fix lwiperf.c after my last change


# 24ebf6bd 02-Mar-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Implement dual-stack in lwiperf, netbiosns and sntp


# bbb5e99f 19-Feb-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Fix netconn access after it was freed in lwiperf - found by Coverity


# b8e94ec0 17-Nov-2015 Dirk Ziegelmeier <dirk@ziegelmeier.net>

lwiperf: TX buffer can be static


# e1587298 17-Nov-2015 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Add iperf to apps;
Fix compile of lwiperf.c


# bef5ccda 08-Oct-2015 sg <goldsimon@gmx.de>

removed spaces at line ending, fixed include guard


# a2cd2ae5 08-Oct-2015 sg <goldsimon@gmx.de>

lwiperf: fixed const-cast warning


# 698e20a9 08-Oct-2015 sg <goldsimon@gmx.de>

Added lwiperf, a simple ipv4/tcp iperf peer