getrpcport
extern int getrpcport(char *, rpcprog_t, rpcvers_t, rpcprot_t);
extern int getrpcport(char *, int, int, int);
rval = getrpcport(server, YPPASSWDPROG,
if (getrpcport(master, YPU_PROG, YPU_VERS, ypop))
if (getrpcport(ypclnt->server, YPPASSWDPROG,
remoteport = getrpcport(ypxfr_source_host, YPPROG, YPVERS, IPPROTO_UDP);
if ((remoteport = getrpcport(ypxfr_source_host, YPXFRD_FREEBSD_PROG,
extern int getrpcport(char *, int, int, int);
if (getrpcport(_localhost, YPPROG, YPVERS, IPPROTO_UDP) <= 0) {
port = getrpcport(server, YPPROG, YPPROC_NULL, IPPROTO_UDP);