2023-10-25 15:22:15 +02:00
|
|
|
===============
|
|
|
|
Network Support
|
|
|
|
===============
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
sixlowpan.rst
|
2023-10-27 12:25:47 +02:00
|
|
|
socketcan.rst
|
2023-11-06 14:54:25 +01:00
|
|
|
netguardsize.rst
|
2023-11-06 15:00:36 +01:00
|
|
|
slip.rst
|
2023-11-06 15:40:38 +01:00
|
|
|
wqueuedeadlocks.rst
|
2023-10-25 15:22:15 +02:00
|
|
|
|
|
|
|
``net`` Directory Structure ::
|
|
|
|
|
|
|
|
nuttx/
|
|
|
|
|
|
|
|
|
`- net/
|
|
|
|
|
|
|
|
|
+- arp - Address resolution protocol (IPv4)
|
|
|
|
+- bluetooth - PF_BLUETOOTH socket interface
|
2023-10-27 11:26:44 +02:00
|
|
|
+- can - SocketCAN
|
2023-10-25 15:22:15 +02: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 11:26:44 +02:00
|
|
|
+- igmp - IGMPv2 client
|
2023-10-25 15:22:15 +02:00
|
|
|
+- inet - PF_INET/PF_INET6 socket interface
|
|
|
|
+- ipforward - IP forwarding logic
|
2023-10-27 11:26:44 +02:00
|
|
|
+- ipfrag - Fragmentation and reassembly
|
2023-10-25 15:22:15 +02:00
|
|
|
+- local - Unix domain (local) sockets
|
|
|
|
+- mld - Multicast Listener Discovery (MLD)
|
2023-10-27 11:26:44 +02:00
|
|
|
+- nat - Network Address Translation (NAT)
|
2023-10-25 15:22:15 +02:00
|
|
|
+- neighbor - Neighbor Discovery Protocol (IPv6)
|
|
|
|
+- netdev - Socket network device interface
|
2023-10-27 11:26:44 +02:00
|
|
|
+- netfiletr - Iptables Interface
|
2023-10-25 15:22:15 +02:00
|
|
|
+- netlink - Netlink IPC socket interface
|
|
|
|
+- pkt - "Raw" packet socket support
|
2023-10-27 11:26:44 +02:00
|
|
|
+- procfs - net devices PROCFS support
|
|
|
|
+- route - Routing table support
|
|
|
|
+- rpmsg - Rpmsg domain (remote) sockets
|
2023-10-25 15:22:15 +02: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 |
|
|
|
|
+----------------------------------------------------------------+ +--------------------------+
|