nuttx/net/tcp
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
tcp_accept.c Squashed commit of the following: 2019-12-31 09:26:14 -06:00
tcp_appsend.c net/tcp/tcp_appsend.c: Enhance delayed ACK algorithm with behavior of Windows delayed ACK described at https://support.microsoft.com/en-nz/help/214397/design-issues-sending-small-data-segments-over-tcp-with-winsock: 'If there are data to be sent in the same direction as the ACK before the second data packet is received and the delay timer expires, the ACK is piggybacked with the data segment and sent immediately.' 2019-12-09 08:45:52 -06:00
tcp_backlog.c net/: Fix alignment and spacing problems found by tools/nxstyle. 2019-07-02 18:02:23 -06:00
tcp_callback.c Squashed commit of the following: 2019-12-31 09:26:14 -06:00
tcp_conn.c This commit adds an initial implemented of TCP delayed ACKs as specified in RFC 1122. 2019-12-08 13:13:51 -06:00
tcp_connect.c net/: Fixes for more coding standard issues detected by nxstyle. 2018-10-29 18:00:30 -06:00
tcp_devpoll.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
tcp_finddev.c tcp_conn: Check if the remote address is unspecified 2019-12-24 10:48:00 -06:00
tcp_getsockopt.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
tcp_input.c This commit adds an initial implemented of TCP delayed ACKs as specified in RFC 1122. 2019-12-08 13:13:51 -06:00
tcp_ipselect.c Be consistent... Use Name: consistent in function headers vs Function: 2017-04-21 16:33:14 -06:00
tcp_listen.c net/: Fix alignment and spacing problems found by tools/nxstyle. 2019-07-02 18:02:23 -06:00
tcp_monitor.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
tcp_netpoll.c Squashed commit of the following: 2019-12-31 09:26:14 -06:00
tcp_notifier.c Squashed commit of the following: 2019-12-31 09:26:14 -06:00
tcp_recvwindow.c net/tcp/tcp_recvwindow.c: In order to receive data we must not only have IOBs available, but we must also have at least one IOB chain qentry available. Otherwise, we will advertise that we an buffer a lot of data when, in fact, we cannot. This is an expermental fix to a performance problem noted by Masayuki Ishikawa. 2018-09-22 09:33:29 -06:00
tcp_send_buffered.c Squashed commit of the following: 2019-12-31 09:26:14 -06:00
tcp_send_unbuffered.c Squashed commit of the following: 2019-12-31 09:26:14 -06:00
tcp_send.c net/tcp/tcp_send.c: Trival update to some comments. 2019-12-11 11:19:32 -06:00
tcp_sendfile.c Squashed commit of the following: 2019-12-31 09:26:14 -06:00
tcp_seqno.c net/: Fix alignment and spacing problems found by tools/nxstyle. 2019-07-02 18:02:23 -06:00
tcp_setsockopt.c Squashed commit of the following: 2018-03-12 10:59:46 -06:00
tcp_timer.c This commit adds an initial implemented of TCP delayed ACKs as specified in RFC 1122. 2019-12-08 13:13:51 -06:00
tcp_txdrain.c Squashed commit of the following: 2019-12-31 09:26:14 -06:00
tcp_wrbuffer_dump.c net/udp and tcp: Yet another (cosmetic) change to UDP and TCP write buffer macro naming. 2018-01-22 19:33:14 -06:00
tcp_wrbuffer.c Squashed commit of the following: 2019-12-31 09:26:14 -06:00
tcp.h Squashed commit of the following: 2019-12-31 09:26:14 -06:00