mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 02:40:08 +00:00
parent
0584ac195c
commit
d9f5dda322
@ -115,7 +115,7 @@ install_config {
|
||||
</start>
|
||||
|
||||
<start name="test-lwip_httpsrv" caps="120" priority="-1">
|
||||
<resource name="RAM" quantum="4M"/>
|
||||
<resource name="RAM" quantum="8M"/>
|
||||
<config>
|
||||
<vfs>
|
||||
<dir name="dev"> <log/> </dir>
|
||||
|
@ -21,7 +21,7 @@ proc client_config { name prot ip_addr gateway netmask nic srv_port srv_ip } {
|
||||
append result {
|
||||
<start name="} $name {" priority="-1">
|
||||
<binary name="} [client_bin $prot] {" />
|
||||
<resource name="RAM" quantum="4M"/>
|
||||
<resource name="RAM" quantum="8M"/>
|
||||
<route>
|
||||
<service name="Nic"> <child name="} $nic {"/> </service>
|
||||
<any-service> <parent/> <any-child/> </any-service>
|
||||
@ -51,7 +51,7 @@ proc server_config { name prot ip_addr gateway netmask nic port } {
|
||||
append result {
|
||||
<start name="} $name {" priority="-1">
|
||||
<binary name="} [server_bin $prot] {" />
|
||||
<resource name="RAM" quantum="4M"/>
|
||||
<resource name="RAM" quantum="8M"/>
|
||||
<route>
|
||||
<service name="Nic"> <child name="} $nic {"/> </service>
|
||||
<any-service> <parent/> <any-child/> </any-service>
|
||||
|
@ -125,7 +125,7 @@ append config {
|
||||
</start>
|
||||
|
||||
<start name="test-lwip-udp-server">
|
||||
<resource name="RAM" quantum="4M"/>
|
||||
<resource name="RAM" quantum="8M"/>
|
||||
<route>
|
||||
<service name="Nic"> <child name="nic_router"/> </service>
|
||||
<any-service> <parent/> <any-child/> </any-service>
|
||||
|
@ -36,13 +36,13 @@ extern "C" {
|
||||
#define LWIP_NETIF_LOOPBACK 1 /* Looping back to same address? */
|
||||
#define LWIP_STATS 0 /* disable stating */
|
||||
#define LWIP_TCP_TIMESTAMPS 1
|
||||
#define TCP_LISTEN_BACKLOG 1
|
||||
#define TCP_MSS 1460
|
||||
#define TCP_WND (32 * TCP_MSS)
|
||||
#define TCP_SND_BUF (32 * TCP_MSS)
|
||||
#define LWIP_WND_SCALE 3
|
||||
#define TCP_RCV_SCALE 2
|
||||
#define TCP_SND_QUEUELEN ((8 * (TCP_SND_BUF) + (TCP_MSS - 1))/(TCP_MSS))
|
||||
#define TCP_LISTEN_BACKLOG 1
|
||||
#define TCP_MSS 1460
|
||||
#define TCP_WND (80 * TCP_MSS)
|
||||
#define TCP_SND_BUF (80 * TCP_MSS)
|
||||
#define LWIP_WND_SCALE 3
|
||||
#define TCP_RCV_SCALE 2
|
||||
#define TCP_SND_QUEUELEN ((8 * (TCP_SND_BUF) + (TCP_MSS - 1))/(TCP_MSS))
|
||||
|
||||
#define LWIP_NETIF_STATUS_CALLBACK 1 /* callback function used for interface changes */
|
||||
#define LWIP_NETIF_LINK_CALLBACK 1 /* callback function used for link-state changes */
|
||||
|
Loading…
Reference in New Issue
Block a user