linux/net/sunrpc/auth_gss/gss_rpc_upcall.c

// SPDX-License-Identifier: GPL-2.0+
/*
 *  linux/net/sunrpc/gss_rpc_upcall.c
 *
 *  Copyright (C) 2012 Simo Sorce <[email protected]>
 */

#include <linux/types.h>
#include <linux/un.h>

#include <linux/sunrpc/svcauth.h>
#include "gss_rpc_upcall.h"

#define GSSPROXY_SOCK_PATHNAME

#define GSSPROXY_PROGRAM
#define GSSPROXY_VERS_1

/*
 * Encoding/Decoding functions
 */

enum {};

#define PROC(proc, name)

static const struct rpc_procinfo gssp_procedures[] =;



/*
 * Common transport functions
 */

static const struct rpc_program gssp_program;

static int gssp_rpc_create(struct net *net, struct rpc_clnt **_clnt)
{}

void init_gssp_clnt(struct sunrpc_net *sn)
{}

int set_gssp_clnt(struct net *net)
{}

void clear_gssp_clnt(struct sunrpc_net *sn)
{}

static struct rpc_clnt *get_gssp_clnt(struct sunrpc_net *sn)
{}

static int gssp_call(struct net *net, struct rpc_message *msg)
{}

static void gssp_free_receive_pages(struct gssx_arg_accept_sec_context *arg)
{}

static int gssp_alloc_receive_pages(struct gssx_arg_accept_sec_context *arg)
{}

static char *gssp_stringify(struct xdr_netobj *netobj)
{}

static void gssp_hostbased_service(char **principal)
{}

/*
 * Public functions
 */

/* numbers somewhat arbitrary but large enough for current needs */
#define GSSX_MAX_OUT_HANDLE
#define GSSX_MAX_SRC_PRINC
#define GSSX_KMEMBUF

int gssp_accept_sec_context_upcall(struct net *net,
				struct gssp_upcall_data *data)
{}

void gssp_free_upcall_data(struct gssp_upcall_data *data)
{}

/*
 * Initialization stuff
 */
static unsigned int gssp_version1_counts[ARRAY_SIZE(gssp_procedures)];
static const struct rpc_version gssp_version1 =;

static const struct rpc_version *gssp_version[] =;

static struct rpc_stat gssp_stats;

static const struct rpc_program gssp_program =;