nuttx/net
wangbowen6 c37d90c194 net/local: support FIONWRITE for domain socket ioctl
Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
2022-11-24 19:47:08 +08:00
..
arp net/arp: Make NET_ARP(Address Resolution Protocol) configurable 2022-11-21 13:20:55 +08:00
bluetooth sem:remove sem default protocl 2022-10-22 14:50:48 +08:00
can net/get/setsockopt: add si_get/setsockopt interface to simply get/setsockopt 2022-11-23 15:01:54 +08:00
devif net: add basic NAT workflow 2022-11-11 14:36:55 +08:00
icmp net/icmp[v6]: destroy nxsem properly 2022-11-21 01:15:48 +08:00
icmpv6 net/icmp[v6]: destroy nxsem properly 2022-11-21 01:15:48 +08:00
ieee802154 sem:remove sem default protocl 2022-10-22 14:50:48 +08:00
igmp net: move device buffer define to common header 2022-10-28 00:32:16 -04:00
inet net/get/setsockopt: add si_get/setsockopt interface to simply get/setsockopt 2022-11-23 15:01:54 +08:00
ipforward net: add basic NAT workflow 2022-11-11 14:36:55 +08:00
local net/local: support FIONWRITE for domain socket ioctl 2022-11-24 19:47:08 +08:00
mld net: move device buffer define to common header 2022-10-28 00:32:16 -04:00
nat net/nat: Add UDP support 2022-11-11 14:36:55 +08:00
neighbor net: move device buffer define to common header 2022-10-28 00:32:16 -04:00
netdev Fix Error: netdev/netdev_findbyindex.c:59:7: error: variable 'i' set but not used 2022-11-23 07:27:48 +01:00
netlink sched/task/task_getpid: getpid should return process id not thread id 2022-11-17 17:58:08 +08:00
pkt net: move device buffer define to common header 2022-10-28 00:32:16 -04:00
procfs net/procfs: fix runtime error AddressSanitizer(global-buffer-overflow) 2022-09-27 09:41:55 +08:00
route include/endian.h: Fix format specifies type 'unsigned long' but the argument has type 'unsigned int' 2022-10-30 16:03:35 +01:00
rpmsg rpmsg socket: add lock to poll & poll_notify 2022-11-11 20:08:17 +08:00
sixlowpan Fix error: variable 'buflen' is uninitialized when used here 2022-11-20 14:34:44 +01:00
socket net/usrsock: fix get/setsockopt issue about usrsock protocol 2022-11-23 21:27:15 +09:00
tcp tcp: recv returns 0 without set errno 2022-11-23 23:23:44 +08:00
udp net/udp: NET_BROADCAST shouldn't configurable if NET_UDP_NO_STACK enable 2022-11-22 20:45:26 +09:00
usrsock net/usrsock: fix get/setsockopt issue about usrsock protocol 2022-11-23 21:27:15 +09:00
utils net/icmp[v6]: ICMP[v6]_NO_STACK should not depends on NET_IPv4/6 2022-11-20 08:16:20 -03:00
Kconfig net: add basic NAT workflow 2022-11-11 14:36:55 +08:00
Makefile net: add basic NAT workflow 2022-11-11 14:36:55 +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   |
    +----------------------------------------------------------------+ +--------------------------+