Home
last modified time | relevance | path

Searched refs:yprv (Results 1 – 2 of 2) sorted by relevance

/freebsd/usr.sbin/ypserv/common/
H A Dyplib_host.c139 struct ypresp_val yprv; in yp_match_host() local
155 memset(&yprv, 0, sizeof yprv); in yp_match_host()
159 (xdrproc_t)xdr_ypresp_val, &yprv, tv); in yp_match_host()
162 if ( !(r = ypprot_err(yprv.stat)) ) { in yp_match_host()
163 *outvallen = yprv.val.valdat_len; in yp_match_host()
165 memcpy(*outval, yprv.val.valdat_val, *outvallen); in yp_match_host()
168 xdr_free((xdrproc_t)xdr_ypresp_val, (char *)&yprv); in yp_match_host()
/freebsd/lib/libc/yp/
H A Dyplib.c648 struct ypresp_val yprv; in yp_match() local
675 if (ypmatch_cache_lookup(ysd, yprk.map, &yprk.key, &yprv.val) == TRUE) { in yp_match()
680 *outvallen = yprv.val.valdat_len; in yp_match()
688 bcopy(yprv.val.valdat_val, *outval, *outvallen); in yp_match()
710 bzero((char *)&yprv, sizeof yprv); in yp_match()
714 (xdrproc_t)xdr_ypresp_val, &yprv, tv); in yp_match()
722 if (!(r = ypprot_err(yprv.stat))) { in yp_match()
723 *outvallen = yprv.val.valdat_len; in yp_match()
728 xdr_free((xdrproc_t)xdr_ypresp_val, &yprv); in yp_match()
732 bcopy(yprv.val.valdat_val, *outval, *outvallen); in yp_match()
[all …]