Bug: 317282512

Clone this repo:
  1. 9397763 Migrate 25 crates to monorepo. am: 325d365569 by James Farrell · 6 weeks ago main
  2. 325d365 Migrate 25 crates to monorepo. by James Farrell · 6 weeks ago
  3. 4eb4793 Update Android.bp by running cargo_embargo am: 51b159cda0 by James Farrell · 9 weeks ago
  4. 51b159c Update Android.bp by running cargo_embargo by James Farrell · 9 weeks ago
  5. 68b0097 Mark ab/11976889 as merged in aosp-main-future by Xin Li · 4 months ago android15-tests-dev

p9 - Server implementation of the 9p file system protocol

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.