diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-07-02 16:52:02 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-07-02 16:52:02 -0600 |
commit | d559bea3ebb08291f2312551bfb43c91ba03c18c (patch) | |
tree | 8f2bce9ac07964ef0cc8923400768bf18e10d37e /apps/examples/wget | |
parent | 7f24c737b4d75340484337f5418c08c5de8c981d (diff) | |
download | px4-nuttx-d559bea3ebb08291f2312551bfb43c91ba03c18c.tar.gz px4-nuttx-d559bea3ebb08291f2312551bfb43c91ba03c18c.tar.bz2 px4-nuttx-d559bea3ebb08291f2312551bfb43c91ba03c18c.zip |
NET: Rename functions in apps/netutils/netlib to begin with netlib_ vs uip_
Diffstat (limited to 'apps/examples/wget')
-rw-r--r-- | apps/examples/wget/Makefile.host | 2 | ||||
-rw-r--r-- | apps/examples/wget/target.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/apps/examples/wget/Makefile.host b/apps/examples/wget/Makefile.host index ebd5f54e7..ea35e795f 100644 --- a/apps/examples/wget/Makefile.host +++ b/apps/examples/wget/Makefile.host @@ -37,7 +37,7 @@ WD = ${shell pwd} TOPDIR = $(WD)/../.. -include $(TOPDIR)/Make.defs -OBJS = host.o1 webclient.o1 uip_parsehttpurl.o1 +OBJS = host.o1 webclient.o1 netlib_parsehttpurl.o1 BIN = wget HOSTCFLAGS += -DCONFIG_WEBCLIENT_HOST=1 diff --git a/apps/examples/wget/target.c b/apps/examples/wget/target.c index 0a59a451d..cc8d896e5 100644 --- a/apps/examples/wget/target.c +++ b/apps/examples/wget/target.c @@ -125,23 +125,23 @@ int wget_main(int argc, char *argv[]) mac[3] = 0xad; mac[4] = 0xbe; mac[5] = 0xef; - uip_setmacaddr("eth0", mac); + netlib_setmacaddr("eth0", mac); #endif /* Set up our host address */ addr.s_addr = HTONL(CONFIG_EXAMPLES_WGET_IPADDR); - uip_sethostaddr("eth0", &addr); + netlib_sethostaddr("eth0", &addr); /* Set up the default router address */ addr.s_addr = HTONL(CONFIG_EXAMPLES_WGET_DRIPADDR); - uip_setdraddr("eth0", &addr); + netlib_setdraddr("eth0", &addr); /* Setup the subnet mask */ addr.s_addr = HTONL(CONFIG_EXAMPLES_WGET_NETMASK); - uip_setnetmask("eth0", &addr); + netlib_setnetmask("eth0", &addr); /* Then start the server */ |