nuttx/net
liangchaozhong cc426f8539 usrsock:add done flag in usrsock_iovec_do
set done to true if all data in iovec array is copied

Signed-off-by: liangchaozhong <liangchaozhong@xiaomi.com>
2022-10-11 00:57:49 +08:00
..
arp libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
bluetooth Remove the unnessary empty line after label 2022-09-30 17:54:56 +02:00
can let NET_CAN_RAW_FILTER_MAX depends on NET_CANPROTO_OPTIONS to prevent compiler errors 2022-10-05 07:56:54 +08:00
devif net: cleanup pvconn reference to avoid confuse 2022-08-26 20:58:11 +08:00
icmp Remove the unnessary empty line after label 2022-09-30 17:54:56 +02:00
icmpv6 libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
ieee802154 libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
igmp net/igmp: fix build warning on GCC 12.2.0 2022-10-11 00:56:13 +08:00
inet net/inet: invalid addrlen length should return EINVAL 2022-09-08 09:02:30 +08:00
ipforward net/ipforward: fix typo in ipv4_dev_forward 2022-10-10 19:31:39 +08:00
local net/local: unified formatting name function 2022-10-11 00:53:57 +08:00
mld libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
neighbor net: use HTONS, NTOHS, HTONL, NTOHL macro in kernel code 2022-01-18 10:59:47 +01:00
netdev net/wireless: separate command catagory of bt/pktradio from wireless ioctl 2022-09-20 01:16:22 +08:00
netlink libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
pkt libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
procfs net/procfs: fix runtime error AddressSanitizer(global-buffer-overflow) 2022-09-27 09:41:55 +08:00
route net/mld/route: fix build warning 2022-09-06 18:24:20 +08:00
rpmsg poll: add poll_notify() api and call it in all drivers 2022-09-26 12:06:32 +08:00
sixlowpan net: cleanup pvconn reference to avoid confuse 2022-08-26 20:58:11 +08:00
socket net: Return -ENOPROTOOPT for unsupported/unknown socket option 2022-09-28 20:47:48 +09:00
tcp Remove the unnessary empty line after label 2022-09-30 17:54:56 +02:00
udp libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
usrsock usrsock:add done flag in usrsock_iovec_do 2022-10-11 00:57:49 +08:00
utils net:add btsnoop and snoop 2022-08-24 21:42:30 +08:00
Kconfig net/slip: Rename and clarify orphaned Kconfig options 2022-07-20 13:17:09 +08:00
Makefile net/socket_rpmsg: add net socket rpmsg support 2021-03-07 01:45:51 -08:00
net_initialize.c net: Reoder the initialize sequence(mac->ip->tcp/udp) 2022-03-12 19:24:17 +02: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   |
    +----------------------------------------------------------------+ +--------------------------+