Xiang Xiao
66dbaa4539
Replace self defined macros with NET_SOCK_[FAMILY|TYPE|PROTOCOL]
...
NET_SOCK_* is defined by nuttx/net/netconfig.h and then can be shared
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-12-20 16:04:29 -03:00
Alin Jerpelea
4f3f62c8fc
nshlib: update licenses to Apache
...
Gregory Nutt is has submitted the SGA
Uros Platise has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-11 02:42:05 -05:00
Anthony Merlino
267aba6467
addroute: inet_pton cannot accept slash notation. We must fixup the argument before calling.
2021-04-23 03:27:40 -05:00
Subhra Sankha Sarkar
3b884cfb87
Fixing coding style issues for rest of nshlib directory - except for the false +ve nsh_timcmds.c
2020-11-02 13:30:18 +01:00
Anthony Merlino
7cde7e921d
Merged in antmerlino/apps/addroute-default-gw (pull request #166 )
...
addroute: Adds command for setting default gateway. addroute default <ipaddr> <interface>
Approved-by: GregoryN <gnutt@nuttx.org>
2019-01-13 14:20:15 +00:00
GregoryN
3bf4b6d245
Merged altconsole into master
2018-12-08 18:53:54 -06:00
Dmitriy Linikov
dea8d93f64
Merged in hardlulz/modem-3.0-nuttx-apps/fix-compile-nsh_routecmds (pull request #118 )
...
Fixed the compilation of nsh_routecmds.c, broken after commit 6b9d23c6aa
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-03 12:28:19 +00:00
Gregory Nutt
20076688c2
nshlib: mount command no long uses the non-standard OS interface foreach_mountpoint(). No simply cats /proc/fs/mount when there are no arguments to the mount command.
2017-10-26 12:17:03 -06:00
Gregory Nutt
7a7c7ee93a
Update README and fix some conditional compilation from the last commit.
2017-08-11 15:56:53 -06:00
Gregory Nutt
5dcf5620e3
NSH Library: Add a route command that will dump the content of routing table.
2017-08-11 15:33:26 -06:00
Gregory Nutt
1e23b30afe
more issues with last change: netmask must be in network order.
2017-08-10 16:08:09 -06:00
Gregory Nutt
654d526a69
NSH addroute/delroute: Fix an indexing problem introduced with previous commit.
2017-08-10 11:40:12 -06:00
Gregory Nutt
52e4da1e41
NSH addroute and delroute: All expression of the netmask in IPv4 CIDR or IPv6 slash notation. This really reduces the pain of using the commands, especially for IPv6.
2017-08-10 10:30:20 -06:00
Gregory Nutt
f58768db3d
NSH library: Update addroute and delroute command. The would support either IPv4 or IPv6, but not both.
2017-08-10 09:15:44 -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
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
7c7a81aa69
Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate new CONFIG_BUILD_KERNEL
2014-08-29 14:47:22 -06:00
Gregory Nutt
633fae427d
NET: emoved all includes of uip.h; added includes of ip.h wherever needed. Tried to fix problems of the now missing sneak inclusions because uip.h was removed. There are probably a few of these that were missed.
2014-07-04 19:13:08 -06:00
Gregory Nutt
2ee5041477
NET: Rename uiplib/UIPLIB to netlib/NETLIB
2014-07-02 16:04:25 -06:00
Gregory Nutt
ff88e86ef2
Add NSH addroute and delroute commands
2013-10-05 15:42:20 -06:00