nuttx/net/pkt
Xiang Xiao 6a3c2aded6 Fix wait loop and void cast (#24)
* Simplify EINTR/ECANCEL error handling

1. Add semaphore uninterruptible wait function
2 .Replace semaphore wait loop with a single uninterruptible wait
3. Replace all sem_xxx to nxsem_xxx

* Unify the void cast usage

1. Remove void cast for function because many place ignore the returned value witout cast
2. Replace void cast for variable with UNUSED macro
2020-01-02 10:54:43 -06:00
..
Kconfig Squashed commit of the following: 2018-06-25 12:08:10 -06:00
Make.defs Socket I/F: Add recvfrom() method to interface. 2017-07-12 17:36:05 -06:00
pkt_callback.c net/: Fix some incorrect comments that go back for years (but have also been cloned in newer files). The network was once interrupt driver, but now runs on the work queue with a semaphore to enforce mutual exclusion. 2018-06-23 14:09:06 -06:00
pkt_conn.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
pkt_finddev.c net/pkt: Eliminate a compile error due to missing include and also a warning. 2017-11-29 15:20:15 -06:00
pkt_input.c net/: The value ERROR should never be returned from internal OS functions. That is reserved for returning values to appliations with the errno value set. Within the OS, errors are returned with a negated errno value ALWAYS. 2019-02-14 15:38:36 -06:00
pkt_poll.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
pkt_recvfrom.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
pkt_send.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
pkt_sockif.c net/netlink/netlink_route.c (mostly): This completes a minimal netlink implementation that will retrieve the ARP table. 2019-11-03 13:59:42 -06:00
pkt.h net/: Re-order the content of all address-family socket 'connection' structures so that they begin with a comomon prologue. This permits better use of logic for different address family types. 2019-09-01 08:47:01 -06:00