crosvm/common/p9
Dennis Kempin b2bc9e866a wire_format_derive: Move entry point to standard location
For bazel migration we will require lib entry points to be in their
standard location at src/lib.rs

BUG=b:289258700
TEST=CQ

Change-Id: Iab3f934ee61c8fbbd346525628c22106a0a88b7e
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4691362
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@google.com>
2023-07-17 18:47:33 +00:00
..
src Partial revert: crosvm: Deprecate DataInit 2023-07-13 19:07:08 +00:00
wire_format_derive wire_format_derive: Move entry point to standard location 2023-07-17 18:47:33 +00:00
Cargo.toml Partial revert: crosvm: Deprecate DataInit 2023-07-13 19:07:08 +00:00
OWNERS p9: re-add OWNERS file for fuzzer ownership 2022-01-10 20:43:27 +00:00
README.md docs: Use mdformat to format markdown files 2022-01-27 21:29:11 +00:00

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.