1
2
3
4
5
6
7
8 #ifndef _GSS_RPC_UPCALL_H
9 #define _GSS_RPC_UPCALL_H
10
11 #include <linux/sunrpc/gss_api.h>
12 #include <linux/sunrpc/auth_gss.h>
13 #include "gss_rpc_xdr.h"
14 #include "../netns.h"
15
16 struct gssp_upcall_data {
17 struct xdr_netobj in_handle;
18 struct gssp_in_token in_token;
19 struct xdr_netobj out_handle;
20 struct xdr_netobj out_token;
21 struct rpcsec_gss_oid mech_oid;
22 struct svc_cred creds;
23 int found_creds;
24 int major_status;
25 int minor_status;
26 };
27
28 int gssp_accept_sec_context_upcall(struct net *net,
29 struct gssp_upcall_data *data);
30 void gssp_free_upcall_data(struct gssp_upcall_data *data);
31
32 void init_gssp_clnt(struct sunrpc_net *);
33 int set_gssp_clnt(struct net *);
34 void clear_gssp_clnt(struct sunrpc_net *);
35
36 #endif