nuttx/net/udp
Gregory Nutt 9d3148406c Signals were not a good choice of IPC to implement the poll function for several reasons: In order to handle the asynchrnous poll-related event, a substantial amount of state information is needed. Signals are only capable of passing minimal amounts of data. There are also complexities with performing kernel space signal handlers in kernel space code that is better to avoid. So, instead of signals, the equivalent logic was converted to run via a callback that executes on the high-priority work queue.
Squashed commit of the following:

    Fix up some final compile isses.

    net/netdev:  Convert the network down notification logic to use the new wqueue-based notification factility.

    net/udp:  Convert the UDP readahead notification logic to use the new wqueue-based notification factility.

    net/tcp:  Convert the TCP readahead notification logic to use the new wqueue-based notification factility.

    mm/iob:  Convert the IOB notification logic to use the new wqueue-based notification factility.

    sched/wqueue:  Signals are not good IPCs to support the target poll functionality for several reasons including the amount of data that can be passed with a signal and in the fact that in protected and kernel modes, user threads executing signal handlers in protected, kernel memory is problematic.  Instead, convert the same logic to perform the notifications via function callback on the high priority work queue.
2018-09-09 15:01:44 -06:00
..
Kconfig Signals were not a good choice of IPC to implement the poll function for several reasons: In order to handle the asynchrnous poll-related event, a substantial amount of state information is needed. Signals are only capable of passing minimal amounts of data. There are also complexities with performing kernel space signal handlers in kernel space code that is better to avoid. So, instead of signals, the equivalent logic was converted to run via a callback that executes on the high-priority work queue. 2018-09-09 15:01:44 -06:00
Make.defs net/tcp and udp: Add logic to signal events when TCP or UDP read-ahead data is buffered. 2018-09-09 09:21:39 -06:00
udp_callback.c net/tcp and udp: Add logic to signal events when TCP or UDP read-ahead data is buffered. 2018-09-09 09:21:39 -06:00
udp_conn.c Replace all ASSERT with DEBUGASSERT to save the code space 2018-08-24 06:58:30 -06:00
udp_devpoll.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
udp_finddev.c net/udp/udp_finddev.c: Fix for network byte-order issue when checking if an address is a multicast address. 2018-07-17 11:18:11 -06:00
udp_input.c net/udp: Resolve race condition in connection-less UDP sockets with read-ahead buffering. 2018-05-13 09:57:34 -06:00
udp_ipselect.c Be consistent... Use Name: consistent in function headers vs Function: 2017-04-21 16:33:14 -06:00
udp_netpoll.c net/udp: Resolve race condition in connection-less UDP sockets with read-ahead buffering. 2018-05-13 09:57:34 -06:00
udp_notifier.c Signals were not a good choice of IPC to implement the poll function for several reasons: In order to handle the asynchrnous poll-related event, a substantial amount of state information is needed. Signals are only capable of passing minimal amounts of data. There are also complexities with performing kernel space signal handlers in kernel space code that is better to avoid. So, instead of signals, the equivalent logic was converted to run via a callback that executes on the high-priority work queue. 2018-09-09 15:01:44 -06:00
udp_psock_send.c net/udp: Remove an unused variable warning. Add some comments. 2018-04-27 18:26:38 -06:00
udp_psock_sendto_buffered.c net/arp: Improve arp_find() commit 9774d35010 to reduce the amount and frequency of data copies. 2018-08-25 07:12:21 -06:00
udp_psock_sendto_unbuffered.c Elimate use of the non-standard type systime_t and replace it the equivalent, standard type clock_t 2018-06-16 12:16:13 -06:00
udp_send.c net/udp: Fix another related error in UDP condition compilatino (was actually using TCP setting, not UDP setting). 2018-03-30 15:30:45 -06:00
udp_setsockopt.c net/udp/udp_setsockopt.c: Remove a warning about an uninitialized variable. 2018-07-04 18:28:17 -06:00
udp_wrbuffer_dump.c This commit adds an as-of-yet untested implemented of UDP write buffering. 2018-01-22 18:32:02 -06:00
udp_wrbuffer.c Squashed commit of the following: 2018-07-07 08:26:13 -06:00
udp.h Signals were not a good choice of IPC to implement the poll function for several reasons: In order to handle the asynchrnous poll-related event, a substantial amount of state information is needed. Signals are only capable of passing minimal amounts of data. There are also complexities with performing kernel space signal handlers in kernel space code that is better to avoid. So, instead of signals, the equivalent logic was converted to run via a callback that executes on the high-priority work queue. 2018-09-09 15:01:44 -06:00