tree: 84593a39fcb241f7a8302a96bad061814e2dab91 [path history] [tgz]
  1. fuzz/
  2. src/
  3. wire_format_derive/
  4. Cargo.toml
  5. README.md
vm_tools/p9/README.md

p9 - Server implementation of the 9p file system protocol

Warning: This document is old & has moved. Please update any links:
https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/vm_tools/p9/README.md

This directory contains the protocol definition and a server implementation of the 9p file system protocol.

  • wire_format_derive - A procedural macro that derives the serialization and de-serialization implementation for a struct into the 9p wire format.
  • src/protocol - Defines all the messages used in the 9p protocol. Also implements serialization and de-serialization for some base types (integers, strings, vectors) that form the foundation of all 9p messages. Wire format implementations for all other messages are derived using the wire_format_derive macro.
  • src/server.rs - Implements a full 9p server, carrying out file system requests on behalf of clients.