Searched defs:prognum (Results 1 - 21 of 21) sorted by relevance

/illumos-gate/usr/src/lib/libbc/libc/net/
H A Dgetrpcport.c35 getrpcport(char *host, int prognum, int versnum, int proto) argument
45 return (pmap_getport(&addr, prognum, versnum, proto));
/illumos-gate/usr/src/ucblib/librpcsoc/
H A Dgetrpcport.c37 getrpcport(char *host, rpcprog_t prognum, rpcvers_t versnum, rpcprot_t proto) argument
47 return (pmap_getport(&addr, prognum, versnum, proto));
/illumos-gate/usr/src/cmd/krb5/kwarn/
H A Dkwarnd_generic.c33 u_long prognum, /* Program number */
114 (void) rpcb_unset(prognum, versnum, nconf);
115 if (svc_reg(xprt, prognum, versnum, dispatch, nconf)
120 prognum, versnum, nconf->nc_netid);
32 svc_create_local_service(void (*dispatch) (), u_long prognum, u_long versnum, char *nettype, char *servname) argument
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_simple.c63 rpcprog_t prognum; /* Program */ member in struct:rpc_call_private
89 rpc_call(const char *host, const rpcprog_t prognum, const rpcvers_t versnum, argument
122 rcp->prognum == prognum &&
134 rcp->client = clnt_create(host, prognum, versnum, nettype);
149 rcp->prognum = prognum;
H A Dsvc_generic.c91 is_multilevel(rpcprog_t prognum) argument
94 if ((prognum == MOUNTPROG) || (prognum == NFS_PROGRAM) ||
95 (prognum == NFS_ACL_PROGRAM) || (prognum == NLM_PROG) ||
96 (prognum == NSM_ADDR_PROGRAM) || (prognum == RQUOTAPROG) ||
97 (prognum == SM_PROG))
110 svc_create(void (*dispatch)(), const rpcprog_t prognum, const rpcvers_t versnum, argument
124 if (svc_door_create(dispatch, prognum, versnu
182 svc_tp_create(void (*dispatch)(), const rpcprog_t prognum, const rpcvers_t versnum, const struct netconfig *nconf) argument
[all...]
H A Dsvc_simple.c42 * for the given prognum and procnum.
88 rpc_reg(const rpcprog_t prognum, const rpcvers_t versnum, argument
169 if ((pl->p_prognum == prognum) &&
174 (void) rpcb_unset(prognum, versnum, nconf);
180 if (!svc_reg(svcxprt, prognum, versnum, universal, nconf)) {
183 rpc_reg_msg, prognum, versnum, netid);
204 pl->p_prognum = prognum;
H A Dti_opts.c560 __rpc_set_mac_options(int fd, const struct netconfig *nconf, rpcprog_t prognum) argument
571 if (is_multilevel(prognum)) {
H A Dsvc_door.c67 rpcprog_t prognum; member in struct:__anon3676
203 if (su->call_info.prognum == r->rq_prog && su->call_info.versnum ==
213 if (su->call_info.prognum == r->rq_prog)
288 * xprt = svc_door_create(dispatch, prognum, versnum, sendsize);
313 svc_door_create(void (*dispatch)(), const rpcprog_t prognum, argument
340 (void) sprintf(rendezvous, RPC_DOOR_RENDEZVOUS, (int)prognum,
401 su->call_info.prognum = prognum;
H A Drpc_soc.c421 getrpcport(char *host, rpcprog_t prognum, rpcvers_t versnum, argument
432 return (pmap_getport(&addr, prognum, versnum, proto));
439 callrpc(char *host, rpcprog_t prognum, rpcvers_t versnum, rpcproc_t procnum, argument
442 return ((int)rpc_call(host, prognum, versnum, procnum, inproc,
450 registerrpc(rpcprog_t prognum, rpcvers_t versnum, rpcproc_t procnum, argument
453 return (rpc_reg(prognum, versnum, procnum, progname, inproc,
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_rpcsec.c172 char prognum[32]; local
175 sprintf(prognum, "%d", prog);
176 progname = prognum;
/illumos-gate/usr/src/cmd/svc/servinfo/
H A Dservinfo.c106 int prognum = -1; local
114 prognum = atoi(sname);
115 if (prognum > 0)
116 rpc = (struct rpcent *)getrpcbynumber(prognum);
125 if (prognum <= 0) {
132 rpc->r_number = prognum;
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmetarpcopen.c310 meta_client_create(char *host, rpcprog_t prognum, rpcvers_t version, argument
315 cd.cd_prognum = prognum;
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypserv_resolv.c66 static int getprognum(long *prognum, SVCXPRT **xprt, char *fd_str,
70 CLIENT **client, char *tp_type, long prognum)
104 * Startup the resolv server: use transient prognum if prognum
108 if (!getprognum(&prognum, &xprt, fd_str, prog_str, YPDNSVERS, tp)) {
127 * exec cause unset/set on prognum isn't automic.
135 "-p", prog_str, /* prognum */
154 *client = clntudp_bufcreate(&addr, prognum, YPDNSVERS,
157 *client = clnttcp_create(&addr, prognum, YPDNSVERS,
174 if ((*client = clnt_tp_create(HOST_SELF_CONNECT, prognum,
69 setup_resolv(bool *fwding, int *child, CLIENT **client, char *tp_type, long prognum) argument
200 getprognum(long *prognum, SVCXPRT **xprt, char *fd_str, char *prog_str, long vers, char *tp_type) argument
[all...]
H A Dyppush.c589 unsigned long prognum = 0x40000000, maxprognum; local
625 while (prognum < maxprognum && (ret =
626 rpcb_set(prognum, YPPUSHVERS, nc, &trans->xp_ltaddr)) == 0)
627 prognum++;
634 ret = rpcb_set(prognum, YPPUSHVERS, nc6,
642 *program = prognum;
/illumos-gate/usr/src/cmd/listen/
H A Dlsdbf.c167 DEBUG((7, "svc code <%s>; id: %s; private address: %s; modules: %s; cmd line: %s; sflags: %x, prognum: %d version: %d",
178 DEBUG((7, "svc code <%s>; id: %s; r1: %s; r2: %s; r3: %s; private address: %s; modules: %s; cmd line: %s; sflags: %x, prognum: %d version: %d",
212 int prognum; local
230 while (n = rd_dbf_line(dbfilep,p,&svc_code_p,&flags,&id_p,&res1_p,&res2_p,&res3_p,&private_p,&prognum,&vernum,&module_p,&sflags,&cmd_line_p,NOSUPPRESS)) {
280 dbf_p->dbf_prognum = prognum;
358 int prognum; local
372 n = rd_dbf_line(dbfilep,p,&svc_code_p,&flags,&id_p,&res1_p,&res2_p,&res3_p,&private_p,&prognum,&vernum,&module_p,&sflags,&cmd_line_p,SUPPRESS);
401 * prognum = RPC program #;
409 rd_dbf_line(fp, bp, svc_code_p, flags_p, id_p, res1_p, res2_p, res3_p, private_p, prognum, vernum, module_p, sflags, cmd_line_p, mflag)
419 int *prognum;
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/
H A Dquota.c825 callaurpc(char *host, int prognum, int versnum, int procnum, argument
841 if (cl == NULL || oldprognum != prognum || oldversnum != versnum ||
847 cl = clnt_create_timed(host, prognum, versnum, "udp",
855 oldprognum = prognum;
/illumos-gate/usr/src/lib/libinetsvc/common/
H A Dinetsvc.h173 int prognum; member in struct:__anon3323
/illumos-gate/usr/src/cmd/rpcinfo/
H A Drpcinfo.c109 static int pstatus(/*CLIENT *client, ulong_t prognum, ulong_t vers*/);
393 ulong_t prognum, vers, minvers, maxvers; local
403 prognum = getprognum(argv[1]);
415 client = clnt_com_create(&addr, prognum, vers, &fd, trans);
421 if (pstatus(client, prognum, vers) < 0)
439 client = clnt_com_create(&addr, prognum, MAX_VERS, &fd, trans);
457 (void) pstatus(client, prognum, MAX_VERS);
461 (void) pstatus(client, prognum, (ulong_t)0);
467 client = clnt_com_create(&addr, prognum, vers, &fd, trans);
471 if (pstatus(client, prognum, ver
643 ulong_t prognum, vers; local
1376 ulong_t prognum, versnum, minvers, maxvers; local
1484 ulong_t prognum, versnum, minvers, maxvers; local
1610 register ulong_t prognum; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_proc.c789 create_client(char *host, int prognum, int versnum, char *netid, argument
798 client = clnt_create_timed(host, prognum, versnum,
808 client = clnt_tp_create_timed(host, prognum, versnum, nconf,
/illumos-gate/usr/src/ucbcmd/shutdown/
H A Dshutdown.c725 callrpcfast(char *host, rpcprog_t prognum, rpcprog_t versnum, argument
741 return ((int)pmap_rmtcall(&server_addr, prognum, versnum, procnum,
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_dlinet.c2097 rpcprog_t prognum, rpcvers_t versnum, rpcproc_t procnum,
2106 rc = clnt_tli_kcreate(knconf, call_addr, prognum, versnum,
2096 mycallrpc(struct knetconfig *knconf, struct netbuf *call_addr, rpcprog_t prognum, rpcvers_t versnum, rpcproc_t procnum, xdrproc_t inproc, char *in, xdrproc_t outproc, char *out, int timeo, int retries) argument

Completed in 118 milliseconds