tree: 9b15d57487c89664467fc741cfbb9185f89df42f [path history] [tgz]
  1. BUILD.gn
  2. README.md
  3. connectivity/
  4. dhcp/
  5. dns/
  6. fidlconv/
  7. filter/
  8. fuchsia_inspect_inspect.go
  9. fuchsia_net_socket.go
  10. fuchsia_net_stack.go
  11. fuchsia_net_stack_test.go
  12. ifconfig/
  13. link/
  14. main.go
  15. meta/
  16. netstack.go
  17. netstack_service.go
  18. netstack_service_impl_test.go
  19. netstack_service_test/
  20. netstack_test.go
  21. netstat/
  22. pprof.go
  23. pprof_stub.go
  24. routes/
  25. services.go
  26. socket_conv.go
  27. socket_encode.go
  28. socket_server.go
  29. tests/
  30. util/
src/connectivity/network/netstack/README.md

Netstack

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

 +-----------+           +-----------+
 | FIDL app  |           | POSIX app |
 +--+--------+           +-----+-----+
    |                          |
    |                          |
    |                          |
    |                          |
    |                          |
    |                          |
    |   +----------------------v---------+
    |   |         BSD socket API         |
    |   |  (//zircon/system/ulib/fdio)   |
    |   +---------+----------------------+
    |             |
 +--v-------------v----------------------+
 |            netstack                   |
 | (//src/connectivity/network/netstack) |
 +----------------+----------------------+
                  |
 +----------------v-----------------+
 |         Ethernet driver          |
 | (//zircon/system/udev/ethernet)  |
 +----------------------------------+