Bug: 171318426

Clone this repo:
  1. 9906908 Mark ab/7061308 as merged in stage. by Xin Li · 3 months ago master
  2. 83828e1 [LSC] Add LOCAL_LICENSE_KINDS to external/vm_tools/p9 am: 55c6984c1a by Bob Badour · 3 months ago
  3. 55c6984 [LSC] Add LOCAL_LICENSE_KINDS to external/vm_tools/p9 by Bob Badour · 3 months ago android-s-preview-1
  4. 1ef5dc7 Clean up rust_test_host TEST_MAPPING after default update am: 022ce5de1f by Julien Desprez · 3 months ago
  5. 022ce5d Clean up rust_test_host TEST_MAPPING after default update by Julien Desprez · 3 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.