nuttx/net/udp
Xiang Xiao 90c52e6f8f Squashed commit of the following:
Author: Gregory Nutt <gnutt@nuttx.org>

    Run all .h and .c files modified in last PR through nxstyle.

Author: Xiang Xiao <xiaoxiang@xiaomi.com>

    Net cleanup (#17)

    * Fix the semaphore usage issue found in tcp/udp

    1. The count semaphore need disable priority inheritance
    2. Loop again if net_lockedwait return -EINTR
    3. Call nxsem_trywait to avoid the race condition
    4. Call nxsem_post instead of sem_post

    * Put the work notifier into free list to avoid the heap fragment in the long run.  Since the allocation strategy is encapsulated internally, we can even refine the implementation later.

    * Network stack shouldn't allocate memory in the poll implementation to avoid the heap fragment in the long run, other modification include:

    1. Select MM_IOB automatically since ICMP[v6] socket can't work without the read ahead buffer
    2. Remove the net lock since xxx_callback_free already do the same thing
    3. TCP/UDP poll should work even the read ahead buffer isn't enabled at all

    * Add NET_ prefix for UDP_NOTIFIER and TCP_NOTIFIER option to align with other UDP/TCP option convention

    * Remove the unused _SF_[IDLE|ACCEPT|SEND|RECV|MASK] flags since there are code to set/clear these flags, but nobody check them.
2019-12-31 09:26:14 -06:00
..
Kconfig Squashed commit of the following: 2019-12-31 09:26:14 -06:00
Make.defs Squashed commit of the following: 2019-12-31 09:26:14 -06:00
udp_callback.c Squashed commit of the following: 2019-12-31 09:26:14 -06:00
udp_conn.c Merged in antmerlino/nuttx/iobinstrumentation (pull request #1001) 2019-08-16 22:42:25 +00:00
udp_devpoll.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
udp_finddev.c tools/nxstyle.c: Fix logic error that prevent detecion of '/' and '/=' as operators. net/: Minor updates resulting from testing tools/nxstyle. 2019-03-11 12:48:39 -06:00
udp_input.c net/: Now handles reception of IPv4 packets with larger IPv4 headers containing options. 2019-08-31 12:25:30 -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 Squashed commit of the following: 2019-12-31 09:26:14 -06:00
udp_notifier.c Squashed commit of the following: 2019-12-31 09:26:14 -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 Squashed commit of the following: 2019-12-31 09:26:14 -06:00
udp_psock_sendto_unbuffered.c Squashed commit of the following: 2019-12-31 09:26:14 -06:00
udp_send.c tools/nxstyle.c: Fix logic error that prevent detecion of '/' and '/=' as operators. net/: Minor updates resulting from testing tools/nxstyle. 2019-03-11 12:48:39 -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_txdrain.c Squashed commit of the following: 2019-12-31 09:26:14 -06:00
udp_wrbuffer_dump.c tools/nxstyle.c: Fix logic error that prevent detecion of '/' and '/=' as operators. net/: Minor updates resulting from testing tools/nxstyle. 2019-03-11 12:48:39 -06:00
udp_wrbuffer.c Squashed commit of the following: 2019-12-31 09:26:14 -06:00
udp.h Squashed commit of the following: 2019-12-31 09:26:14 -06:00