Clone this repo:

Branches

  1. d4001c4 Fix incremental builds of netstack2 by James Robinson · 2 days ago master
  2. 1b4d66e Switch to netstack2 by default by David Crawshaw · 3 days ago
  3. 9418d4e Do not panic on double-close. by David Crawshaw · 4 days ago
  4. 9dc4a7b Listen on newly accepted endpoint by David Crawshaw · 8 days ago
  5. 519af9e eth: add a ListenTX method by David Crawshaw · 12 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) |
 +----------------------------------+