2023-10-25 21:22:15 +08:00
|
|
|
===============
|
|
|
|
Network Support
|
|
|
|
===============
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
sixlowpan.rst
|
2023-10-27 18:25:47 +08:00
|
|
|
socketcan.rst
|
2024-02-23 11:39:24 +08:00
|
|
|
pkt.rst
|
2024-02-23 10:56:49 +08:00
|
|
|
nat.rst
|
|
|
|
netdev.rst
|
2024-04-07 18:15:50 +08:00
|
|
|
netdriver.rst
|
2023-11-06 21:54:25 +08:00
|
|
|
netguardsize.rst
|
2024-05-13 18:41:37 +08:00
|
|
|
netlink.rst
|
2023-11-06 22:00:36 +08:00
|
|
|
slip.rst
|
2023-11-06 22:40:38 +08:00
|
|
|
wqueuedeadlocks.rst
|
2023-10-25 21:22:15 +08:00
|
|
|
|
|
|
|
``net`` Directory Structure ::
|
|
|
|
|
|
|
|
nuttx/
|
|
|
|
|
|
|
|
|
`- net/
|
|
|
|
|
|
|
|
|
+- arp - Address resolution protocol (IPv4)
|
|
|
|
+- bluetooth - PF_BLUETOOTH socket interface
|
2023-10-27 17:26:44 +08:00
|
|
|
+- can - SocketCAN
|
2023-10-25 21:22:15 +08:00
|
|
|
+- devif - Stack/device interface layer
|
|
|
|
+- icmp - Internet Control Message Protocol (IPv4)
|
|
|
|
+- icmpv6 - Internet Control Message Protocol (IPv6)
|
|
|
|
+- ieee802154 - PF_IEEE802154 socket interface
|
2023-10-27 17:26:44 +08:00
|
|
|
+- igmp - IGMPv2 client
|
2023-10-25 21:22:15 +08:00
|
|
|
+- inet - PF_INET/PF_INET6 socket interface
|
|
|
|
+- ipforward - IP forwarding logic
|
2023-10-27 17:26:44 +08:00
|
|
|
+- ipfrag - Fragmentation and reassembly
|
2023-10-25 21:22:15 +08:00
|
|
|
+- local - Unix domain (local) sockets
|
|
|
|
+- mld - Multicast Listener Discovery (MLD)
|
2023-10-27 17:26:44 +08:00
|
|
|
+- nat - Network Address Translation (NAT)
|
2023-10-25 21:22:15 +08:00
|
|
|
+- neighbor - Neighbor Discovery Protocol (IPv6)
|
|
|
|
+- netdev - Socket network device interface
|
2024-02-23 10:56:49 +08:00
|
|
|
+- netfilter - Iptables Interface
|
2023-10-25 21:22:15 +08:00
|
|
|
+- netlink - Netlink IPC socket interface
|
|
|
|
+- pkt - "Raw" packet socket support
|
2023-10-27 17:26:44 +08:00
|
|
|
+- procfs - net devices PROCFS support
|
|
|
|
+- route - Routing table support
|
|
|
|
+- rpmsg - Rpmsg domain (remote) sockets
|
2023-10-25 21:22:15 +08:00
|
|
|
+- sixlowpan - 6LoWPAN implementation
|
|
|
|
+- socket - BSD socket interface
|
|
|
|
+- 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 |
|
|
|
|
+----------------------------------------------------------------+ +--------------------------+
|