Lines Matching refs:gc

660 		  __be32 *rpcstart, struct rpc_gss_wire_cred *gc, __be32 *authp)  in gss_verify_header()  argument
690 if (gc->gc_seq > MAXSEQ) { in gss_verify_header()
692 "large sequence number %d\n", gc->gc_seq); in gss_verify_header()
696 if (!gss_check_seq_num(rsci, gc->gc_seq)) { in gss_verify_header()
698 "old sequence number %d\n", gc->gc_seq); in gss_verify_header()
950 struct rpc_gss_wire_cred *gc = &svcdata->clcred; in svcauth_gss_set_client() local
962 rqstp->rq_gssclient = find_gss_auth_domain(rsci->mechctx, gc->gc_svc); in svcauth_gss_set_client()
991 gss_read_common_verf(struct rpc_gss_wire_cred *gc, in gss_read_common_verf() argument
1005 if (gc->gc_proc == RPC_GSS_PROC_INIT && gc->gc_ctx.len != 0) in gss_read_common_verf()
1007 if (dup_netobj(in_handle, &gc->gc_ctx)) in gss_read_common_verf()
1015 gss_read_verf(struct rpc_gss_wire_cred *gc, in gss_read_verf() argument
1023 res = gss_read_common_verf(gc, argv, authp, in_handle); in gss_read_verf()
1050 struct rpc_gss_wire_cred *gc, __be32 *authp, in gss_read_proxy_verf() argument
1058 res = gss_read_common_verf(gc, argv, authp, in_handle); in gss_read_proxy_verf()
1101 struct rpc_gss_wire_cred *gc, __be32 *authp) in svcauth_gss_legacy_init() argument
1110 ret = gss_read_verf(gc, argv, authp, in svcauth_gss_legacy_init()
1210 struct rpc_gss_wire_cred *gc, __be32 *authp) in svcauth_gss_proxy_init() argument
1222 ret = gss_read_proxy_verf(rqstp, gc, authp, in svcauth_gss_proxy_init()
1403 struct rpc_gss_wire_cred *gc; in svcauth_gss_accept() local
1421 gc = &svcdata->clcred; in svcauth_gss_accept()
1439 gc->gc_proc = svc_getnl(argv); in svcauth_gss_accept()
1440 gc->gc_seq = svc_getnl(argv); in svcauth_gss_accept()
1441 gc->gc_svc = svc_getnl(argv); in svcauth_gss_accept()
1442 if (svc_safe_getnetobj(argv, &gc->gc_ctx)) in svcauth_gss_accept()
1444 if (crlen != round_up_to_quad(gc->gc_ctx.len) + 5 * 4) in svcauth_gss_accept()
1447 if ((gc->gc_proc != RPC_GSS_PROC_DATA) && (rqstp->rq_proc != 0)) in svcauth_gss_accept()
1451 switch (gc->gc_proc) { in svcauth_gss_accept()
1455 return svcauth_gss_proxy_init(rqstp, gc, authp); in svcauth_gss_accept()
1457 return svcauth_gss_legacy_init(rqstp, gc, authp); in svcauth_gss_accept()
1462 rsci = gss_svc_searchbyctx(sn->rsc_cache, &gc->gc_ctx); in svcauth_gss_accept()
1465 switch (gss_verify_header(rqstp, rsci, rpcstart, gc, authp)) { in svcauth_gss_accept()
1480 switch (gc->gc_proc) { in svcauth_gss_accept()
1482 if (gss_write_verf(rqstp, rsci->mechctx, gc->gc_seq)) in svcauth_gss_accept()
1493 if (gss_write_verf(rqstp, rsci->mechctx, gc->gc_seq)) in svcauth_gss_accept()
1498 switch (gc->gc_svc) { in svcauth_gss_accept()
1506 gc->gc_seq, rsci->mechctx)) in svcauth_gss_accept()
1515 gc->gc_seq, rsci->mechctx)) in svcauth_gss_accept()
1527 gc->gc_svc); in svcauth_gss_accept()
1581 struct rpc_gss_wire_cred *gc = &gsd->clcred; in svcauth_gss_wrap_resp_integ() local
1597 *p++ = htonl(gc->gc_seq); in svcauth_gss_wrap_resp_integ()
1628 struct rpc_gss_wire_cred *gc = &gsd->clcred; in svcauth_gss_wrap_resp_priv() local
1640 *p++ = htonl(gc->gc_seq); in svcauth_gss_wrap_resp_priv()
1693 struct rpc_gss_wire_cred *gc = &gsd->clcred; in svcauth_gss_release() local
1698 if (gc->gc_proc != RPC_GSS_PROC_DATA) in svcauth_gss_release()
1707 switch (gc->gc_svc) { in svcauth_gss_release()