nuttx/net
Xiang Xiao 5c5c08efcd network: simplify the timeout process logic
1.Consolidate absolute to relative timeout conversion into one place(_net_timedwait)
2.Drive the wait timeout logic by net_timedwait instead of devif_timer
This patch help us remove devif_timer(period tick) to save the power in the future.

Change-Id: I534748a5d767ca6da8a7843c3c2f993ed9ea77d4
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-01-11 08:24:49 -06:00
..
arp network: simplify the timeout process logic 2020-01-11 08:24:49 -06:00
bluetooth network: simplify the timeout process logic 2020-01-11 08:24:49 -06:00
devif network: simplify the timeout process logic 2020-01-11 08:24:49 -06:00
icmp network: simplify the timeout process logic 2020-01-11 08:24:49 -06:00
icmpv6 network: simplify the timeout process logic 2020-01-11 08:24:49 -06:00
ieee802154 network: simplify the timeout process logic 2020-01-11 08:24:49 -06:00
igmp Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
inet network: simplify the timeout process logic 2020-01-11 08:24:49 -06:00
ipforward Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
local Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
loopback 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
mld Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
neighbor network: simplify the timeout process logic 2020-01-11 08:24:49 -06:00
netdev net: complement wireless handling as ethernet 2020-01-11 08:04:18 -03:00
netlink Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
pkt network: simplify the timeout process logic 2020-01-11 08:24:49 -06:00
procfs Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
route Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
sixlowpan network: simplify the timeout process logic 2020-01-11 08:24:49 -06:00
socket network: simplify the timeout process logic 2020-01-11 08:24:49 -06:00
tcp network: simplify the timeout process logic 2020-01-11 08:24:49 -06:00
udp network: simplify the timeout process logic 2020-01-11 08:24:49 -06:00
usrsock network: simplify the timeout process logic 2020-01-11 08:24:49 -06:00
utils network: simplify the timeout process logic 2020-01-11 08:24:49 -06:00
.gitignore .dSYM only needs to be in the same .gitignore files as .exe 2013-05-30 15:02:04 -06:00
Kconfig Make the read ahead buffer unselectable 2020-01-11 08:24:49 -06:00
Makefile net/mld: Add basic build structure for Multicast Listener Discovery (MLD). No real MLD logic yet. Only a few hooks to capture and dispatch MLD ICMPv6 packets. 2018-10-31 14:10:19 -06:00
net_initialize.c Squashed commit of the following: 2019-06-02 11:05:31 -06:00
README.txt net/mld: Add basic build structure for Multicast Listener Discovery (MLD). No real MLD logic yet. Only a few hooks to capture and dispatch MLD ICMPv6 packets. 2018-10-31 14:10:19 -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
       +- loopback   - Local loopback
       +- 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   |
    +----------------------------------------------------------------+ +--------------------------+