2014-06-28 06:48:12 +08:00
|
|
|
README
|
|
|
|
======
|
|
|
|
|
|
|
|
Directory Structure
|
|
|
|
===================
|
|
|
|
|
|
|
|
nuttx/
|
|
|
|
|
|
|
|
|
`- net/
|
|
|
|
|
|
2017-08-19 22:48:52 +08:00
|
|
|
+- arp - Address resolution protocol (IPv4)
|
2018-04-01 04:55:03 +08:00
|
|
|
+- bluetooth - PF_BLUETOOTH socket interface
|
2017-08-19 22:48:52 +08:00
|
|
|
+- 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
|
|
|
|
+- loopback - Local loopback
|
2018-11-01 04:10:19 +08:00
|
|
|
+- mld - Multicast Listener Discovery (MLD)
|
2017-08-19 22:48:52 +08:00
|
|
|
+- neighbor - Neighbor Discovery Protocol (IPv6)
|
|
|
|
+- netdev - Socket network device interface
|
2018-08-04 03:22:36 +08:00
|
|
|
+- netlink - Netlink IPC socket interface
|
2017-08-19 22:48:52 +08:00
|
|
|
+- 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
|
2014-06-28 06:48:12 +08:00
|
|
|
|
2017-03-31 22:58:14 +08:00
|
|
|
+-------------------------------------------------------------------++------------------------+
|
|
|
|
| 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 |
|
2017-04-21 06:08:49 +08:00
|
|
|
+----------------------------------------------------------------+ +--------------------------+
|