xref: /kernel/linux/linux-5.10/net/9p/protocol.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/net/9p/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * net/9p/protocol.h
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * 9P Protocol Support Code
68c2ecf20Sopenharmony_ci *
78c2ecf20Sopenharmony_ci *  Copyright (C) 2008 by Eric Van Hensbergen <ericvh@gmail.com>
88c2ecf20Sopenharmony_ci *
98c2ecf20Sopenharmony_ci *  Base on code from Anthony Liguori <aliguori@us.ibm.com>
108c2ecf20Sopenharmony_ci *  Copyright (C) 2008 by IBM, Corp.
118c2ecf20Sopenharmony_ci */
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ciint p9pdu_vwritef(struct p9_fcall *pdu, int proto_version, const char *fmt,
148c2ecf20Sopenharmony_ci								va_list ap);
158c2ecf20Sopenharmony_ciint p9pdu_readf(struct p9_fcall *pdu, int proto_version, const char *fmt, ...);
168c2ecf20Sopenharmony_ciint p9pdu_prepare(struct p9_fcall *pdu, int16_t tag, int8_t type);
178c2ecf20Sopenharmony_ciint p9pdu_finalize(struct p9_client *clnt, struct p9_fcall *pdu);
188c2ecf20Sopenharmony_civoid p9pdu_reset(struct p9_fcall *pdu);
198c2ecf20Sopenharmony_cisize_t pdu_read(struct p9_fcall *pdu, void *data, size_t size);
20

Indexes created Thu Nov 07 10:32:03 CST 2024