nuttx/net
zhanghongyu 76fde07d1c netdev: remove ASSERT when ifindex is invalid
There is no control over whether a valid index is input when user use
ioctl to get netdev information, so removing this assertion will allow
ENODEV to be returned.

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2023-06-13 13:32:03 +08:00
..
arp Indent the define statement by two spaces 2023-05-21 09:52:08 -03:00
bluetooth net: Remove some minor #warning since it compiler specific 2023-05-18 15:44:28 +03:00
can net: Fix task block when devif_send fails. 2023-06-01 17:05:54 +08:00
devif net: Fix task block when devif_send fails. 2023-06-01 17:05:54 +08:00
icmp net/icmp: Save poll device in icmp_poll_s 2023-06-06 19:33:21 +08:00
icmpv6 net/icmpv6: fix style issues 2023-05-19 02:40:38 +08:00
ieee802154 net: Remove some minor #warning since it compiler specific 2023-05-18 15:44:28 +03:00
igmp
inet net/semantic/parser: fix compile warning found by sparse 2023-05-30 23:00:00 +08:00
ipforward net/semantic/parser: fix compile warning found by sparse 2023-05-30 23:00:00 +08:00
ipfrag style: remove extra spaces and align parameters 2023-06-11 12:55:29 +08:00
local net/semantic/parser: fix compile warning found by sparse 2023-05-30 23:00:00 +08:00
mld
nat
neighbor Replace all sprintf with snprintf 2023-05-08 09:57:01 +02:00
netdev netdev: remove ASSERT when ifindex is invalid 2023-06-13 13:32:03 +08:00
netfilter Fix Kconfig style 2023-05-23 00:03:25 +08:00
netlink net: remove conn-related casts 2023-05-10 19:32:09 -03:00
pkt net: Fix task block when devif_send fails. 2023-06-01 17:05:54 +08:00
procfs
route
rpmsg net/rpmsg: initialize semaphore count before wait 2023-05-16 17:15:42 +08:00
sixlowpan Fix Kconfig style 2023-05-23 00:03:25 +08:00
socket net/semantic/parser: fix compile warning found by sparse 2023-05-30 23:00:00 +08:00
tcp net: Fix task block when devif_send fails. 2023-06-01 17:05:54 +08:00
udp net: Fix task block when devif_send fails. 2023-06-01 17:05:54 +08:00
usrsock
utils Remove #warning if the code already return the error code or value 2023-05-18 15:44:28 +03:00
Kconfig SLIP: Switch to poll based design 2023-05-26 19:57:57 -03:00
Makefile
net_initialize.c
README.txt

README
======

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

  nuttx/
   |
   `- net/
       |
       +- arp        - Address resolution protocol (IPv4)
       +- bluetooth  - PF_BLUETOOTH socket interface
       +- devif      - Stack/device interface layer
       +- ipfrag     - Fragmentation and reassembly
       +- 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   |
    +----------------------------------------------------------------+ +--------------------------+