mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-22 14:08:36 +00:00
NET: Rename uiplib/UIPLIB to netlib/NETLIB
This commit is contained in:
parent
79aa55183c
commit
2ee5041477
53 changed files with 109 additions and 109 deletions
|
|
@ -182,7 +182,7 @@ examples/dhcpd
|
|||
(as well as various other UDP-related
|
||||
configuration settings)
|
||||
CONFIG_NET_BROADCAST=y - UDP broadcast support is needed.
|
||||
CONFIG_NETUTILS_UIPLIB=y - The UIP library is needed
|
||||
CONFIG_NETUTILS_NETLIB=y - The UIP library is needed
|
||||
|
||||
CONFIG_EXAMPLES_DHCPD_NOMAC - (May be defined to use software assigned MAC)
|
||||
CONFIG_EXAMPLES_DHCPD_IPADDR - Target IP address
|
||||
|
|
@ -394,7 +394,7 @@ examples/ftpd
|
|||
The following netutils libraries should be enabled in your defconfig
|
||||
file:
|
||||
|
||||
CONFIG_NETUTILS_UIPLIB=y
|
||||
CONFIG_NETUTILS_NETLIB=y
|
||||
CONFIG_NETUTILS_TELNED=y
|
||||
|
||||
examples/hello
|
||||
|
|
@ -489,7 +489,7 @@ examples/igmp
|
|||
Network mask
|
||||
* CONFIG_EXAMPLES_IGMP_GRPADDR
|
||||
Multicast group address
|
||||
* CONFIG_EXAMPLES_UIPLIB
|
||||
* CONFIG_EXAMPLES_NETLIB
|
||||
The UIP library is needed
|
||||
|
||||
examples/adc
|
||||
|
|
@ -670,7 +670,7 @@ examples/nettest
|
|||
functionality in a TCP/IP connection.
|
||||
|
||||
CONFIG_EXAMPLES_NETTEST=y - Enables the nettest example
|
||||
CONFIG_EXAMPLES_UIPLIB=y - The UIP livrary in needed.
|
||||
CONFIG_EXAMPLES_NETLIB=y - The UIP livrary in needed.
|
||||
|
||||
See also examples/tcpecho
|
||||
|
||||
|
|
@ -713,7 +713,7 @@ examples/nsh
|
|||
|
||||
And if networking is included:
|
||||
|
||||
CONFIG_NETUTILS_UIPLIB=y
|
||||
CONFIG_NETUTILS_NETLIB=y
|
||||
CONFIG_NETUTILS_DHCPC=y
|
||||
CONFIG_NETUTILS_DNSCLIENT=y
|
||||
CONFIG_NETUTILS_TFTPC=y
|
||||
|
|
@ -1220,7 +1220,7 @@ examples/poll
|
|||
provide the following definition in the defconfig file to enable the
|
||||
UIP library:
|
||||
|
||||
CONFIG_NETUTILS_UIPLIB=y
|
||||
CONFIG_NETUTILS_NETLIB=y
|
||||
|
||||
examples/posix_spawn
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
@ -1451,7 +1451,7 @@ examples/sendmail
|
|||
Applications using this example will need to enble the following
|
||||
netutils libraries in their defconfig file:
|
||||
|
||||
CONFIG_NETUTILS_UIPLIB=y
|
||||
CONFIG_NETUTILS_NETLIB=y
|
||||
CONFIG_NETUTILS_SMTP=y
|
||||
|
||||
examples/serialblaster
|
||||
|
|
@ -1552,7 +1552,7 @@ examples/telnetd
|
|||
tiny shell and also supports telnetd.
|
||||
|
||||
CONFIG_EXAMPLES_TELNETD - Enable the Telnetd example
|
||||
CONFIG_NETUTILS_UIPLIB, CONFIG_NETUTILS_TELNED - Enable netutils
|
||||
CONFIG_NETUTILS_NETLIB, CONFIG_NETUTILS_TELNED - Enable netutils
|
||||
libraries needed by the Telnetd example.
|
||||
CONFIG_EXAMPLES_TELNETD_DAEMONPRIO - Priority of the Telnet daemon.
|
||||
Default: SCHED_PRIORITY_DEFAULT
|
||||
|
|
@ -1590,7 +1590,7 @@ examples/thttpd
|
|||
Applications using this example will need to enable the following
|
||||
netutils libraries in the defconfig file:
|
||||
|
||||
CONFIG_NETUTILS_UIPLIB=y
|
||||
CONFIG_NETUTILS_NETLIB=y
|
||||
CONFIG_NETUTILS_THTTPD=y
|
||||
|
||||
examples/tiff
|
||||
|
|
@ -1668,7 +1668,7 @@ examples/udp
|
|||
Applications using this example will need to enabled the following
|
||||
netutils libraries in the defconfig file:
|
||||
|
||||
CONFIG_NETUTILS_UIPLIB=y
|
||||
CONFIG_NETUTILS_NETLIB=y
|
||||
|
||||
examples/uip
|
||||
^^^^^^^^^^^^
|
||||
|
|
@ -1707,7 +1707,7 @@ examples/uip
|
|||
Applications using this example will need to enable the following
|
||||
netutils libraries in their defconfig file:
|
||||
|
||||
CONFIG_NETUTILS_UIPLIB=y
|
||||
CONFIG_NETUTILS_NETLIB=y
|
||||
CONFIG_NETUTILS_DHCPC=y
|
||||
CONFIG_NETUTILS_DNSCLIENT=y
|
||||
CONFIG_NETUTILS_WEBSERVER=y
|
||||
|
|
@ -1930,7 +1930,7 @@ examples/wget
|
|||
Applications using this example will need to enable the following netutils
|
||||
libraries in the defconfig file:
|
||||
|
||||
CONFIG_NETUTILS_UIPLIB=y
|
||||
CONFIG_NETUTILS_NETLIB=y
|
||||
CONFIG_NETUTILS_DNSCLIENT=y
|
||||
CONFIG_NETUTILS_WEBCLIENT=y
|
||||
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@
|
|||
#include <arpa/inet.h>
|
||||
|
||||
#include <apps/netutils/telnetd.h>
|
||||
#include <apps/netutils/uiplib.h>
|
||||
#include <apps/netutils/netlib.h>
|
||||
|
||||
#include "shell.h"
|
||||
#include <apps/nsh.h>
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@
|
|||
#include <netinet/in.h>
|
||||
|
||||
#include <apps/netutils/telnetd.h>
|
||||
#include <apps/netutils/uiplib.h>
|
||||
#include <apps/netutils/netlib.h>
|
||||
|
||||
#include "telnetd.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
#include <arpa/inet.h>
|
||||
#include <net/if.h>
|
||||
|
||||
#include <apps/netutils/uiplib.h>
|
||||
#include <apps/netutils/netlib.h>
|
||||
#include <apps/netutils/dhcpd.h>
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@
|
|||
#include <nuttx/net/uip.h>
|
||||
#include <nuttx/net/arp.h>
|
||||
|
||||
#include <apps/netutils/uiplib.h>
|
||||
#include <apps/netutils/netlib.h>
|
||||
#include <apps/netutils/discover.h>
|
||||
|
||||
#ifdef CONFIG_EXAMPLES_DISCOVER_DHCPC
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
|
||||
#include <netinet/in.h>
|
||||
|
||||
#include <apps/netutils/uiplib.h>
|
||||
#include <apps/netutils/netlib.h>
|
||||
#include <apps/netutils/ftpd.h>
|
||||
|
||||
#include "ftpd.h"
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@
|
|||
|
||||
#include <net/if.h>
|
||||
#include <nuttx/net/uip.h>
|
||||
#include <apps/netutils/uiplib.h>
|
||||
#include <apps/netutils/netlib.h>
|
||||
#include <apps/netutils/ipmsfilter.h>
|
||||
|
||||
#include "igmp.h"
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
|
||||
#include <net/if.h>
|
||||
#include <nuttx/net/uip.h>
|
||||
#include <apps/netutils/uiplib.h>
|
||||
#include <apps/netutils/netlib.h>
|
||||
|
||||
#include "nettest.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@
|
|||
#include <debug.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <apps/netutils/uiplib.h>
|
||||
#include <apps/netutils/netlib.h>
|
||||
|
||||
#include "poll_internal.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@
|
|||
#include <debug.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <apps/netutils/uiplib.h>
|
||||
#include <apps/netutils/netlib.h>
|
||||
|
||||
#include "poll_internal.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
#include <errno.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <apps/netutils/uiplib.h>
|
||||
#include <apps/netutils/netlib.h>
|
||||
#include <apps/netutils/smtp.h>
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@
|
|||
#include <nuttx/net/uip.h>
|
||||
#include <nuttx/net/arp.h>
|
||||
|
||||
#include <apps/netutils/uiplib.h>
|
||||
#include <apps/netutils/netlib.h>
|
||||
|
||||
#ifdef CONFIG_EXAMPLES_TCPECHO_DHCPC
|
||||
# include <arpa/inet.h>
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@
|
|||
#include <arpa/inet.h>
|
||||
|
||||
#include <apps/netutils/telnetd.h>
|
||||
#include <apps/netutils/uiplib.h>
|
||||
#include <apps/netutils/netlib.h>
|
||||
|
||||
#include "telnetd.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@
|
|||
#include <netinet/ether.h>
|
||||
|
||||
#include <nuttx/net/arp.h>
|
||||
#include <apps/netutils/uiplib.h>
|
||||
#include <apps/netutils/netlib.h>
|
||||
#include <apps/netutils/thttpd.h>
|
||||
|
||||
#include <nuttx/fs/ramdisk.h>
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
#include <debug.h>
|
||||
|
||||
#include <nuttx/net/uip.h>
|
||||
#include <apps/netutils/uiplib.h>
|
||||
#include <apps/netutils/netlib.h>
|
||||
|
||||
#include "udp-internal.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@
|
|||
#include <nuttx/net/uip.h>
|
||||
#include <nuttx/net/arp.h>
|
||||
|
||||
#include <apps/netutils/uiplib.h>
|
||||
#include <apps/netutils/netlib.h>
|
||||
|
||||
#ifdef CONFIG_EXAMPLES_UIP_DHCPC
|
||||
#include <arpa/inet.h>
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ BIN = wget
|
|||
|
||||
HOSTCFLAGS += -DCONFIG_WEBCLIENT_HOST=1
|
||||
HOSTCFLAGS += -I. -include hostdefs.h
|
||||
VPATH = $(TOPDIR)/netutils/webclient:$(TOPDIR)/netutils/uiplib:.
|
||||
VPATH = $(TOPDIR)/netutils/webclient:$(TOPDIR)/netutils/netlib:.
|
||||
|
||||
all: $(BIN)
|
||||
.PHONY: clean context clean_context distclean
|
||||
|
|
@ -56,8 +56,8 @@ apps/netutils:
|
|||
apps/netutils/webclient.h: apps/netutils $(TOPDIR)/include/apps/netutils/webclient.h
|
||||
@cp -a $(TOPDIR)/include/apps/netutils/webclient.h apps/netutils/.
|
||||
|
||||
apps/netutils/uiplib.h: apps/netutils $(TOPDIR)/include/apps/netutils/uiplib.h
|
||||
@cp -a $(TOPDIR)/include/apps/netutils/uiplib.h apps/netutils/.
|
||||
apps/netutils/netlib.h: apps/netutils $(TOPDIR)/include/apps/netutils/netlib.h
|
||||
@cp -a $(TOPDIR)/include/apps/netutils/netlib.h apps/netutils/.
|
||||
|
||||
nuttx:
|
||||
@mkdir nuttx
|
||||
|
|
@ -65,7 +65,7 @@ nuttx:
|
|||
nuttx/config.h: nuttx
|
||||
@touch nuttx/config.h
|
||||
|
||||
headers: apps/netutils/webclient.h apps/netutils/uiplib.h nuttx/config.h
|
||||
headers: apps/netutils/webclient.h apps/netutils/netlib.h nuttx/config.h
|
||||
|
||||
$(BIN): headers $(OBJS)
|
||||
$(HOSTCC) $(HOSTLDFLAGS) $(OBJS) -o $@
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@
|
|||
|
||||
#include <nuttx/net/uip.h>
|
||||
|
||||
#include <apps/netutils/uiplib.h>
|
||||
#include <apps/netutils/netlib.h>
|
||||
#include <apps/netutils/dnsclient.h>
|
||||
#include <apps/netutils/webclient.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
#include <errno.h>
|
||||
#include <debug.h>
|
||||
|
||||
#include <apps/netutils/uiplib.h>
|
||||
#include <apps/netutils/netlib.h>
|
||||
#include <apps/netutils/webclient.h>
|
||||
#include <apps/netutils/cJSON.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@
|
|||
#include <nuttx/net/uip.h>
|
||||
#include <nuttx/net/arp.h>
|
||||
|
||||
#include <apps/netutils/uiplib.h>
|
||||
#include <apps/netutils/netlib.h>
|
||||
#include <apps/netutils/xmlrpc.h>
|
||||
|
||||
#ifdef CONFIG_EXAMPLES_XMLRPC_DHCPC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue