incubator-nuttx/net
chao an 6340154f97 net/socket/bind: make sure that an address was provided
1. make sure that an address was provided on bind() call
2. correct the return value if bad socket handler

Signed-off-by: chao an <anchao@xiaomi.com>
2023-08-29 19:42:36 +08:00
..
arp mm/iob: Add support for increasing length in iob_update_pktlen 2023-08-22 16:34:21 +09:00
bluetooth build: add initial cmake build system 2023-07-08 13:50:48 +08:00
can socketcan : fixed CAN ID cast error 2023-08-19 01:31:34 +08:00
devif mm/iob: Add support for increasing length in iob_update_pktlen 2023-08-22 16:34:21 +09:00
icmp mm/iob: Add support for increasing length in iob_update_pktlen 2023-08-22 16:34:21 +09:00
icmpv6 mm/iob: Add support for increasing length in iob_update_pktlen 2023-08-22 16:34:21 +09:00
ieee802154 build: add initial cmake build system 2023-07-08 13:50:48 +08:00
igmp mm/iob: Add support for increasing length in iob_update_pktlen 2023-08-22 16:34:21 +09:00
inet net:add IP_MULTICAST_IF & IPV6_MULTICAST_IF function implementation 2023-08-25 17:16:50 +08:00
ipforward build: add initial cmake build system 2023-07-08 13:50:48 +08:00
ipfrag net/ipfrag:Fixed ref not initializing warning issue 2023-07-26 08:36:04 -03:00
local net/local: fix visual studio Compiler Error C2057 2023-08-29 09:45:44 +08:00
mld mm/iob: Add support for increasing length in iob_update_pktlen 2023-08-22 16:34:21 +09:00
nat net/nat: Fix compiler warning 2023-07-12 19:29:14 +08:00
neighbor build: add initial cmake build system 2023-07-08 13:50:48 +08:00
netdev socket can : support ioctl cmd SIOCCANRECOVERY 2023-08-21 13:18:51 +08:00
netfilter build: add initial cmake build system 2023-07-08 13:50:48 +08:00
netlink net: remove [enter|leave]_critical_section and sched_[un]lock 2023-08-10 12:24:30 +03:00
pkt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
procfs nuttx: use lib_free for memory de-allocation after strdup or asprintf 2023-08-08 11:58:29 -03:00
route build: add initial cmake build system 2023-07-08 13:50:48 +08:00
rpmsg rpmsg/rpmsg_sockif.c: Fix printf format for u64 type 2023-08-23 23:36:15 +08:00
sixlowpan net/icmpv6: Fix `icmpv6_neighbor` for link-local address 2023-08-11 02:00:39 +08:00
socket net/socket/bind: make sure that an address was provided 2023-08-29 19:42:36 +08:00
tcp tcp_send_buffered: change Not connected message level from error to warning 2023-08-25 20:38:59 +03:00
udp net:add IP_MULTICAST_IF & IPV6_MULTICAST_IF function implementation 2023-08-25 17:16:50 +08:00
usrsock build: add initial cmake build system 2023-07-08 13:50:48 +08:00
utils net: remove [enter|leave]_critical_section and sched_[un]lock 2023-08-10 12:24:30 +03:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig arch: Remove up_netinitialize 2023-08-20 14:33:17 +03:00
Makefile Support fragmentation and reassembly 2023-01-17 14:01:37 +08:00
README.txt 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

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