2014-06-28 06:48:12 +08:00
|
|
|
README
|
|
|
|
======
|
|
|
|
|
|
|
|
Directory Structure
|
|
|
|
===================
|
|
|
|
|
|
|
|
nuttx/
|
|
|
|
|
|
|
|
|
`- net/
|
|
|
|
|
|
2015-01-17 06:49:48 +08:00
|
|
|
+- arp - Address resolution protocol (IPv4)
|
2014-06-28 06:48:12 +08:00
|
|
|
+- devif - Stack/device interface layer
|
2015-01-15 04:26:50 +08:00
|
|
|
+- icmp - Internet Control Message Protocol (IPv4)
|
|
|
|
+- icmpv6 - Internet Control Message Protocol (IPv6)
|
2014-06-28 06:48:12 +08:00
|
|
|
+- iob - I/O buffering logic
|
2015-01-25 04:03:32 +08:00
|
|
|
+- local - Unix domain (local) sockets
|
2015-08-25 00:08:26 +08:00
|
|
|
+- loopback - Local loopback
|
2015-01-17 06:49:48 +08:00
|
|
|
+- neighbor - Neighbor Discovery Protocol (IPv6)
|
2014-06-28 06:48:12 +08:00
|
|
|
+- netdev - Socket network device interface
|
|
|
|
+- pkt - "Raw" packet socket support
|
|
|
|
+- socket - BSD socket interface
|
|
|
|
+- route - Routing table support
|
|
|
|
+- tcp - Transmission Control Protocol
|
|
|
|
+- udp - User Datagram Protocol
|
2017-03-31 22:58:14 +08:00
|
|
|
+- usrsock - User socket API for user-space networking stack
|
2014-06-28 06:48:12 +08:00
|
|
|
`- utils - Miscellaneous utility functions
|
|
|
|
|
|
|
|
|
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 |
|
|
|
|
+----------------------------------------------------------------+ +--------------------------+
|