lwip: support send, recv timeouts

This commit is contained in:
Alexander Boettcher 2013-06-25 16:00:08 +02:00 committed by Stefan Kalkowski
parent 494bb8ff0d
commit 8a623c6317
2 changed files with 5 additions and 0 deletions

View File

@ -33,6 +33,9 @@
#define LWIP_HAVE_LOOPIF 1 /* 127.0.0.1 support ? */
#define LWIP_STATS 0 /* disable stating */
#define LWIP_STATS_DISPLAY 0 /* disable stating display function */
#define LWIP_SO_RCVTIMEO 1 /* support timeouts for socket recv */
#define LWIP_SO_SNDTIMEO 1 /* support timeouts for socket send */
#define LWIP_TCP_TIMESTAMPS 1
#define LWIP_SO_RCVBUF 1 /* enable SO_RCVBUF */
#define SO_REUSE 1 /* enable SO_REUSE */
#define LWIP_WND_SCALE 1 /* enable window scaling */

View File

@ -578,6 +578,8 @@ extern "C" {
}
}
u32_t sys_now() {
return Genode::Timeout_thread::alarm_timer()->time(); }
#if 0
/**************