nuttx/net
zhanghongyu 85ffa4bcf3 inet_sockif: errno alignment to Linux
cunittest error case: protocol invalid need return 123(EPROTONOSUPPORT)
now return 106(EAFNOSUPPORT)

inet_setup will check type ande protocol

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-10-21 16:57:20 +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 Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
devif Added handling of MSG_WAITALL flag in TCP recv. 2022-10-13 18:22:05 +08:00
icmp Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
icmpv6 Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09: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 inet_sockif: errno alignment to Linux 2022-10-21 16:57:20 +08:00
ipforward net/ipforward: fix typo in ipv4_dev_forward 2022-10-10 19:31:39 +08:00
local Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09: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/ioctl/cellular: remove redundant logic 2022-10-15 18:34:07 +08:00
netlink Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
pkt Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
procfs net/procfs: fix runtime error AddressSanitizer(global-buffer-overflow) 2022-09-27 09:41:55 +08:00
route Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
rpmsg Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09: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 net/tcp: remove debug counter of connect instance 2022-10-19 09:46:02 +08:00
udp Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
usrsock Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
utils Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
Kconfig Add Cellular link layer support 2022-10-15 18:34:07 +08:00
Makefile
net_initialize.c net: Reoder the initialize sequence(mac->ip->tcp/udp) 2022-03-12 19:24:17 +02:00
README.txt

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   |
    +----------------------------------------------------------------+ +--------------------------+