Clone this repo:

Branches

  1. 3498580 Update gn paths for FTL, FIDL, and MTL by Adam Barth · 3 weeks ago master
  2. 32303c7 [netstack] Set # of attempts to 1 in NetDatagramTest by Toshi Kikuchi · 3 weeks ago
  3. 748b8a5 netstack_loopback_test: Add NetDatagramTest by Toshi Kikuchi · 3 weeks ago
  4. faa3bd7 Revert accidental change to udptest.c. by Matt Perry · 4 weeks ago
  5. 9898e71 Add an ifconfig tool to list all net interfaces. by Matt Perry · 4 weeks ago

Netstack

Netstack is a userspace TCP/IP network stack and interfaces with magenta network drivers. Netstack serves as a back-end for mxio socket API.

 +-----------+         +-----------+
 | FIDL app  |         | POSIX app |
 +------+----+         +-----+-----+
        |                    |
+-------v--------------+     |
| FIDL network service |     |
|   (//apps/network)   |     |
+-------+--------------+     |
        |                    |
  +-----v--------------------v-----+
  |         BSD socket API         |
  |  (//magenta/system/ulib/mxio)  |
  +---------------+----------------+
                  |
    +-------------v--------------+
    |         netstack           |
    |     (//apps/netstack)      |
    +-------------+--------------+
                  |
 +----------------v-----------------+
 |         Ethernet driver          |
 | (//magenta/system/udev/ethernet) |
 +----------------------------------+