Bug: 317282804

Clone this repo:
  1. 36f4bdc Migrate 25 crates to monorepo. am: 9619f5b19f by James Farrell · 4 months ago main
  2. 9619f5b Migrate 25 crates to monorepo. by James Farrell · 4 months ago
  3. cf89488 Update Android.bp by running cargo_embargo am: 1a1fb5dda5 by James Farrell · 4 months ago
  4. 1a1fb5d Update Android.bp by running cargo_embargo by James Farrell · 4 months ago
  5. f8ac0df Update module with host_cross_supported am: 518c650c9a by Ivan Lozano · 5 months ago

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.