nuttx/net/local
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 Fix a few typos in the last commit 2016-07-19 13:40:54 -06:00
local_accept.c net/local: Fixed deadlock issue by replacing nxsem_wait() with net_lockedwait() so that we do not wait with the network locked. 2019-03-19 09:54:22 -06:00
local_bind.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
local_conn.c net/local/local_conn.c: Removed un-ncessary memset(). Connection structure is allocated with kmm_zalloc() which will clear all memory. 2019-09-01 11:23:40 -06:00
local_connect.c Fix use of undefined pp-token #errror, other typos. 2019-09-19 18:19:18 -06:00
local_fifo.c arch/arm/src/stm32l4: if SRAM3 is used as heap, do not power it off in stop 2 mode. 2019-06-13 05:52:40 -06:00
local_listen.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
local_netpoll.c Squashed commit of the following: 2019-12-31 09:26:14 -06:00
local_recvfrom.c net/: Run nxstyle against all C files. 2019-10-25 11:31:42 -06:00
local_recvutils.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
local_release.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
local_send.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
local_sendpacket.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
local_sendto.c net/: Run nxstyle against all C files. 2019-10-25 11:31:42 -06:00
local_sockif.c net/: Run nxstyle against all C files. 2019-10-25 11:31:42 -06:00
local.h Squashed commit of the following: 2019-12-31 09:26:14 -06:00
Make.defs Squashed commit of the following: 2019-05-21 18:57:54 -06:00