summaryrefslogtreecommitdiff
path: root/apps/examples/xmlrpc
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/xmlrpc')
-rw-r--r--apps/examples/xmlrpc/xmlrpc_main.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/examples/xmlrpc/xmlrpc_main.c b/apps/examples/xmlrpc/xmlrpc_main.c
index 8c0fa2bcf..c2c7d1826 100644
--- a/apps/examples/xmlrpc/xmlrpc_main.c
+++ b/apps/examples/xmlrpc/xmlrpc_main.c
@@ -286,7 +286,7 @@ static int xmlrpc_netinit(void)
mac[3] = 0xad;
mac[4] = 0xbe;
mac[5] = 0xef;
- uip_setmacaddr("eth0", mac);
+ netlib_setmacaddr("eth0", mac);
#endif
/* Set up our host address */
@@ -296,17 +296,17 @@ static int xmlrpc_netinit(void)
#else
addr.s_addr = HTONL(CONFIG_EXAMPLES_XMLRPC_IPADDR);
#endif
- uip_sethostaddr("eth0", &addr);
+ netlib_sethostaddr("eth0", &addr);
/* Set up the default router address */
addr.s_addr = HTONL(CONFIG_EXAMPLES_XMLRPC_DRIPADDR);
- uip_setdraddr("eth0", &addr);
+ netlib_setdraddr("eth0", &addr);
/* Setup the subnet mask */
addr.s_addr = HTONL(CONFIG_EXAMPLES_XMLRPC_NETMASK);
- uip_setnetmask("eth0", &addr);
+ netlib_setnetmask("eth0", &addr);
#ifdef CONFIG_EXAMPLES_XMLRPC_DHCPC
/* Set up the resolver */
@@ -315,7 +315,7 @@ static int xmlrpc_netinit(void)
/* Get the MAC address of the NIC */
- uip_getmacaddr("eth0", mac);
+ netlib_getmacaddr("eth0", mac);
/* Set up the DHCPC modules */
@@ -331,16 +331,16 @@ static int xmlrpc_netinit(void)
{
struct dhcpc_state ds;
(void)dhcpc_request(handle, &ds);
- uip_sethostaddr("eth1", &ds.ipaddr);
+ netlib_sethostaddr("eth1", &ds.ipaddr);
if (ds.netmask.s_addr != 0)
{
- uip_setnetmask("eth0", &ds.netmask);
+ netlib_setnetmask("eth0", &ds.netmask);
}
if (ds.default_router.s_addr != 0)
{
- uip_setdraddr("eth0", &ds.default_router);
+ netlib_setdraddr("eth0", &ds.default_router);
}
if (ds.dnsaddr.s_addr != 0)