genode/libports/src/test/lwip/pingpong
Stefan Kalkowski 8f0c789ed4 Make NIC RX/TX buffer sizes configureable in libc
* Remove far too low default values from Nic::Connection constructor
* Extend lwip initialization function with desired TX/RX buffer sizes
* Add configuration possibility to libc_lwip_dhcp plugin to define
  buffer sizes, like the following:

  '<libc tx_buf_size="1M" tx_buf_size="1M"/>'

Fixes #892
2013-10-22 08:00:14 +02:00
..
client pingpong: fix compiler warnings 2013-09-04 12:14:22 +02:00
server Make NIC RX/TX buffer sizes configureable in libc 2013-10-22 08:00:14 +02:00
pingpong.cc pingpong: fix compiler warnings 2013-09-04 12:14:22 +02:00
pingpong.h pingpong: fix compiler warnings 2013-09-04 12:14:22 +02:00
README run: add lwip pingpong test using tcp 2013-05-10 11:16:10 +02:00

Pingpong is a simple test where a client sends ping packets with different
sizes to a server. The client has to specify the serverip in its config
as well as the start and end of the ping packet sizes in bytes.

! <start name="test-ping_client">
! 	<resource name="RAM" quantum="16M"/>
! 	<config>
! 		<argv verbose="1" serverip="x.x.x.x" startsize="256" endsize="32768" />
! 	</config>
! </start>

If verbose is set 1 the client and the server will print the id and the
size of each packet (packet header + payload size).