Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/rpcsec_gss/
H A Drpcsec_gss.c519 struct opaque_auth verf; local
528 verf.oa_flavor = AUTH_NONE;
529 verf.oa_base = NULL;
530 verf.oa_length = 0;
531 return (xdr_opaque_auth(xdrs, &verf));
534 verf.oa_flavor = RPCSEC_GSS;
544 verf.oa_base = out_buf.value;
545 verf.oa_length = out_buf.length;
546 ret = xdr_opaque_auth(xdrs, &verf);
603 rpc_gss_validate(auth, verf) in rpc_gss_validate() argument
[all …]
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dauthdesprt.c73 xdr_authdes_verf(XDR *xdrs, struct authdes_verf *verf) in xdr_authdes_verf() argument
78 ATTEMPT(xdr_opaque(xdrs, (caddr_t)&verf->adv_xtimestamp, in xdr_authdes_verf()
80 ATTEMPT(xdr_opaque(xdrs, (caddr_t)&verf->adv_int_u, in xdr_authdes_verf()
81 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.c228 struct authdes_verf *verf = &ad->ad_verf; in authdes_marshal() local
306 ATTEMPT(xdr_authdes_verf(xdrs, verf)); in authdes_marshal()
318 struct authdes_verf verf; in authdes_validate() local
330 verf.adv_int_u = IXDR_GET_U_INT32(ixdr); in authdes_validate()
348 verf.adv_timestamp.tv_sec = IXDR_GET_INT32(ixdr) + 1; in authdes_validate()
349 verf.adv_timestamp.tv_usec = IXDR_GET_INT32(ixdr); in authdes_validate()
354 if (bcmp((char *)&ad->ad_timestamp, (char *)&verf.adv_timestamp, in authdes_validate()
363 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
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dauthdes_prot.c73 xdr_authdes_verf(XDR *xdrs, struct authdes_verf *verf) in xdr_authdes_verf() argument
78 if (!xdr_opaque(xdrs, (caddr_t)&verf->adv_xtimestamp, in xdr_authdes_verf()
81 return (xdr_opaque(xdrs, (caddr_t)&verf->adv_int_u, in xdr_authdes_verf()
82 (uint_t)sizeof (verf->adv_int_u))); in xdr_authdes_verf()
H A Dsvcauth_des.c137 struct authdes_verf verf; in __svcauth_des() local
201 verf.adv_xtimestamp.key.high = (uint32_t)*ixdr++; in __svcauth_des()
202 verf.adv_xtimestamp.key.low = (uint32_t)*ixdr++; in __svcauth_des()
203 verf.adv_int_u = (uint32_t)*ixdr++; in __svcauth_des()
277 cryptbuf[0] = verf.adv_xtimestamp; in __svcauth_des()
280 cryptbuf[1].key.low = verf.adv_winverf; in __svcauth_des()
398 verf.adv_nickname = sid; in __svcauth_des()
419 verf.adv_xtimestamp = cryptbuf[0]; in __svcauth_des()
426 *ixdr++ = (int32_t)verf.adv_xtimestamp.key.high; in __svcauth_des()
427 *ixdr++ = (int32_t)verf.adv_xtimestamp.key.low; in __svcauth_des()
[all …]
H A Dauth_des.c249 struct authdes_verf *verf = &ad->ad_verf; in authdes_marshal() local
332 return (xdr_authdes_verf(xdrs, verf)); in authdes_marshal()
344 struct authdes_verf verf; in authdes_validate() local
355 verf.adv_int_u = (uint32_t)*ixdr++; in authdes_validate()
373 verf.adv_timestamp.tv_sec = IXDR_GET_INT32(ixdr) + 1; in authdes_validate()
374 verf.adv_timestamp.tv_usec = IXDR_GET_INT32(ixdr); in authdes_validate()
379 if (memcmp(&ad->ad_timestamp, &verf.adv_timestamp, in authdes_validate()
388 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()
/illumos-gate/usr/src/uts/common/rpc/sec_gss/
H A Drpcsec_gss.c956 struct opaque_auth verf; local
965 verf.oa_flavor = AUTH_NONE;
966 verf.oa_base = NULL;
967 verf.oa_length = 0;
968 return (xdr_opaque_auth(xdrs, &verf));
971 verf.oa_flavor = RPCSEC_GSS;
984 verf.oa_base = out_buf.value;
985 verf.oa_length = out_buf.length;
986 ret = xdr_opaque_auth(xdrs, &verf);
1031 rpc_gss_validate(auth, verf) in rpc_gss_validate() argument
[all …]
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dauth_unix.c162 authunix_validate(AUTH *auth, struct opaque_auth *verf) in authunix_validate() argument
167 if (verf->oa_flavor == AUTH_SHORT) { in authunix_validate()
171 xdrmem_create(&xdrs, verf->oa_base, verf->oa_length, in authunix_validate()
/illumos-gate/usr/src/head/rpcsvc/
H A Dnfs_prot.x747 writeverf3 verf; member
775 createverf3 verf; variable
1177 writeverf3 verf; member
/illumos-gate/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;
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/nfs/
H A Dnfs.h1610 writeverf3 verf; member
1639 createverf3 verf; member
2130 writeverf3 verf; member
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs3_xdr.c1703 return (xdr_u_longlong_t(xdrs, &resokp->verf)); in xdr_WRITE3res()
1730 return (xdr_u_longlong_t(xdrs, &howp->createhow3_u.verf)); in xdr_CREATE3args()
2672 return (xdr_u_longlong_t(xdrs, &resokp->verf)); in xdr_COMMIT3res()
H A Dnfs3_srv.c1430 resp->resok.verf = ns->write3verf; in rfs3_write()
1532 resp->resok.verf = ns->write3verf; in rfs3_write()
1652 mtime = (nfstime3 *)&args->how.createhow3_u.verf; in rfs3_create()
1812 mtime = (nfstime3 *)&args->how.createhow3_u.verf; in rfs3_create()
4196 resp->resok.verf = ns->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.c1092 if (rp->r_verf != res.resok.verf) { in nfs3write()
1094 rp->r_verf = res.resok.verf; in nfs3write()
1107 rp->r_verf = res.resok.verf; in nfs3write()
2433 verfp = (nfstime3 *)&args.how.createhow3_u.verf; in nfs3create()
6224 if (rp->r_verf == res.resok.verf) { in nfs3_commit()
6229 rp->r_verf = res.resok.verf; in nfs3_commit()
H A Dnfs4_srv.c624 timespec32_t verf; in rfs4_srv_zone_init() local
646 verf.tv_sec = (time_t)zone_get_hostid(NULL); in rfs4_srv_zone_init()
647 if (verf.tv_sec != 0) { in rfs4_srv_zone_init()
648 verf.tv_nsec = gethrestime_sec(); in rfs4_srv_zone_init()
653 verf.tv_sec = (time_t)tverf.tv_sec; in rfs4_srv_zone_init()
654 verf.tv_nsec = tverf.tv_nsec; in rfs4_srv_zone_init()
656 nsrv4->write4verf = *(uint64_t *)&verf; in rfs4_srv_zone_init()
H A Dnfs4_vnops.c790 struct nfs4_excl_time verf; in nfs4open_otw() local
950 verf.seconds = zone_get_hostid(NULL); in nfs4open_otw()
951 if (verf.seconds != 0) in nfs4open_otw()
952 verf.nseconds = newnum(); in nfs4open_otw()
957 verf.seconds = now.tv_sec; in nfs4open_otw()
958 verf.nseconds = now.tv_nsec; in nfs4open_otw()
966 verf.seconds &= INT32_MAX; in nfs4open_otw()
971 open_args->createhow4_u.createverf = *(uint64_t *)&verf; in nfs4open_otw()