Clone this repo:

Branches

  1. 268789c Remove netstack1 code by Tim Kilbourn · 5 days ago master
  2. bf0389e Track netProto. by David Crawshaw · 12 days ago
  3. ecde32b Wait to flush buffers before closing channel. by Matt Perry · 2 weeks ago
  4. 6ef348b Remove flags for building netstack1. by Tim Kilbourn · 13 days ago
  5. bc7f2ec Make eth ioctls public by Tim Kilbourn · 3 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) |
 +----------------------------------+