diff options
author | Chirantan Ekbote <chirantan@chromium.org> | 2018-04-04 18:16:43 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-06-15 10:56:39 -0700 |
commit | b657603f10daf62fa6fe18d56adbe35f6caf8587 (patch) | |
tree | 31148a8e1d69f1e8a3c5ed60748498e09e9617a6 /p9/src/lib.rs | |
parent | a7b0a712042dcc60baf88a48d1220633ed4a192f (diff) | |
download | crosvm-b657603f10daf62fa6fe18d56adbe35f6caf8587.tar crosvm-b657603f10daf62fa6fe18d56adbe35f6caf8587.tar.gz crosvm-b657603f10daf62fa6fe18d56adbe35f6caf8587.tar.bz2 crosvm-b657603f10daf62fa6fe18d56adbe35f6caf8587.tar.lz crosvm-b657603f10daf62fa6fe18d56adbe35f6caf8587.tar.xz crosvm-b657603f10daf62fa6fe18d56adbe35f6caf8587.tar.zst crosvm-b657603f10daf62fa6fe18d56adbe35f6caf8587.zip |
p9: Add server implementation
Implement all the server methods for the 9P protocol. BUG=chromium:703939 TEST=bonnie++ -r 256 Change-Id: I6b1b5fe4fea4d4941db42e5c1a364a54d0827054 Signed-off-by: Chirantan Ekbote <chirantan@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1013203 Reviewed-by: Stephen Barber <smbarber@chromium.org> Reviewed-by: Dylan Reid <dgreid@chromium.org>
Diffstat (limited to 'p9/src/lib.rs')
-rw-r--r-- | p9/src/lib.rs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/p9/src/lib.rs b/p9/src/lib.rs index 80f74d8..ef0744e 100644 --- a/p9/src/lib.rs +++ b/p9/src/lib.rs @@ -2,13 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +extern crate libc; + #[macro_use] extern crate wire_format_derive; mod protocol; +mod server; -#[derive(P9WireFormat)] -struct Test { - a: u32, - b: u16, -} +pub use server::Server; |