Gregory Nutt
8d96448a88
Correct a typo in some C comments.
2018-02-09 11:15:35 -06:00
Masayuki Ishikawa
14959b43e0
apps/netutils/netlib: Add default route in netlib_set_dripv4addr()
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2018-01-19 09:06:55 +09:00
Gregory Nutt
6b9d23c6aa
Correct and standardize some naming used in the previous commits.
2017-10-30 14:16:37 -06:00
Gregory Nutt
27773d570b
Fix a copy-paste error
2017-09-20 10:59:00 -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
fb804e3498
netlib_ipv[4|6]adaptor: Add a check to handle the case where the network device configuration changed asynchronously and the second IOCTL returns more data than the allocated buffer.
2017-09-20 06:52:05 -06:00
Gregory Nutt
2cd27e17a1
Update some comments.
2017-09-19 17:07:02 -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
6cbf2b9130
Squashed commit of the following:
...
commit 6fbbca4ce308f5d8130d795342c7639555a7e5bf
Author: Gregory Nutt <gnutt@nuttx.org>
Date: Sat Aug 19 08:46:27 2017 -0600
apps/examples/pf_ieee802154: Add PANID to command line options; Cannot bind to address zero... There is no counterpart to INADDR_ANY for these radios (not now at least).
commit 354111108a88f549248537e79dbf79998f458ded
Author: Gregory Nutt <gnutt@nuttx.org>
Date: Fri Aug 18 17:47:10 2017 -0600
PF_IEEE802154: A few bugfixes
commit f1bb947609ed5e9e8816234653d6c8ee24585079
Author: Gregory Nutt <gnutt@nuttx.org>
Date: Fri Aug 18 15:17:32 2017 -0600
Add file missed in last commit
commit 9a73930e864db83609b5cc0d7c940d8efeaade66
Merge: 315b888f c433e07a
Author: Gregory Nutt <gnutt@nuttx.org>
Date: Fri Aug 18 12:08:03 2017 -0600
Merge remote-tracking branch 'origin/master' into pf_ieee802154
commit 315b888f4e72523d90b526edc5a82fb97678ff7e
Author: Gregory Nutt <gnutt@nuttx.org>
Date: Fri Aug 18 12:06:51 2017 -0600
examples/pf_ieee802154: Add for testing PF_IEEE802154 sockets.
2017-08-19 08:47:35 -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
ea95f710db
netutils/netlib: Eliminate a warning
2017-08-05 09:27:11 -06:00
Gregory Nutt
3b8c97747d
netutils/netlib: Fix netlib_nodaddrconv() so that its return type is the same as other address conversion functions. NSH: Correct parsing of ifconfig so that you can specify the HW address without specifying the IP address.
2017-08-02 14:30:34 -06:00
Gregory Nutt
c343fc618e
apps/netutils/netlib: Add support for PktRadio IOCTL commands.
2017-08-02 12:40:50 -06:00
Gregory Nutt
234afcd85b
netutils/netlib: Fixes to work when only USRSOCK is enabled.
2017-07-14 16:22:14 -06:00
Gregory Nutt
7441c5422f
Socket I/F: Cleanup for good CONFIG_NET_PKT build.
2017-07-14 13:43:04 -06:00
Gregory Nutt
47aed25836
Fixes to get apps/examples/udgram building again.
2017-07-14 11:35:26 -06:00
Anthony Merlino
c2ad1d2d1c
Switches IEEE 802.15.4 based code to using byte arrays instead of uint16_t values for short address and PAN ID
2017-06-19 05:56:52 -04:00
Gregory Nutt
2bb14d854d
L should be capitalized in 6LoWPAN
2017-06-18 16:02:11 -06:00
Gregory Nutt
14b10bffef
Add missing that I forgot to add in a previous commit.
2017-06-17 11:32:00 -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
Juha Niskanen
0bcd50d7a1
apps/: Make more globals static to avoid name clashes
2017-05-19 07:13:12 -06:00
Anthony Merlino
3b824ed5a2
wireless/ieee802154: Removes libradio to coincide with removal of ioctl with radio
...
Moves all functionality from libradio to libmac
2017-05-05 11:13:38 -04:00
Gregory Nutt
44ace8e1cc
6loWPAN: Replace some Rime address naming with more consistent short/exended address terminology
2017-05-04 08:21:12 -06:00
Gregory Nutt
0d1a7d1e18
Merge branch 'ieee802154' of https://bitbucket.org/nuttx/apps into ieee802154
2017-04-26 15:18:05 -06:00
Gregory Nutt
b9a552013f
wireless/wapi: Improve error reporting IOCTL failures.
2017-04-26 12:34:50 -06:00
Gregory Nutt
fc4e819d21
Various fixes for problems discovered in testing.
2017-04-21 16:24:28 -06:00
Gregory Nutt
450f962602
netlib: Get and/or set PAN ID of IEEE 802.15.4 radio.
2017-04-21 14:55:24 -06:00
Gregory Nutt
adc1b27051
Remove the 6loWPAN PANID IOCTLs they are redundant.
2017-04-21 14:12:46 -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
2cbad44f1d
This is the Pokemon patch to change all includes fronm <apps/bla/bla.h> to "bla/bla.h"
2016-07-11 10:11:18 -06:00
Gregory Nutt
a50383db3d
apps/graphics and netutils: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
2016-06-14 17:53:47 -06:00
Gregory Nutt
586b0aa7e0
Change names of *dbg() * *err()
2016-06-11 15:51:27 -06:00
Gregory Nutt
344c92e2a4
Replace all occurrences of vdbg with vinfo
2016-06-11 11:55:38 -06:00
Sebastien Lorquet
bfff5e7179
Add empty preconfig rules to 'leaf' makefiles
2016-06-02 16:24:30 +02:00
Sebastien Lorquet
9a406515d7
make the full tree use wildcards make.defs
2016-06-02 16:21:21 +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
b8c8bea22c
Add an 'arp' command to NSH to support access to the OS ARP table
2016-02-08 14:49:05 -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
b5c5055c41
NSH: Remove partial implementation of the use of IOBJ/IPTR in NSH. There are some complications
2016-01-17 07:53:52 -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
449af751a8
Eliminate a warning
2015-12-05 10:36:19 -06:00
Gregory Nutt
f6e7e9c1c0
Standardize the width of all comment boxes in C files
2015-10-03 07:20:15 -06:00
Librae
46b257c945
netutils: fix a typo while validating addrlen
2015-07-24 02:26:54 +08:00
Gregory Nutt
7e43ffa602
Fix a bad function prototype introduced in a previous commit
2015-07-12 13:42:28 -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
d5b6949c9f
Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation
2015-06-28 08:14:53 -06:00
Gregory Nutt
5ca324cad8
Add some missing dependencies in Kconfig files
2015-03-29 15:52:46 -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
0ee67383d5
Add an ioctal() that can be used to perform ICMPv6 auto-configuration
2015-02-03 08:54:42 -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
c96aa9218a
Correct name of fields in struct sockaddr_in6: sin6_port and sin6_family, not sin_port and sin_family
2015-01-20 18:14:09 -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
f0b4b9cc45
Networking: Fix some problems with debug is enabled; fix a warning
2015-01-19 10:16:37 -06:00
Gregory Nutt
5741e70eb9
apps/netutils/netlib: Add new library functions to manipulate IPv6 addresses
2015-01-18 15:56:14 -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
cca428102d
Trivial typo
2014-10-18 09:47:17 -06:00
Gregory Nutt
b5cb66927d
Fix memcpy of host address in netlib_gethostaddr(). From Brennan Ashton
2014-10-17 16:53:15 -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
39cd029b28
Cosmetic
2014-08-17 09:46:42 -06:00
Gregory Nutt
767f1b2993
Fix netutils configuration issues: CONFIG_NETUTILS_HTTPD_SENDFILE was missing from Kconfig; CONFIG_NET_HAVE_SOLINGER should be CONFIG_NET_SOLINGER; Type of CONFIG_NET_HTTPD_MAXPATH was wrong in Kconfig file. From Max
2014-07-11 12:30:23 -06:00
Gregory Nutt
069c43a5dd
Remove all inclusion of uip.h
2014-07-04 16:58:22 -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