#include <linux/sunrpc/svcauth.h>
#include "gss_rpc_xdr.h"
static int gssx_enc_bool(struct xdr_stream *xdr, int v)
{ … }
static int gssx_dec_bool(struct xdr_stream *xdr, u32 *v)
{ … }
static int gssx_enc_buffer(struct xdr_stream *xdr,
const gssx_buffer *buf)
{ … }
static int gssx_enc_in_token(struct xdr_stream *xdr,
const struct gssp_in_token *in)
{ … }
static int gssx_dec_buffer(struct xdr_stream *xdr,
gssx_buffer *buf)
{ … }
static int gssx_enc_option(struct xdr_stream *xdr,
struct gssx_option *opt)
{ … }
static int gssx_dec_option(struct xdr_stream *xdr,
struct gssx_option *opt)
{ … }
static int dummy_enc_opt_array(struct xdr_stream *xdr,
const struct gssx_option_array *oa)
{ … }
static int dummy_dec_opt_array(struct xdr_stream *xdr,
struct gssx_option_array *oa)
{ … }
static int get_host_u32(struct xdr_stream *xdr, u32 *res)
{ … }
static int gssx_dec_linux_creds(struct xdr_stream *xdr,
struct svc_cred *creds)
{ … }
static int gssx_dec_option_array(struct xdr_stream *xdr,
struct gssx_option_array *oa)
{ … }
static int gssx_dec_status(struct xdr_stream *xdr,
struct gssx_status *status)
{ … }
static int gssx_enc_call_ctx(struct xdr_stream *xdr,
const struct gssx_call_ctx *ctx)
{ … }
static int gssx_dec_name_attr(struct xdr_stream *xdr,
struct gssx_name_attr *attr)
{ … }
static int dummy_enc_nameattr_array(struct xdr_stream *xdr,
struct gssx_name_attr_array *naa)
{ … }
static int dummy_dec_nameattr_array(struct xdr_stream *xdr,
struct gssx_name_attr_array *naa)
{ … }
static struct xdr_netobj zero_netobj = …;
static struct gssx_name_attr_array zero_name_attr_array = …;
static struct gssx_option_array zero_option_array = …;
static int gssx_enc_name(struct xdr_stream *xdr,
struct gssx_name *name)
{ … }
static int gssx_dec_name(struct xdr_stream *xdr,
struct gssx_name *name)
{ … }
static int dummy_enc_credel_array(struct xdr_stream *xdr,
struct gssx_cred_element_array *cea)
{ … }
static int gssx_enc_cred(struct xdr_stream *xdr,
struct gssx_cred *cred)
{ … }
static int gssx_enc_ctx(struct xdr_stream *xdr,
struct gssx_ctx *ctx)
{ … }
static int gssx_dec_ctx(struct xdr_stream *xdr,
struct gssx_ctx *ctx)
{ … }
static int gssx_enc_cb(struct xdr_stream *xdr, struct gssx_cb *cb)
{ … }
void gssx_enc_accept_sec_context(struct rpc_rqst *req,
struct xdr_stream *xdr,
const void *data)
{ … }
int gssx_dec_accept_sec_context(struct rpc_rqst *rqstp,
struct xdr_stream *xdr,
void *data)
{ … }