YPPROG
YPPROG, YPVERS, tv, &ysd->dom_socket, 1280, 2304);
clnt = clnttcp_create(&clnt_sin, YPPROG, YPVERS, &clnt_sock, 0, 0);
if ((clnt = clnt_create(host, YPPROG, YPVERS, "tcp")) == NULL) {
remoteport = getrpcport(ypxfr_source_host, YPPROG, YPVERS, IPPROTO_UDP);
if ((stat = callrpc("localhost",YPPROG,YPVERS,YPPROC_CLEAR,
if ((clnt = clnt_create(source,YPPROG,YPVERS,"udp")) == NULL) {
if ((clnt = clnt_create(source,YPPROG,YPVERS,"udp")) == NULL) {
if ((clnt = clnt_create(server, YPPROG,YPVERS,"udp")) == NULL) {
if (getrpcport(_localhost, YPPROG, YPVERS, IPPROTO_UDP) <= 0) {
case YPPROG:
if ((stat = callrpc("localhost",YPPROG,YPVERS,YPPROC_CLEAR,
sin.sin_port = htons(__pmap_getport(&sin, YPPROG,
clnt = clntudp_create(any, YPPROG, YPVERS, tv, &sock);
stat = clnt_broadcast(YPPROG, YPVERS, YPPROC_DOMAIN_NONACK,
YPPROG, YPVERS, interval, &rpcsock, RPCSMALLMSGSIZE,
if ((clnt = clnt_create(job->server, YPPROG, YPVERS, "udp")) == NULL) {
if (rqstp->rq_prog != YPPASSWDPROG && rqstp->rq_prog != YPPROG) {
(rqstp->rq_prog == YPPROG &&
pmap_unset(YPPROG, YPVERS);
pmap_unset(YPPROG, YPOLDVERS);
pmap_unset(YPPROG, YPVERS);
pmap_unset(YPPROG, 1);
if (!svc_register(transp, YPPROG, YPOLDVERS, ypprog_1, proto)) {
if (!svc_register(transp, YPPROG, YPVERS, ypprog_2, proto)) {
if (!svc_register(transp, YPPROG, YPOLDVERS, ypprog_1, proto)) {
if (!svc_register(transp, YPPROG, YPVERS, ypprog_2, proto)) {
if ((port = htons(getrpcport(server, YPPROG, YPPROC_NULL, IPPROTO_UDP))) == 0)