Bug: 317282512

Clone this repo:
  1. a4406b1 Update Android.bp by running cargo_embargo by James Farrell · 12 days ago main
  2. e6e2706 add cargo_embargo.json and Android.bp am: 8b418a36cf by Frederick Mayle · 4 months ago
  3. 8b418a3 add cargo_embargo.json and Android.bp by Frederick Mayle · 4 months ago simpleperf-release
  4. 3757e9a Merge remote-tracking branch 'origin/upstream' am: ba3b67e749 by Inna Palant · 4 months ago
  5. ba3b67e Merge remote-tracking branch 'origin/upstream' by Inna Palant · 4 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.