Commit Graph

30173 Commits

Author SHA1 Message Date
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
Gregory Nutt
04716a65a5 IP forwading: Add optional support to forward broadcast and multicast packets. 2017-07-06 07:26:01 -06:00
Gregory Nutt
24e9647156 net/Kconfig: IP forwarding no long depends on only IPv6. Also update Kconfig comments. 2017-07-05 16:35:14 -06:00
Gregory Nutt
b297066eb9 IP Forwarding: Add IPv4 packet forwarding logic. Initial commit is an untested clone of the IPv6 forwarding logic with a few minor logic changes for IPv4. 2017-07-05 15:12:29 -06:00
Gregory Nutt
edf16c5805 IP forwarding: In check it the Ethernet MAC address is in the ARP/Neighbor table, add an additional check to skip in the case of CONFIG_NET_MULTILINK and the devices is not an Ethernet device. 2017-07-05 12:40:26 -06:00
Jeff
10f5f8f192 configs/Board.mk: Remove comment form end of line. In windows native build, it appears to be trying to make that an extra parameter to the AR command 2017-07-05 11:38:37 -06:00
Gregory Nutt
31f832d8c5 IP forwarding: Flesh out TCP, UDP, and ICMPv6 packet forwarding logic. 2017-07-05 11:01:16 -06:00
Gregory Nutt
65c3fa6375 net/udp: Fix a copy-paste error that could effect networking when both IPv4 and IPv6 are enabled. 2017-07-05 07:27:17 -06:00
Gregory Nutt
ffae9f0251 include/nuttx/input: Remove bogus, obsolete keypad.h header file. 2017-07-04 15:58:39 -06:00
Jan Pobrislo
7999822189 I've found that the interrupts aren't enabled since nothing updates them after btn_poll() marks the file descriptor structure as being polling. I've managed to make it work with this change. 2017-07-04 14:43:19 -06:00
Gregory Nutt
f07420dedf SAME70-Xplained: Add MRF24J40 support. 2017-07-04 14:31:26 -06:00
Gregory Nutt
5e617f8410 UDP networking: The TTL (time to live) was not being set in the IPv4 or IPv6 header unless the UDP socket was bound. 2017-07-04 12:05:21 -06:00
Gregory Nutt
c0c275c8fc IP forwarding. Adds a little more structure to handle passing packets received on one network device to another network device. Logic is still incomplete. 2017-07-04 10:19:52 -06:00
Gregory Nutt
59cb2a280b Merge remote-tracking branch 'origin/master' into ipforward 2017-07-04 07:21:50 -06:00
Gregory Nutt
32a96bda6d IPv6 forwarding logic must decrement the TTL and drop the packet if the hop limit is exceeded. 2017-07-04 07:05:42 -06:00
Masayuki Ishikawa
5efd942396 FS: Remove DEBUGASSERT() in block_proxy() because the flags are cleared later. 2017-07-04 10:56:54 +09:00
Gregory Nutt
eba16af7ba Adds a little more IP foward framework 2017-07-03 16:22:57 -06:00
Gregory Nutt
856d7e73b7 Some compile time fixes 2017-07-03 16:22:25 -06:00
Gregory Nutt
eafcf4d059 Clean up some conditional logic 2017-07-03 16:02:59 -06:00
Gregory Nutt
83a875f394 IP forwarding: Add some fragments of TCP forwarding logic. 2017-07-03 15:58:01 -06:00
Gregory Nutt
81cd76484f Add some partial IP forwarding logic. 2017-07-03 15:34:28 -06:00
Gregory Nutt
5060a7cdf2 samv71-xult/mrf24j40: Add reset logic (but comment out because it is not necessary) 2017-07-03 13:00:30 -06:00
Gregory Nutt
72c4f12286 samv71-xult/mrf24j40-starhub: Reset pins backward; update README. 2017-07-03 12:37:37 -06:00
Gregory Nutt
445af2e5a0 samv71-xult/mrf24j40-starhub: Should have pull-ups on interrupting inputs. 2017-07-03 12:06:17 -06:00
Gregory Nutt
3b697327cc samv71-xult/mrf24j40-starhub: Fix MRF24J40 interrupt pin. 2017-07-03 11:51:39 -06:00
Eetu Nevalainen
21dcc8cbc7 stm32f40xxx_rtcc ISR register and write protection fix 2017-07-03 11:06:07 -06:00
Gregory Nutt
68315b7444 Merged clang into master 2017-07-03 07:04:57 -06:00
Gregory Nutt
e76c9875a4 Make.defs edited online with Bitbucket 2017-07-03 13:04:38 +00:00
Gregory Nutt
057b438499 samv71-xult/mrf24j40-starhub: Disabled CONFIG_BOARD_INITIALIZE; Correct MRF24J40 interrupt edge. 2017-07-03 06:56:47 -06:00
Gregory Nutt
acb0dcecac samv71-xult: Fix a typo in MRF24J40 initialization. 2017-07-02 18:36:55 -06:00
Gregory Nutt
56801c3389 samv71-xult: Fix SP0 vs. TWHS0 in mrf24j40-starhub/defconfig; fix copy-paste errors in SPI initialization logic. 2017-07-02 18:33:31 -06:00
Jan Pobrislo
a8f43e1216 stm32f4 discovery: Add logic to register the button driver and the user led driver if so configured 2017-07-02 16:40:11 -06:00
Gregory Nutt
41d4958a77 Add missing MRF24J40 bring-up logic 2017-07-02 15:01:11 -06:00
Gregory Nutt
634b13c143 samv71-xult/mrf24j40-starhub: Tweaks to defconfig 2017-07-02 14:25:51 -06:00
Gregory Nutt
7d7fd9112d samv71-xult/mrf24j40-starhub: Put the serial console on UART3, i.e., on a Arduino serial shield. 2017-07-02 13:06:23 -06:00