Home
last modified time | relevance | path

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

/NextBSD/usr.sbin/ypserv/common/
HDyplib_host.c142 struct ypresp_val yprv; in yp_match_host() local
158 memset(&yprv, 0, sizeof yprv); in yp_match_host()
162 (xdrproc_t)xdr_ypresp_val, &yprv, tv); in yp_match_host()
165 if ( !(r = ypprot_err(yprv.stat)) ) { in yp_match_host()
166 *outvallen = yprv.val.valdat_len; in yp_match_host()
168 memcpy(*outval, yprv.val.valdat_val, *outvallen); in yp_match_host()
171 xdr_free((xdrproc_t)xdr_ypresp_val, (char *)&yprv); in yp_match_host()
/NextBSD/lib/libc/yp/
HDyplib.c654 struct ypresp_val yprv; in yp_match() local
681 if (ypmatch_cache_lookup(ysd, yprk.map, &yprk.key, &yprv.val) == TRUE) { in yp_match()
686 *outvallen = yprv.val.valdat_len; in yp_match()
694 bcopy(yprv.val.valdat_val, *outval, *outvallen); in yp_match()
716 bzero((char *)&yprv, sizeof yprv); in yp_match()
720 (xdrproc_t)xdr_ypresp_val, &yprv, tv); in yp_match()
728 if (!(r = ypprot_err(yprv.stat))) { in yp_match()
729 *outvallen = yprv.val.valdat_len; in yp_match()
734 xdr_free((xdrproc_t)xdr_ypresp_val, &yprv); in yp_match()
738 bcopy(yprv.val.valdat_val, *outval, *outvallen); in yp_match()
[all …]