Xiang Xiao
deaa6c5b7b
build: Replace $(TOPDIR)/Make.defs with $(APPDIR)/Make.defs
...
and move NUTTXLIB defintion to the common place
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-09 15:17:37 -03:00
Xiang Xiao
ead498a788
build: Remove the workaround for the inexistence of .config/Make.defs
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-21 17:43:42 +01:00
Gregory Nutt
438777cd38
netutils/netlib/netlib_getroute.c: Add function to retrieve routing tables using netlink.
2019-11-10 12:36:34 -06:00
Gregory Nutt
e260ea779c
apps/netutils/netlib/netlib_getnbtab.c: Add a utility function that will return a list of all network devices in the UP state.
2019-11-09 17:38:02 -06:00
Gregory Nutt
2507cc15e8
netutils/netlib/netlib_getnbtab.c: Add support for retrieving a snapshot of the IPv6 neighbor table using Netlink sockets.
2019-11-08 11:30:32 -06:00
Gregory Nutt
768218ee81
netutils/netlib/netlib_getarptab.c: Add a function to read the entire ARP tableusing NETLINK_ROUTE protocol.
2019-11-03 15:13:47 -06:00
Gregory Nutt
3a23523147
Makefiles: This reverts part of commit cf0365ea9
. It restores 'conditional' inclusion of TOPDIR/Make.defs. Otherwise all make targets fail if the board has not been configured. That is okay most of the time, but not for things like clean and distclean which should not depend on being configured.
2019-10-15 09:25:48 +08:00
Xiang Xiao
cf0365ea92
Clean up Makefile under apps folder no functional changes.
2019-10-04 08:35:46 -06:00
Sebastien Lorquet
fe0954cd62
netutils/netlib/netlib_parseurl.c: Add a more flexible version of netlib_parsehttpurl. This one can parse any URL, and is extensible so future improvements keep the same API.
2019-04-26 13:08:38 -06:00
anchao
b5cfd93444
apps/: Modification to build system: Unified application compilation rules
2018-09-03 09:29:56 -06:00
Gregory Nutt
dc5be379a9
Squashed commit of the following:
...
apps/netutils/netlib: netlib_ipv[4|6]adaptor() will now use the new routing table interfaces if they are available: If the desination IP address does not correspond to the network served by any device, then the address of the router that should get us to the correct sub-net is is determined. Then the network adaptor that can communicate with the that router has the IP address that will returned.
apps/netutils/netlib: Add new utilities netlib_ipv[4|6]router() that can be used to determine the IP address of a router that would be used some some destination IP address that is not locally accessible.
apps/netutils/netlib: Add helpers for reading the routing table: netlib_read_ipv4route() and netlib_read_ipv6route()
2017-09-20 10:35:56 -06:00
Gregory Nutt
450624c370
Squashed commit of the following:
...
netutils/netlib: Add netlib_ipv6adaptor()
netutils/netlib: Add netlib_ipv4adaptor()
2017-09-19 15:21:13 -06:00
Gregory Nutt
41ce937ed0
Changes to netlib and nsh so that you build build with PF_IEEE802154 enabled and 6LoWPAN disabled.
2017-08-20 09:09:47 -06:00
Gregory Nutt
c433e07a27
netutils/netlib: Add a help to decode short addresses.
2017-08-18 12:07:41 -06:00
Gregory Nutt
7a8561728c
The last change added .PRECIOUS: $(BIN) to everyway Makefile in hopes the libapps.a will not be deleted on Control-C (unproven so far). However, $(BIN) may contain back slashes in some build platforms and that causes problems for make: It can't handle the backslashes in the .PRECIOUS dependency list. $(BIN) replaced with ../../libapp.a, where the number of ../ depends on the depth of the Makefile in the apps/ source tree.
2017-08-13 11:03:17 -06:00
Gregory Nutt
a66da34f18
All Makefiles: Add .PRECIOUS: apps/libapps.a to every Makefile. Hopefully this will end awkward problems when you Control-C out of a build and libapps.a is deleted.
2017-08-13 09:35:14 -06:00
Gregory Nutt
c343fc618e
apps/netutils/netlib: Add support for PktRadio IOCTL commands.
2017-08-02 12:40:50 -06:00
Gregory Nutt
2bb14d854d
L should be capitalized in 6LoWPAN
2017-06-18 16:02:11 -06:00
Gregory Nutt
033b42789b
NSH: Fix some ieee 802.15.4 initialization logic. It should not set the saddr or panid; those cannot be hard-coded but must come from the coordinator.
2017-06-17 10:04:18 -06:00
Gregory Nutt
c2bdd49421
netlib and NSH: Add logic to set the IEEE802.15.4 PAN ID.
2017-04-19 18:10:39 -06:00
Gregory Nutt
8369052a22
NSH library: Extend ifconfig to support 6loWPAN. Adapt to some changes in configuration variable usage.
2017-04-08 12:21:40 -06:00
Gregory Nutt
ec6ff2791a
netutils: Add a helper function to convert a string to a 6loWPAN node address
2017-04-08 12:19:35 -06:00
Gregory Nutt
194c2d86a8
6loWPAN: Add network IOCTL support to set the node address
2017-04-06 16:00:41 -06:00
Gregory Nutt
84444e4dcc
netutils/nshlib: Add wrapper to get the wireless ESSID.
2017-03-13 14:16:26 -06:00
Gregory Nutt
0cb844e790
netutils/netlib: Add one wireless IOCTL wrapper. For now, this is just a test to be sure that the wireless IOCTL definitions are in place.
2017-03-13 10:16:20 -06:00
Sebastien Lorquet
bfff5e7179
Add empty preconfig rules to 'leaf' makefiles
2016-06-02 16:24:30 +02:00
Gregory Nutt
1482732f18
NetLib: Move functions in netlib.c to separate files; improve some naming
2016-02-08 16:09:24 -06:00
Gregory Nutt
3f95e05bc2
NetLib: Add utility functions to support access to the ARP table
2016-02-08 11:44:59 -06:00
Gregory Nutt
a88338b41a
Merge remote-tracking branch 'origin/master' into resolv.conf
2016-01-14 15:17:20 -06:00
Pelle Windestam
16c02a07d7
Add netlib_get_dripv4addr() and netlib_get_ipv4netmask()
2016-01-14 07:24:36 -06:00
Gregory Nutt
0d058af821
Step 1 in /etc/resolv.conf support
2016-01-13 15:08:59 -06:00
Gregory Nutt
ba72767d09
apps/netutils/netlib and other files: Create netlib wrapper functions around dns_getserver() and dns_setserver() to isolate application code from changes to those interfaces.
2015-07-12 11:53:23 -06:00
Gregory Nutt
d32e66b6a2
apps/netutils/netlib: Add utilities to convert to/from prefix lengths from/to 128-bit network masks. Modify the NSH IPv6 ifconfig command to show the network mask in a more standard, human readable way.
2015-02-06 10:23:15 -06:00
Gregory Nutt
5499189417
Add netlib and application hooks for ICMPv6 auto-configuration (still incomplete
2015-02-03 08:01:55 -06:00
Gregory Nutt
2668e34f5a
apps/netutils/netlib: All IOCTLs must use a valid address family -- even if the address family does not matter such as when getting the MAC address or the network flags
2015-01-19 11:41:46 -06:00
Gregory Nutt
953c0fb069
Rename IPv4 netlib functions and files to make room in the namespace for corresponding IPv6 functions and files
2015-01-18 14:17:00 -06:00
Gregory Nutt
f9074a02ad
Network: Various fixes for clean compile with both Ethernet and SLIP
2014-11-15 13:52:39 -06:00
Gregory Nutt
d6bcd1a93a
Add an install target to all makefiles. For the import build, the top-level Makefile now does two passes: (1) builds libapp.a, then (2) installs the programs (not yet finished)
2014-09-06 08:00:47 -06:00
Gregory Nutt
e7fedfa4a5
NET: Rename functions in apps/netutils/netlib to begin with netlib_ vs uip_
2014-07-02 16:52:02 -06:00
Gregory Nutt
d8e69bb0c1
Rename files apps/netutils/netlib/uip_*.c to apps/netutils/netlib/netlib_*.c
2014-07-02 16:16:51 -06:00
Gregory Nutt
2ee5041477
NET: Rename uiplib/UIPLIB to netlib/NETLIB
2014-07-02 16:04:25 -06:00