Bug: 171318426

Clone this repo:

Branches

  1. 40876dc Add Android.bp files by Alistair Delva · 5 weeks ago master
  2. 1025034 p9: Use std::os::unix rather than std::os::linux. by Andrew Walbran · 5 weeks ago
  3. 376f07e Initial import of p9 rust crate by Alistair Delva · 5 weeks ago
  4. b2f28fa Initial empty repository by Thomas Joseph Avila · 5 weeks 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.