Home
last modified time | relevance | path

Searched refs:verf (Results 1 – 24 of 24) sorted by relevance

/titanic_41/usr/src/lib/rpcsec_gss/
H A Drpcsec_gss.c506 struct opaque_auth verf; local
515 verf.oa_flavor = AUTH_NONE;
516 verf.oa_base = NULL;
517 verf.oa_length = 0;
518 return (xdr_opaque_auth(xdrs, &verf));
521 verf.oa_flavor = RPCSEC_GSS;
531 verf.oa_base = out_buf.value;
532 verf.oa_length = out_buf.length;
533 ret = xdr_opaque_auth(xdrs, &verf);
590 rpc_gss_validate(auth, verf) in rpc_gss_validate() argument
[all …]
/titanic_41/usr/src/lib/libnsl/rpc/
H A Dauthdes_prot.c75 xdr_authdes_verf(XDR *xdrs, struct authdes_verf *verf) in xdr_authdes_verf() argument
80 if (!xdr_opaque(xdrs, (caddr_t)&verf->adv_xtimestamp, in xdr_authdes_verf()
83 return (xdr_opaque(xdrs, (caddr_t)&verf->adv_int_u, in xdr_authdes_verf()
84 (uint_t)sizeof (verf->adv_int_u))); in xdr_authdes_verf()
H A Dsvcauth_des.c136 struct authdes_verf verf; in __svcauth_des() local
200 verf.adv_xtimestamp.key.high = (uint32_t)*ixdr++; in __svcauth_des()
201 verf.adv_xtimestamp.key.low = (uint32_t)*ixdr++; in __svcauth_des()
202 verf.adv_int_u = (uint32_t)*ixdr++; in __svcauth_des()
276 cryptbuf[0] = verf.adv_xtimestamp; in __svcauth_des()
279 cryptbuf[1].key.low = verf.adv_winverf; in __svcauth_des()
397 verf.adv_nickname = sid; in __svcauth_des()
418 verf.adv_xtimestamp = cryptbuf[0]; in __svcauth_des()
425 *ixdr++ = (int32_t)verf.adv_xtimestamp.key.high; in __svcauth_des()
426 *ixdr++ = (int32_t)verf.adv_xtimestamp.key.low; in __svcauth_des()
[all …]
H A Dauth_des.c251 struct authdes_verf *verf = &ad->ad_verf; in authdes_marshal() local
334 return (xdr_authdes_verf(xdrs, verf)); in authdes_marshal()
346 struct authdes_verf verf; in authdes_validate() local
357 verf.adv_int_u = (uint32_t)*ixdr++; in authdes_validate()
375 verf.adv_timestamp.tv_sec = IXDR_GET_INT32(ixdr) + 1; in authdes_validate()
376 verf.adv_timestamp.tv_usec = IXDR_GET_INT32(ixdr); in authdes_validate()
381 if (memcmp(&ad->ad_timestamp, &verf.adv_timestamp, in authdes_validate()
390 ad->ad_nickname = verf.adv_nickname; in authdes_validate()
H A Dauth_sys.c253 authsys_validate(AUTH *auth, struct opaque_auth *verf) in authsys_validate() argument
258 if (verf->oa_flavor == AUTH_SHORT) { in authsys_validate()
261 xdrmem_create(&xdrs, verf->oa_base, in authsys_validate()
262 verf->oa_length, XDR_DECODE); in authsys_validate()
/titanic_41/usr/src/uts/common/rpc/sec/
H A Dauthdesprt.c75 xdr_authdes_verf(XDR *xdrs, struct authdes_verf *verf) in xdr_authdes_verf() argument
80 ATTEMPT(xdr_opaque(xdrs, (caddr_t)&verf->adv_xtimestamp, in xdr_authdes_verf()
82 ATTEMPT(xdr_opaque(xdrs, (caddr_t)&verf->adv_int_u, in xdr_authdes_verf()
83 sizeof (verf->adv_int_u))); in xdr_authdes_verf()
H A Dsvcauthdes.c142 struct authdes_verf verf; in _svcauth_des() local
202 verf.adv_xtimestamp.key.high = (uint32_t)*ixdr++; in _svcauth_des()
203 verf.adv_xtimestamp.key.low = (uint32_t)*ixdr++; in _svcauth_des()
204 verf.adv_int_u = (uint32_t)*ixdr++; in _svcauth_des()
232 cryptbuf[0] = verf.adv_xtimestamp; in _svcauth_des()
235 cryptbuf[1].key.low = verf.adv_winverf; in _svcauth_des()
319 verf.adv_xtimestamp = cryptbuf[0]; in _svcauth_des()
335 verf.adv_nickname = nick_entry->nickname; in _svcauth_des()
342 *ixdr++ = (int32_t)verf.adv_xtimestamp.key.high; in _svcauth_des()
343 *ixdr++ = (int32_t)verf.adv_xtimestamp.key.low; in _svcauth_des()
[all …]
H A Dauth_des.c230 struct authdes_verf *verf = &ad->ad_verf; in authdes_marshal() local
308 ATTEMPT(xdr_authdes_verf(xdrs, verf)); in authdes_marshal()
320 struct authdes_verf verf; in authdes_validate() local
332 verf.adv_int_u = IXDR_GET_U_INT32(ixdr); in authdes_validate()
350 verf.adv_timestamp.tv_sec = IXDR_GET_INT32(ixdr) + 1; in authdes_validate()
351 verf.adv_timestamp.tv_usec = IXDR_GET_INT32(ixdr); in authdes_validate()
356 if (bcmp((char *)&ad->ad_timestamp, (char *)&verf.adv_timestamp, in authdes_validate()
365 ad->ad_nickname = verf.adv_nickname; in authdes_validate()
H A Dauth_none.c132 authnone_validate(AUTH *auth, struct opaque_auth *verf) in authnone_validate() argument
H A Dauth_kern.c239 authkern_validate(AUTH *auth, struct opaque_auth *verf) in authkern_validate() argument
H A Dauth_loopb.c244 authloopback_validate(AUTH *auth, struct opaque_auth *verf) in authloopback_validate() argument
/titanic_41/usr/src/uts/common/rpc/sec_gss/
H A Drpcsec_gss.c938 struct opaque_auth verf; local
947 verf.oa_flavor = AUTH_NONE;
948 verf.oa_base = NULL;
949 verf.oa_length = 0;
950 return (xdr_opaque_auth(xdrs, &verf));
953 verf.oa_flavor = RPCSEC_GSS;
966 verf.oa_base = out_buf.value;
967 verf.oa_length = out_buf.length;
968 ret = xdr_opaque_auth(xdrs, &verf);
1013 rpc_gss_validate(auth, verf) in rpc_gss_validate() argument
[all …]
/titanic_41/usr/src/stand/lib/fs/nfs/
H A Dauth_unix.c172 authunix_validate(AUTH *auth, struct opaque_auth *verf) in authunix_validate() argument
177 if (verf->oa_flavor == AUTH_SHORT) { in authunix_validate()
181 xdrmem_create(&xdrs, verf->oa_base, verf->oa_length, in authunix_validate()
/titanic_41/usr/src/head/rpcsvc/
H A Dnfs_prot.x750 writeverf3 verf; member
778 createverf3 verf; variable
1180 writeverf3 verf; member
/titanic_41/usr/src/cmd/gss/gssd/
H A Dgssd_proc.c61 OM_uint32 verf; member
176 gssd_ctx_slot_tbl[i].verf = 0; in gssd_setup()
184 gssd_ctx_slot_tbl[0].verf = 0; in gssd_setup()
237 lru->verf = context_verf; in gssd_alloc_slot()
306 OM_uint32 verf, in gssd_convert_context_handle() argument
328 if (verf != slot->verf) in gssd_convert_context_handle()
1034 res->gssd_context_verifier = slot->verf;
1290 res->gssd_context_verifier = slot->verf;
/titanic_41/usr/src/uts/common/inet/sctp/
H A Dsctp.c941 uint32_t verf, *vp; in sctp_icmp_verf() local
951 bcopy(vp, &verf, sizeof (verf)); in sctp_icmp_verf()
953 if (verf == sctp->sctp_lvtag) { in sctp_icmp_verf()
/titanic_41/usr/src/uts/common/nfs/
H A Dnfs.h1533 writeverf3 verf; member
1562 createverf3 verf; member
2053 writeverf3 verf; member
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs3_xdr.c1704 return (xdr_u_longlong_t(xdrs, &resokp->verf)); in xdr_WRITE3res()
1731 return (xdr_u_longlong_t(xdrs, &howp->createhow3_u.verf)); in xdr_CREATE3args()
2673 return (xdr_u_longlong_t(xdrs, &resokp->verf)); in xdr_COMMIT3res()
H A Dnfs3_srv.c1373 resp->resok.verf = write3verf; in rfs3_write()
1475 resp->resok.verf = write3verf; in rfs3_write()
1593 mtime = (nfstime3 *)&args->how.createhow3_u.verf; in rfs3_create()
1753 mtime = (nfstime3 *)&args->how.createhow3_u.verf; in rfs3_create()
4093 resp->resok.verf = write3verf; in rfs3_commit()
H A Dnfs4_vfsops.c3420 verifier4 verf; in nfs4setclientid_otw() local
3538 verf = s_resok->setclientid_confirm; in nfs4setclientid_otw()
3551 "verifier = %" PRIx64 "\n", cid.foo[0], cid.foo[1], verf); in nfs4setclientid_otw()
3567 argop[0].nfs_argop4_u.opsetclientid_confirm.setclientid_confirm = verf; in nfs4setclientid_otw()
H A Dnfs3_vnops.c1091 if (rp->r_verf != res.resok.verf) { in nfs3write()
1093 rp->r_verf = res.resok.verf; in nfs3write()
1106 rp->r_verf = res.resok.verf; in nfs3write()
2432 verfp = (nfstime3 *)&args.how.createhow3_u.verf; in nfs3create()
6210 if (rp->r_verf == res.resok.verf) { in nfs3_commit()
6215 rp->r_verf = res.resok.verf; in nfs3_commit()
H A Dnfs4_srv.c505 timespec32_t verf; in rfs4_srvrinit() local
528 verf.tv_sec = (time_t)zone_get_hostid(NULL); in rfs4_srvrinit()
529 if (verf.tv_sec != 0) { in rfs4_srvrinit()
530 verf.tv_nsec = gethrestime_sec(); in rfs4_srvrinit()
535 verf.tv_sec = (time_t)tverf.tv_sec; in rfs4_srvrinit()
536 verf.tv_nsec = tverf.tv_nsec; in rfs4_srvrinit()
539 Write4verf = *(uint64_t *)&verf; in rfs4_srvrinit()
H A Dnfs4_vnops.c793 struct nfs4_excl_time verf; in nfs4open_otw() local
953 verf.seconds = zone_get_hostid(NULL); in nfs4open_otw()
954 if (verf.seconds != 0) in nfs4open_otw()
955 verf.nseconds = newnum(); in nfs4open_otw()
960 verf.seconds = now.tv_sec; in nfs4open_otw()
961 verf.nseconds = now.tv_nsec; in nfs4open_otw()
969 verf.seconds &= INT32_MAX; in nfs4open_otw()
974 open_args->createhow4_u.createverf = *(uint64_t *)&verf; in nfs4open_otw()
/titanic_41/usr/src/lib/libnsl/common/
H A Dllib-lnsl499 bool_t xdr_authdes_verf(XDR *xdrs, struct authdes_verf *verf);