thanks for the fast reply. My target system is a POSIX environment, so this should make the problem easier. I though that the process of wrapping lwIP's socket layer would be more straightforward.
I will try to work on the iperf configuration files as you suggested.
MaX
On Tue, May 3, 2011 at 5:27 PM, Tyrel Newton <address@hidden> wrote:
I looked into using iperf with lwIP on my embedded system. The crux
of the problem is that iperf needs to be compiled for a POSIX
environment. You might get it to successfully wrap around lwIP's
socket layer, but you'd probably have to modify the iperf
configuration files to target your specific environment.
I did not look at netstat.
Needless to say, this was beyond the scope of what I was looking
for. In the end, if you have access to the code for your driver, its
a fairly simple matter to modify it so that it collects the
statistics for you. The driver usually has to parse out the length
of packets anyway, so the information you need is already there.
Tyrel
On 5/3/2011 9:16 AM, MaX wrote:
Hi All,
I have just started to have a look to lwIP and I would like to run
some performance test to get an idea of the gain.
Can anyone point me to some docs to compile iperf or netstat with
IwIP?