Jussi Kivilinna
547733cbb0
Update net_timedwait() and net_lockedwait() call sites to handle negated errno in return value
2017-09-04 07:56:51 -06:00
Gregory Nutt
7ebef900fb
Networking: Fix a race condition. The accept() operation is performed with the network locked. However, the network is unlocked BEFORE the connected state is set. Therefore, a context switch may occur and the socket may no longer be connected when it is marked so. Noted by Pascal Speck.
2017-08-31 07:23:19 -06:00
Gregory Nutt
04ad162540
Networking: Clean up some naming that has bothered me for a long time... There are no interrupts and no interrupt handlers in the network. There are events and event handler (there used to to be interrupt logic in there years ago but that is long, long gone).
2017-08-29 14:08:04 -06:00
Jussi Kivilinna
f03aad084a
network: Move USRSOCK specific code from from inet_sockif to usrsock_sockif: Add file missed in last commit
2017-07-31 09:49:19 -06:00
Jussi Kivilinna
7dfb01dbce
network: Move USRSOCK specific code from from inet_sockif to usrsock_sockif
2017-07-31 09:33:59 -06:00
Jussi Kivilinna
86df036ff2
net/usrsock: fix USRSOCK to work with recent changes to networking layer
2017-07-31 07:38:24 -06:00
Gregory Nutt
f87d5a3f81
net/: Remove dangling space at the end of lines.
2017-06-28 13:32:19 -06:00
Gregory Nutt
d5207efb5a
Be consistent... Use Name: consistent in function headers vs Function:
2017-04-21 16:33:14 -06:00
Jussi Kivilinna
cd3c9634c8
Add user-space networking stack API (usrsock)
...
User-space networking stack API allows user-space daemon to
provide TCP/IP stack implementation for NuttX network.
Main use for this is to allow use and seamless integration of
HW-provided TCP/IP stacks to NuttX.
For example, user-space daemon can translate /dev/usrsock
API requests to HW TCP/IP API requests while rest of the
user-space can access standard socket API, with socket
descriptors that can be used with NuttX system calls.
2017-03-31 08:58:14 -06:00