net/sunrpc/auth_gss/gss_rpc_upcall.h

Source file repositories/reference/linux-study-clean/net/sunrpc/auth_gss/gss_rpc_upcall.h

File Facts

System
Linux kernel
Corpus path
net/sunrpc/auth_gss/gss_rpc_upcall.h
Extension
.h
Size
875 bytes
Lines
37
Domain
Networking Core
Bucket
Sockets, Protocols, Packet Path, And Network Policy
Inferred role
Networking Core: implementation source
Status
source implementation candidate

Why This File Exists

Networking stack implementation surface: socket APIs, protocol dispatch, packet flow, routing, filtering, and network namespaces.

Dependency Surface

Detected Declarations

Annotated Snippet

struct gssp_upcall_data {
	struct xdr_netobj in_handle;
	struct gssp_in_token in_token;
	struct xdr_netobj out_handle;
	struct xdr_netobj out_token;
	struct rpcsec_gss_oid mech_oid;
	struct svc_cred creds;
	int found_creds;
	int major_status;
	int minor_status;
};

int gssp_accept_sec_context_upcall(struct net *net,
				struct gssp_upcall_data *data);
void gssp_free_upcall_data(struct gssp_upcall_data *data);

void init_gssp_clnt(struct sunrpc_net *);
int set_gssp_clnt(struct net *);
void clear_gssp_clnt(struct sunrpc_net *);

#endif /* _GSS_RPC_UPCALL_H */

Annotation

Implementation Notes