nuttx/net
Gregory Nutt 35efcee5c9 net/netdev/netdev_register.c: Add some comments.
This commit adds some short comments to explain some perplexing logic of PR #1047.
2020-05-15 15:48:00 +01:00
..
arp Rename clock_systime[r|spec] to clock_systime_[ticks|timespec] 2020-05-10 14:35:50 -06:00
bluetooth global change: fix tools/checkpatch.sh warnnings 2020-04-09 10:29:28 -06:00
devif Fix some macOS sim warnings. 2020-04-11 22:27:42 +01:00
icmp net/icmp/icmp_input.c: Fix memset() implicit decl warning 2020-02-25 12:17:55 -06:00
icmpv6 Run nxstyle against files modified in previous commit. 2020-04-13 02:09:34 +08:00
ieee802154 global change: fix tools/checkpatch.sh warnnings 2020-04-09 10:29:28 -06:00
igmp debug: Reduce CONFIG_CPP_HAVE_VARARGS usage 2020-05-05 08:27:58 -06:00
inet net/: Whenever the network initializes an IPv4 address, it must clear sin_zero. 2020-02-25 15:53:39 +01:00
ipforward Fix typos in comments and documentation. 2020-03-16 20:01:11 -06:00
local nuttx: Fix the nightly build warning again 2020-04-14 11:22:22 +02:00
mld debug: Reduce CONFIG_CPP_HAVE_VARARGS usage 2020-05-05 08:27:58 -06:00
neighbor Rename clock_systime[r|spec] to clock_systime_[ticks|timespec] 2020-05-10 14:35:50 -06:00
netdev net/netdev/netdev_register.c: Add some comments. 2020-05-15 15:48:00 +01:00
netlink netlink: add netlink route notify support 2020-04-16 11:49:53 -06:00
pkt Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
procfs Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
route Check return from nxsem_wait_initialize() 2020-03-29 20:11:10 +01:00
sixlowpan Rename clock_systime[r|spec] to clock_systime_[ticks|timespec] 2020-05-10 14:35:50 -06:00
socket net/sockopt: fix nxstyle warning 2020-05-14 07:53:15 -06:00
tcp net/conn: generate port base dynamically 2020-05-15 07:27:01 -06:00
udp net/udp: fix nxstyle warning 2020-05-15 07:27:01 -06:00
usrsock net/usrsock: fix error: variable 'pos' is used uninitialized 2020-04-29 07:10:44 -06:00
utils Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
.gitignore Revert "Don't generate .depend anymore" 2020-03-22 23:07:29 -05:00
Kconfig net/loopback: Move g_lo_* global variable to libc/net/ 2020-03-30 09:47:28 -06:00
Makefile net/loopback: Move g_lo_* global variable to libc/net/ 2020-03-30 09:47:28 -06:00
net_initialize.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -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   |
    +----------------------------------------------------------------+ +--------------------------+