From 7726fc06938fe042704ef985b2335cc7f1278f63 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 18 Jan 2015 14:17:00 -0600 Subject: Rename IPv4 netlib functions and files to make room in the namespace for corresponding IPv6 functions and files --- apps/examples/udp/target.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/examples/udp/target.c') diff --git a/apps/examples/udp/target.c b/apps/examples/udp/target.c index 72ca05d17..8b72978f3 100644 --- a/apps/examples/udp/target.c +++ b/apps/examples/udp/target.c @@ -75,17 +75,17 @@ int udp_main(int argc, char *argv[]) /* Set up our host address */ addr.s_addr = HTONL(CONFIG_EXAMPLES_UDP_IPADDR); - netlib_sethostaddr("eth0", &addr); + netlib_set_ipv4addr("eth0", &addr); /* Set up the default router address */ addr.s_addr = HTONL(CONFIG_EXAMPLES_UDP_DRIPADDR); - netlib_setdraddr("eth0", &addr); + netlib_set_dripv4addr("eth0", &addr); /* Setup the subnet mask */ addr.s_addr = HTONL(CONFIG_EXAMPLES_UDP_NETMASK); - netlib_setnetmask("eth0", &addr); + netlib_set_ipv4netmask("eth0", &addr); #ifdef CONFIG_EXAMPLES_UDP_SERVER recv_server(); -- cgit v1.2.3