Gregory Nutt
|
42efcbe3a9
|
Merge remote-tracking branch 'origin/master' into beacon802154
|
2017-07-20 08:04:41 -06:00 |
|
Gregory Nutt
|
d595e0efdf
|
Network poll: Remove logic conditioned on non-existent HAVE_NET_POLL.
|
2017-07-19 06:23:56 -06:00 |
|
Gregory Nutt
|
747c79aa57
|
Merge remote-tracking branch 'origin/master' into beacon802154
|
2017-07-17 07:58:47 -06:00 |
|
Gregory Nutt
|
799b2d5671
|
Update comments.
|
2017-07-17 07:14:12 -06:00 |
|
Gregory Nutt
|
d9a2a3c3f1
|
Networking: When upd_input() cannot process a packet, it returns ERROR so that network drivers may try calling ipv4_input() later. In this case, it must also set d_len to zero. Otherwise, all network drivers will assume tht there is also an outgoing packet. This results in a gratuitous ARP.
|
2017-07-17 06:50:39 -06:00 |
|
Anthony Merlino
|
3158188846
|
ieee802154: Renaming of some fields
|
2017-07-17 01:20:01 -04:00 |
|
Gregory Nutt
|
1db918d947
|
Network Socket I/F: Eliminate a warning when 6LoWPAN is enabled.
|
2017-07-16 13:05:41 -06:00 |
|
Gregory Nutt
|
6537e4ea20
|
Socket I/F: Misc. fixes for compile errors/warnings going back to dual IPv4+IPv6 configuration.
|
2017-07-14 15:52:37 -06:00 |
|
Gregory Nutt
|
24dd6d2905
|
Socket I/F: More fixes for USRSOCK. The good link fooled me because a critical file was not included in the link.
|
2017-07-14 15:24:18 -06:00 |
|
Gregory Nutt
|
ef796b2d9e
|
Socket I/F: Misc clean-up to get a clean USRSOCK build.
|
2017-07-14 14:41:46 -06:00 |
|
Gregory Nutt
|
7259ed58eb
|
Socket I/F: Cleanup for good CONFIG_NET_PKT build.
|
2017-07-14 13:42:31 -06:00 |
|
Gregory Nutt
|
79a09bfd6e
|
Socket I/F: Fix bad copy-past error. sendto() was called the address family's send() instead of sendto().
|
2017-07-14 12:48:53 -06:00 |
|
Gregory Nutt
|
c964cd4612
|
Socket interface: Fix some configuration chaos. Sometime CONFIG_NET_UDP/TCP was used when CONFIG_NET_LOCAL_DGRAM/STREAM was intended.
|
2017-07-14 12:36:54 -06:00 |
|
Gregory Nutt
|
b4467a5cf5
|
Socket I/F: Fixes to LOCAL socket interface to get sim/udgram to build.
|
2017-07-14 11:34:34 -06:00 |
|
Gregory Nutt
|
8bf8c3fa86
|
Socket I/F: Add address family support for poll() and sendfile()
|
2017-07-14 10:57:38 -06:00 |
|
Gregory Nutt
|
0134d0fef7
|
Socket interfaces: Forgot add filess related to getsockname() in last commit.
|
2017-07-14 10:54:54 -06:00 |
|
Gregory Nutt
|
ac543648b8
|
Socket interface: Added getsockname[C() interfaces.
|
2017-07-14 09:04:19 -06:00 |
|
Simon Piriou
|
ac72978072
|
Networking: Fix typos introduced with network interface changes.
|
2017-07-14 06:02:49 -06:00 |
|
Gregory Nutt
|
5033a6def7
|
Socket interface: Added addref() and sockcaps() interfaces.
|
2017-07-13 13:36:18 -06:00 |
|
Gregory Nutt
|
833ee2275d
|
Socket interface: Added close() interface.
|
2017-07-13 12:15:15 -06:00 |
|
Gregory Nutt
|
0c840ed22f
|
Socket interface: Added listen() and accept() interfaces.
|
2017-07-13 11:15:00 -06:00 |
|
Gregory Nutt
|
85b1ae4cf0
|
Socket interface: Added bind() and connect() interfaces.
|
2017-07-13 09:28:18 -06:00 |
|
Gregory Nutt
|
44ce0cce2f
|
pkt_recvfrom.c edited online with Bitbucket
|
2017-07-13 02:08:40 +00:00 |
|
Gregory Nutt
|
3d4b4c208e
|
pkt_recvfrom.c edited online with Bitbucket
|
2017-07-13 02:06:08 +00:00 |
|
Gregory Nutt
|
a71c504142
|
Socket I/F: Add recvfrom() method to interface.
|
2017-07-12 17:36:05 -06:00 |
|
Gregory Nutt
|
1b9cb70828
|
Sockets: Initial steps to adde a socket interface to the networking. Each address family will have an interface that describes how to perform socket operations on that address family. Currently only a couple of methods are defined in the table as a proof of concept. More to come. Currently there are only tables for the INET/INET6 family, the Unix LOCAL family, and the raw PACKET family. Hopefully there will be AF_IEEE802154 and AF_BLUETOOTH comming down the pike.
|
2017-07-12 15:07:32 -06:00 |
|
Gregory Nutt
|
cfe0d253e9
|
icmpv6_input.c edited online with Bitbucket
|
2017-07-11 23:59:08 +00:00 |
|
Gregory Nutt
|
c966624719
|
sockets: Coding fix fix + minor structuring for forthcoming socket interface logic.
|
2017-07-11 16:25:04 -06:00 |
|
Gregory Nutt
|
e105454937
|
ICMPv6 w/Autoconfiguration: Fix a compile issue introduced with recent change for 6LoWPAN support.
|
2017-07-11 14:59:42 -06:00 |
|
Gregory Nutt
|
bcf6a465c7
|
ipforward.h: Add some forward references that are needed when CONFIG_NETDEV_MULTINIC is not enabled.
|
2017-07-10 12:12:17 -06:00 |
|
Gregory Nutt
|
36f4e08de0
|
Fix a spelling error: return vs retrun
|
2017-07-10 11:50:42 -06:00 |
|
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
|
81dcb98104
|
Fix a compile problem when IP forwarding of broadcast messages is enabled.
|
2017-07-09 11:53: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
|
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
|
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
|
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 |
|
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 |
|