lxip: network reconfiguration support

This commit is contained in:
Christian Prochaska
2017-02-07 20:52:34 +01:00
committed by Norman Feske
parent aa602032dd
commit a1453d83ff
5 changed files with 42 additions and 25 deletions

View File

@@ -34,12 +34,18 @@ namespace Lxip {
/**
* Init backend
*
* \param address_config for dynamic configuration use "dhcp", for static
* configuration use "<ip>::<gw-ip>:<netmask>:::off"
* \param ip_addr_str IP address
* \param netmask_str Netmask
* \param gateway_str Gateway
* \param nameserver_str Nameserver
*
* \return Reference to Socketcall object
*/
Socketcall & init(Genode::Env &env, char const *address_config);
Socketcall & init(Genode::Env &env,
char const *ip_addr_str,
char const *netmask_str,
char const *gateway_str,
char const *nameserver_str);
typedef Genode::uint8_t uint8_t;
typedef Genode::uint16_t uint16_t;