lxip: support configuration of libc plugin

Added support for the 'ip_addr', 'gateway', and 'netmask' configuration
parameter.

Issue #984
This commit is contained in:
Sebastian Sumpf
2014-01-07 15:22:24 +01:00
committed by Norman Feske
parent 12f560dc0e
commit 880930cb4f
6 changed files with 77 additions and 15 deletions

View File

@ -31,7 +31,15 @@ namespace Lxip {
class Socketcall;
Socketcall & init();
/**
* Init backend
*
* \param address_config for dynamic configuration use "dhcp", for static
* configuration use "<ip>::<gw-ip>:<netmask>:::off"
*
* \return Reference to Socketcall object
*/
Socketcall & init(char *address_config);
typedef Genode::uint8_t uint8_t;
typedef Genode::uint16_t uint16_t;