Commit Graph

30208 Commits

Author SHA1 Message Date
Gregory Nutt
2d6868d9d4 IP forward: ipfwd_dropstats needs to include errno.h 2017-07-10 11:48:49 -06:00
Gregory Nutt
6df0ca5923 Fix some errors in ipforward.h when CONFIG_NET_STATISTICS is enabled, but CONFIG_NETDEV_MULTINIC is not 2017-07-10 11:37:06 -06:00
Gregory Nutt
994019d9be Missing #endif 2017-07-10 11:15:17 -06:00
Gregory Nutt
1bc0eea143 tools/tesbuild.sh: Fix missing $ before variable name. 2017-07-10 10:39:31 -06:00
Gregory Nutt
a49ec44427 tools/refresh.sh: Now runs make savedefconfig before copying the new defconfig file in place; Also, added a new option --defaults. Since the number of defaults that you now have to answer is so large, the option lets you just accept the default values. So it works just like --slilent but still prompts you for the decision to save or discard the new defconfig file. 2017-07-10 09:53:55 -06:00
Gregory Nutt
ef1eb97660 Update configure.sh, configure.bat, configure.c: With compressed format, part of the installation requires that we run 'make olddefconfig' to restore the uncompressed defconfig format. Also, while I was at it, I also added options to select host platform on configure command line. 2017-07-10 09:38:45 -06:00
Gregory Nutt
36a30b26a6 Last of the conversions of defconfig files to compressed format. 2017-07-09 20:49:07 -06:00
Gregory Nutt
5a9eebe270 More conversions of defconfig files to compressed format. All but Windows native configurati9ons. 2017-07-09 20:05:59 -06:00
Gregory Nutt
422888733b More conversions of defconfig files to compressed format. Not yet finished. 2017-07-09 19:25:19 -06:00
Gregory Nutt
90f38af8dc More conversions of defconfig files to compressed format. Not yet finished. 2017-07-09 18:48:28 -06:00
Gregory Nutt
771cbc8e3a Partial conversion of defconfig files to compressed format 2017-07-09 18:24:03 -06:00
Gregory Nutt
c6b61b0882 Makefile.*: Add CONFIG_ARCH_CHIP_* definitions to defconfig in savedefconfig target. 2017-07-09 17:08:51 -06:00
Gregory Nutt
81dcb98104 Fix a compile problem when IP forwarding of broadcast messages is enabled. 2017-07-09 11:53:28 -06:00
Simon Piriou
99c432c140 configs/b-l475e-iot01a: Add basic support for the STMicro b-l475e-iot01a board 2017-07-09 11:48:28 -06:00
Gregory Nutt
975473fed8 ICMPv6: Add 6LoWPAN and IP forwarding support. 2017-07-09 11:35:26 -06:00
Gregory Nutt
9db4350097 Update some comments 2017-07-08 13:03:58 -06:00
Gregory Nutt
7fb1cb36f2 Networking routing tables: Fix a compilation error when IPv6 and routing are enabled. 2017-07-08 11:58:19 -06:00
Gregory Nutt
db278d1f4e net/procfs: Fix some spacing when both IPv6 and IPv4 are enabled. 2017-07-08 11:39:59 -06:00
Gregory Nutt
ec01bc411c Update Document and README. 2017-07-08 10:34:06 -06:00
Gregory Nutt
bea75baaab IP forwarding: Two bugfixes (1) IPFWD poll event must be unique and different from other device poll events otherwise, some other waiting task might get the poll, (2) Add logic necessary to forward 6LoWPAN packets. 2017-07-08 09:56:08 -06:00
Gregory Nutt
25abbf7b17 Add Gwenhael's change to Makefile.win and update README.txt to described the new make target. 2017-07-08 06:55:50 -06:00
Gwenhael Goavec-Merou
c78f5f3cd6 Makefile.unix: Add savedefconfig target. 2017-07-08 06:19:29 -06:00
Gregory Nutt
2d3e651cbb IP forwarding: Remove some unnecessary data structure definitions. 2017-07-07 21:32:10 -06:00
Gregory Nutt
aa2e9c15a5 IP forwarding: Major rearchitecting of the outgoing portion of the IP forwarding logic necessary into to properly received device-related forwarding events. 2017-07-07 20:19:26 -06:00
Gregory Nutt
803235ad4b IP forwaring: Rename some files to get closer to other naming conventions. 2017-07-07 18:45:58 -06:00
Gregory Nutt
7258f1cbfc IP forwarding: Move to separate directory. A few fixes from early testing; In TUN driver, do all polling on worker thread. Otherwise, the stack gets very deep. 2017-07-07 18:33:06 -06:00
Gregory Nutt
99ef7c6669 IP forwarding: A few fixes from early testing; In TUN driver, do all polling on worker thread. Otherwise, the stack gets very deep. 2017-07-07 17:33:44 -06:00
Gregory Nutt
d61b551bca sim/ipforward: Add an IP forwarding configuration using TUN devices and apps/examples/tun 2017-07-07 13:06:25 -06:00
Gregory Nutt
cc3d374d4d Merge branch 'master' of bitbucket.org:nuttx/nuttx 2017-07-07 13:03:51 -06:00
Gregory Nutt
b29c99fa6f Move TUN ioctl commnd to include/nuttx/net/ioctl.h so that it will always be unique. It a error in netdev_register: it was not handling device names properly when TUN is the only network device. 2017-07-07 13:03:04 -06:00
Simon Piriou
cf5d1cb00d Networking: Fix typo in netconfig.h 2017-07-07 12:05:33 -06:00
Gregory Nutt
fcb91c84f0 Merge remote-tracking branch 'origin/master' into ipforward 2017-07-07 11:32:33 -06:00
Gregory Nutt
570904375a Add definitions that will permit TUN-only networking. 2017-07-07 10:30:24 -06:00
Gregory Nutt
1bddccbc3c Update some board README files 2017-07-07 09:04:09 -06:00
Gregory Nutt
8d81b35c44 network: Correct some issues that prevent TCP from working correctly when both IPv4 and IPv6 are enabled. 2017-07-07 08:50:01 -06:00
Gregory Nutt
b4a0ac53a8 Networking: Improve naming and simplify some logic of previous commit. 2017-07-07 06:51:52 -06:00
Gregory Nutt
70c6b52132 ICMPv6: Fix an address size calculation that was bungled in a recent commit. 2017-07-06 19:37:01 -06:00
Gregory Nutt
db69e4b09c Another IP forwarding design simplification: Remove an unnecessary field from state structure. 2017-07-06 16:51:08 -06:00
Gregory Nutt
b5d7187df6 IP forwarding design simplication; might save some memory. Also fix some compile issues introduce with last commit in MULTINIC configration. 2017-07-06 16:19:10 -06:00
Jeff
6c5e0d870c configs/Board.mk: Remove quotes from CONFIG_ARCH_FAMILY. Causes problems with Windows native build. 2017-07-06 14:04:11 -06:00
Gregory Nutt
9794672c02 Forgot to add a file before the last commit 2017-07-06 14:03:04 -06:00
Gregory Nutt
f323f75887 IPv6 Neighbor: Update table format to support IEEE 802.15.4 MAC addresses. 2017-07-06 13:36:59 -06:00
Gregory Nutt
a5f361e984 ICMPv6: Fix so that ICMPv6 can be used with 6LoWPAN. 2017-07-06 12:00:59 -06:00
Gregory Nutt
76587b2c6f STM32 Kconfig: 'unfold' some of the dependencies to provide better long term configuration support. This also effective reverts the recent 15b85738e7 2017-07-06 10:34:54 -06:00
Gregory Nutt
47be509d79 Rename CONFIG_STM32_STM32F40XX to CONFIG_STM32_STM32FXXXX since it is used by F4 parts other than F40x 2017-07-06 10:20:14 -06:00
gwenhael.goavec
15b85738e7 In arch/arm/src/stm32/Kconfig when the CPU is a STM32F4, some STM32_HAVE_xx with xx = {OTGFS, TIM3, TIM4, SPI3, I2S3, I2C3} are selected by default. But for F410 these peripherals are absent. This change add tests to check if the target CPU is an F410 or not and selects according to the situation. This also adds a select for STM32_HAVE_DAC1 present on this STM32 flavor. 2017-07-06 09:52:21 -06:00
Gregory Nutt
94f26828e9 Fix a TTL-related issue introduced with last commit. 2017-07-06 09:45:52 -06:00
Julien Lecoeur
165ee0027a Eliminate a warning with arm-none-eabi-gcc 7.1.0 2017-07-06 08:32:51 -06:00
Masayuki Ishikawa
57ed574f70 Merged in masayuki2009/nuttx.nuttx/network_test (pull request #427)
FS: Remove DEBUGASSERT() in block_proxy() because the flags are cleared later.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-07-06 14:26:15 +00:00
Gregory Nutt
efdc5b0c29 IP forwarding: Add missing ICMP support. 2017-07-06 07:49:55 -06:00