Clone this repo:

Branches

  1. 7955589 Clean up resources when eth devices are removed. by David Crawshaw · 28 hours ago master
  2. d14bfdc Merge "Create netif object to track eth device state." by David Crawshaw · 32 hours ago
  3. 612911a Create netif object to track eth device state. by David Crawshaw · 4 days ago
  4. de338ac Rename gobuild.gni to go_binary.gni by Sean Klein · 4 days ago
  5. 948ac8b Fix broken netstack watcher by Sean Klein · 5 days 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) |
 +----------------------------------+