walnux/net
chao.an d78bf36740 net/tcp: fix tcp socket close timeout if loss wireless connection
In the current net stack implementation, there is no mechanism
for notifying the loss of the wireless connection, if the network
is disconnected then application sends data packets through tcp,
the tcp_timer will keep retrying fetch the ack for awhile, the
connection status will not be able to be switched timely.

Change-Id: I84d1121527edafc6ee6ad56ba164838694e7e11c
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-10-28 11:41:16 -07:00
..
arp Run nxstyle all .c and .h files modified by PR. 2020-05-17 14:01:00 -03:00
bluetooth bluetooth: Add support for HCI RAW channel; make host layer optional 2020-10-25 17:04:25 -07:00
can SocketCAN: Fixed dropping timestamped frames when running in CAN2.0B 2020-06-17 15:17:38 -07:00
devif net/devif/devif_callback.c: remove harmful debug check 2020-10-26 14:19:01 -03:00
icmp net/icmp/icmp_recvfrom.c: fix a NULL dereference 2020-07-30 16:16:21 +02:00
icmpv6 Fix nxstyle warning 2020-08-22 17:37:21 -06:00
ieee802154 NXStyle fixes 2020-06-15 08:07:19 -06:00
igmp Sources and Docs: Fix typos and nxstyle issues 2020-10-02 04:54:52 +02:00
inet Fix nxstyle warning 2020-08-22 17:37:21 -06:00
ipforward Fix typos in comments and documentation. 2020-03-16 20:01:11 -06:00
local NXStyle fixes 2020-06-15 08:07:19 -06:00
mld Sources and Docs: Fix typos and nxstyle issues 2020-10-02 04:54:52 +02:00
neighbor Change all files come from Xiaomi/Pinecone to Apache License 2.0 2020-08-22 17:37:21 -06:00
netdev net/tcp: fix tcp socket close timeout if loss wireless connection 2020-10-28 11:41:16 -07:00
netlink net: Add SocketCAN support 2020-06-15 08:07:19 -06:00
pkt net: Add SocketCAN support 2020-06-15 08:07:19 -06:00
procfs net/procfs: Support chdir("/proc/net/") correctly 2020-08-03 21:00:18 +01:00
route Check return from nxsem_wait_initialize() 2020-03-29 20:11:10 +01:00
sixlowpan Fix nxstyle warning 2020-08-08 17:30:26 -03:00
socket bluetooth: Add support for HCI RAW channel; make host layer optional 2020-10-25 17:04:25 -07:00
tcp net/tcp: fix tcp socket close timeout if loss wireless connection 2020-10-28 11:41:16 -07:00
udp Run nxstyle all .c and .h files modified by PR. 2020-05-17 14:01:00 -03:00
usrsock net/usrsock: fix outputted function name in debug prints 2020-09-21 10:36:31 -03:00
utils Fix nxstyle warning 2020-10-20 01:45:06 -07:00
Kconfig net:Add ARCH_PHY_POLLED option 2020-10-01 15:28:51 +08:00
Makefile Makefile: Fix Make.dep not updated by config changes 2020-07-28 03:59:45 -05:00
net_initialize.c net: Add SocketCAN support 2020-06-15 08:07:19 -06:00
README.txt net/loopback: Move g_lo_* global variable to libc/net/ 2020-03-30 09:47:28 -06:00

README
======

Directory Structure
===================

  nuttx/
   |
   `- net/
       |
       +- arp        - Address resolution protocol (IPv4)
       +- bluetooth  - PF_BLUETOOTH socket interface
       +- devif      - Stack/device interface layer
       +- icmp       - Internet Control Message Protocol (IPv4)
       +- icmpv6     - Internet Control Message Protocol (IPv6)
       +- ieee802154 - PF_IEEE802154 socket interface
       +- inet       - PF_INET/PF_INET6 socket interface
       +- ipforward  - IP forwarding logic
       +- local      - Unix domain (local) sockets
       +- mld        - Multicast Listener Discovery (MLD)
       +- neighbor   - Neighbor Discovery Protocol (IPv6)
       +- netdev     - Socket network device interface
       +- netlink    - Netlink IPC socket interface
       +- pkt        - "Raw" packet socket support
       +- sixlowpan  - 6LoWPAN implementation
       +- socket     - BSD socket interface
       +- route      - Routing table support
       +- tcp        - Transmission Control Protocol
       +- udp        - User Datagram Protocol
       +- usrsock    - User socket API for user-space networking stack
       `- utils      - Miscellaneous utility functions

    +-------------------------------------------------------------------++------------------------+
    |                     Application layer                             || usrsock daemon         |
    +-------------------------------------------------------------------++------------------------+
    +-------------------------------------------------------------------++----------------+ +-----+
    |                   Socket layer (socket/)                          || /dev/usrsock   | |     |
    +-------------------------------------------------------------------++----------------+ |     |
    +------------++--------------------------------------------------++-------------------+ |     |
    |  Network   || Protocol stacks (arp, ipv6, icmp, pkt, tcp, udp) || usrsock/          | |     |
    |   Device   |+--------------------------------------------------++-------------------+ |     |
    | Interface  |+------------------------------------++---------------------------------+ |     |
    | (netdev/)  ||  Network Device Interface (devif/) || Utilities                       | |     |
    +------------++------------------------------------++---------------------------------+ |     |
    +----------------------------------------------------------------+                      |     |
    |                    Network Device Drivers                      |                      | HAL |
    +----------------------------------------------------------------+                      +-----+
    +----------------------------------------------------------------+ +--------------------------+
    |                    Networking Hardware                         | |  Hardware TCP/IP Stack   |
    +----------------------------------------------------------------+ +--------------------------+