Lines Matching defs:ypserv
34 * this version allows you full control of which ypserv you
63 * (who is host's ypserv?)
70 * -f: for -m, force us to talk directly to ypserv on the specified host
278 CLIENT *ypserv;
289 * we can either ask the hosts ypbind where its ypserv is located,
290 * or we can be forced to assume that ypserv is running on the host.
321 * now we try and connect to host's ypserv
326 ypserv = mkclient(&sin, YPPROG, YPVERS, tcp);
327 if (ypserv == NULL) {
338 * if no map specified, we ask ypserv for a list of all maps
343 retval = clnt_call(ypserv, (unsigned int)YPPROC_MAPLIST,
369 * we now have a list of maps. ask ypserv who is the master for
378 retval = clnt_call(ypserv, (unsigned int)YPPROC_MASTER,
396 clnt_destroy(ypserv);
404 /* print host's ypserv's IP address to prevent confusion */
405 if (ypserv)
406 clnt_destroy(ypserv);
409 "\t[note %s's ypserv running on host %s]\n",