9p: add new protocol support code
authorEric Van Hensbergen <ericvh@gmail.com>
Tue, 14 Oct 2008 01:40:27 +0000 (20:40 -0500)
committerEric Van Hensbergen <ericvh@gmail.com>
Fri, 17 Oct 2008 16:04:44 +0000 (11:04 -0500)
commitace51c4dd2f968f427c4627023759ae7e3786cba
tree5d3b82a8a3deb4496a40a2440305c5ace145c5c7
parent6936bf60d2c407449c09e3f28ec0301e1f937106
9p: add new protocol support code

This adds a new protocol processing support code based on Anthony Liguori's
9p library code.  This code performs protocol marshalling/unmarshalling using
printf like strings to represent protocol elements.  It is my intent to use
them to replace the current functions in conv.c as well as the
p9_create_* functions.

This should make the client implementation much more clear, and also make it
much easier to add new protocol extensions by limiting the number of places
in which changes need to be made.

Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
include/net/9p/9p.h
net/9p/Makefile
net/9p/protocol.c [new file with mode: 0644]
net/9p/protocol.h [new file with mode: 0644]