mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-17 06:38:28 +00:00
committed by
Christian Helmuth
parent
6c6375aa83
commit
2d469cb35c
@ -47,6 +47,13 @@ int lwip_nic_init(genode_int32_t ip_addr,
|
||||
__SIZE_TYPE__ tx_buf_size,
|
||||
__SIZE_TYPE__ rx_buf_size);
|
||||
|
||||
/**
|
||||
* Pass on link-state changes to lwIP
|
||||
*
|
||||
* \param state current link-state
|
||||
*/
|
||||
void lwip_nic_link_state_changed(int state);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
@ -42,7 +42,8 @@
|
||||
#define TCP_RCV_SCALE 2 /* receive scale factor IETF RFC 1323 */
|
||||
|
||||
#if LWIP_DHCP
|
||||
#define LWIP_NETIF_STATUS_CALLBACK 1 /* callback function used by DHCP init */
|
||||
#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 */
|
||||
#endif
|
||||
|
||||
/***********************************
|
||||
|
Reference in New Issue
Block a user