nuttx/net
Zhe Weng aad1a70bc5 net/udp: Support binding to same addr/port if SO_REUSEADDR is specified.
Ref: On Linux, if SO_REUSEADDR(sk_reuse) is set for both sockets, port will not be regarded as inuse. https://github.com/torvalds/linux/blob/v6.1/net/ipv4/udp.c#L146

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-02-10 10:01:08 +01:00
..
arp net/netdev: Avoid hardcoded guardsize when using d_iob 2023-01-18 14:41:07 +08:00
bluetooth Revert "include/sys/socket.h: Add SOCK_CTRL to socket type" 2023-02-09 09:13:14 +01:00
can Revert "include/sys/socket.h: Add SOCK_CTRL to socket type" 2023-02-09 09:13:14 +01:00
devif net/ip: fix compile break if disable NET_TCP 2023-02-07 12:46:40 +02:00
icmp Revert "include/sys/socket.h: Add SOCK_CTRL to socket type" 2023-02-09 09:13:14 +01:00
icmpv6 Revert "include/sys/socket.h: Add SOCK_CTRL to socket type" 2023-02-09 09:13:14 +01:00
ieee802154 Revert "include/sys/socket.h: Add SOCK_CTRL to socket type" 2023-02-09 09:13:14 +01:00
igmp support ipv4 ToS and ipv6 TrafficClass 2023-01-29 13:43:44 +08:00
inet Revert "include/sys/socket.h: Add SOCK_CTRL to socket type" 2023-02-09 09:13:14 +01:00
ipforward net/netdev: Avoid hardcoded guardsize when using d_iob 2023-01-18 14:41:07 +08:00
ipfrag net/ip: fix compile break if disable NET_TCP 2023-02-07 12:46:40 +02:00
local Revert "include/sys/socket.h: Add SOCK_CTRL to socket type" 2023-02-09 09:13:14 +01:00
mld support ipv4 ToS and ipv6 TrafficClass 2023-01-29 13:43:44 +08:00
nat net/ip: fix compile break if disable NET_TCP 2023-02-07 12:46:40 +02:00
neighbor net/arp: Move arp_ipin and arp_out to private header file 2022-12-04 20:39:21 +08:00
netdev mm/iob: Support negative offset when copyin/out. 2023-01-31 00:39:15 +08:00
netfilter nuttx: replace all ARRAY_SIZE()/ARRAYSIZE() to nitems() 2023-02-09 20:05:44 +08:00
netlink Revert "include/sys/socket.h: Add SOCK_CTRL to socket type" 2023-02-09 09:13:14 +01:00
pkt Revert "include/sys/socket.h: Add SOCK_CTRL to socket type" 2023-02-09 09:13:14 +01:00
procfs net/procfs: fix visual studio Compiler Error C2057 2023-02-09 20:11: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 nuttx: Use MIN/MAX definitions from "sys/param.h" 2023-02-01 23:47:44 +08:00
sixlowpan net: consistent the net sem wait naming conversion 2023-01-15 12:31:30 -03:00
socket net: Implement shutdown() for usrsock 2023-01-31 11:15:01 +08:00
tcp net/tcp: Regard snd_wnd update as ACKDATA 2023-02-03 13:43:39 +02:00
udp net/udp: Support binding to same addr/port if SO_REUSEADDR is specified. 2023-02-10 10:01:08 +01:00
usrsock build/Kconfig: fix warnings detected by kconfiglib 2023-02-09 20:07:46 +08:00
utils nuttx: replace all ARRAY_SIZE()/ARRAYSIZE() to nitems() 2023-02-09 20:05:44 +08:00
Kconfig Support fragmentation and reassembly 2023-01-17 14:01:37 +08:00
Makefile Support fragmentation and reassembly 2023-01-17 14:01:37 +08:00
net_initialize.c net: Reoder the initialize sequence(mac->ip->tcp/udp) 2022-03-12 19:24:17 +02:00
README.txt Support fragmentation and reassembly 2023-01-17 14:01:37 +08:00

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