Searched defs:rpc (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetrpcent.c28 * nis/getrpcent.c -- "nis" backend for nsswitch "rpc" database
38 #include <rpc/rpcent.h>
46 struct rpcent *rpc = (struct rpcent *)args->returnval; local
50 if (rpc) {
51 if (strcmp(rpc->r_name, name) == 0) {
54 for (aliasp = rpc->r_aliases; *aliasp != 0; aliasp++) {
94 res = _nss_nis_lookup(be, argp, 1, "rpc.byname",
121 return (_nss_nis_lookup(be, argp, 1, "rpc.bynumber", numstr, 0));
140 "rpc.bynumber"));
/illumos-gate/usr/src/cmd/rexd/
H A DMakefile28 PROG= rpc.rexd on
31 REXDPROG= rpc.rexd
52 REXDOBJS= rpc.rexd.o errprintf.o mount_nfs.o rex.o unix_login.o mntent.o
55 CLEANOBJS= exportent.o sharetab.o on.o rpc.rexd.o where.o
67 rpc.rexd := LDLIBS += -lrpcsvc -lbsm -lpam
82 rpc.rexd: $$@.o $(OBJS)
98 $(ROOTREXD): rpc.rexd
121 rpc.rexd.o: rex.h
/illumos-gate/usr/src/lib/libc/amd64/threads/
H A Dmachdep.c41 uint64_t rpc; member in struct:__anon2849
61 frame.rpc = (uint64_t)_lwp_start;
/illumos-gate/usr/src/cmd/rpcsvc/
H A DMakefile32 RPROG= rpc.rusersd
33 SPROG= rpc.sprayd
34 WPROG= rpc.rwalld
35 TPROG= rpc.rstatd
76 SUBDIRS= rpc.bootparamd
78 SRCS= $(OBJS:%.o=%.c) rusers.c rpc.rusersd.c rup.c
80 ETCFILES= rpc
108 $(ROOTETC)/rpc := FILEMODE= 0644
116 rpc.rstatd:= LDLIBS += -lkstat
118 rpc
[all...]
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dgetrpcent_r.c38 #include <rpc/rpcent.h>
121 struct rpcent *rpc = (struct rpcent *)ent; local
147 rpc->r_name = buffer;
165 rpc->r_number = (int)strtol(numbuf, &numend, 10);
183 rpc->r_aliases = 0; /* hope they don't try to peek in */
187 rpc->r_aliases = ptr;
190 rpc->r_aliases = _nss_netdb_aliases(p, (int)(lenstr - (p - instr)),
/illumos-gate/usr/src/cmd/svc/servinfo/
H A Dservinfo.c39 #include <rpc/rpc.h>
40 #include <rpc/rpcent.h>
109 struct rpcent *rpc; local
116 rpc = (struct rpcent *)getrpcbynumber(prognum);
118 rpc = (struct rpcent *)getrpcbyname(sname);
124 if (rpc == NULL) {
127 gettext("Can't get rpc entry\n"));
131 rpc = &rentry;
132 rpc
[all...]
/illumos-gate/usr/src/lib/libc/i386/threads/
H A Dmachdep.c53 uint32_t rpc; member in struct:__anon112
81 frame.rpc = (uint32_t)_lwp_start;
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dtlx.c27 * Contains routines that deal with TLI/XTI endpoints and rpc services.
105 * high, with the netid, all specified in 'rpc'. If registration fails,
109 register_rpc_service(const char *fmri, const rpc_info_t *rpc) argument
114 if ((nconf = getnetconfigent(rpc->netid)) == NULL) {
121 if (is_v6_netid(rpc->netid) && !can_use_af(AF_INET6)) {
125 rpc->netid, fmri);
129 rpc->netid, fmri, nc_sperror());
134 for (ver = rpc->lowver; ver <= rpc->highver; ver++) {
135 if (!rpcb_set(rpc
154 unregister_rpc_service(const char *fmri, const rpc_info_t *rpc) argument
318 rpc_info_t *rpc = tlx_info->pr_info.ri; local
[all...]
H A Dinetd.c714 rpc_info_t *rpc = sock_info->pr_info.ri; local
756 if (rpc != NULL)
771 if (rpc != NULL) {
781 (void) memcpy(rpc->netbuf.buf, &ss,
783 rpc->netbuf.len = SS_ADDRLEN(ss);
784 rpc->netbuf.maxlen = SS_ADDRLEN(ss);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_rpc.c34 #include <rpc/types.h>
35 #include <rpc/xdr.h>
36 #include <rpc/auth.h>
37 #include <rpc/auth_unix.h>
38 #include <rpc/auth_des.h>
39 #include <rpc/clnt.h>
40 #include <rpc/rpc_msg.h>
41 #include <rpc/pmap_clnt.h>
42 #include <rpc/svc.h>
44 #include <rpc/pmap_pro
68 interpret_rpc(int flags, char *rpc, int fraglen, int type) argument
691 valid_rpc(char *rpc, int rpclen) argument
[all...]
H A Dsnoop_filter.c51 #include <rpc/rpc.h>
52 #include <rpc/rpcent.h>
454 find_rpc(struct rpc_msg *rpc) argument
459 if (x->x_xid == rpc->rm_xid)
462 if (x->x_xid == rpc->rm_xid)
468 stash_rpc(struct rpc_msg *rpc) argument
472 if (find_rpc(rpc))
478 x->x_xid = rpc->rm_xid;
480 x->x_prog = rpc
553 struct rpc_msg *rpc; local
2029 struct rpcent *rpc; local
[all...]
/illumos-gate/usr/src/boot/lib/libstand/
H A Drpc.c1 /* $NetBSD: rpc.c,v 1.18 1998/01/23 19:27:45 thorpej Exp $ */
35 * @(#) Header: rpc.c,v 1.12 93/09/28 08:31:56 leres Exp (LBL)
62 #include "rpc.h"
80 u_int32_t rp_rpcvers; /* rpc version (2) */
107 * Make a rpc call; return length of answer
294 struct rpc_reply rpc; member in struct:hackhdr
/illumos-gate/usr/src/cmd/nlsadmin/
H A Dnlsadmin.c106 char *rpc; member in struct:svcfields
781 (*entry.rpc)?entry.rpc:"NORPC", entry.id,
1288 entry->rpc = ptr;
1289 if ((ptr = strchr(entry->rpc, ':')) == NULL)
1292 if (*entry->rpc) {
1293 if ((tmp = strchr(entry->rpc, ',')) == NULL)
/illumos-gate/usr/src/cmd/rpcinfo/
H A Drpcinfo.c43 * rpcinfo: ping a particular rpc program
60 #include <rpc/rpc.h>
62 #include <rpc/rpcb_prot.h>
63 #include <rpc/nettype.h>
65 #include <rpc/rpcent.h>
75 #include <rpc/pmap_prot.h>
76 #include <rpc/pmap_clnt.h>
493 struct rpcent *rpc; local
557 rpc
714 struct rpcent *rpc; local
946 struct rpcent *rpc; local
1609 register struct rpcent *rpc; local
1767 struct rpcent *rpc; local
1800 register struct rpcent *rpc; local
[all...]
/illumos-gate/usr/src/cmd/truss/
H A Dfcall.c1447 uintptr_t rpc = get_return_address(&sp); local
1455 rpc = (uint32_t)rpc;
1466 rpc >= Dp->base && rpc < Dp->base + Dp->size))
1485 (void) create_bkpt(rpc, 1, 1); /* may or may not be set */
1487 Stk->stack[Stk->ncall].pc = rpc;
1571 uintptr_t rpc; local
1578 uintptr_t rpc; /* the return pc */ member in struct:__anon1900
1590 frame[nframe].rpc
1668 previous_fp(uintptr_t sp, uintptr_t *rpc) argument
1712 uintptr_t rpc; local
1747 previous_fp(uintptr_t fp, uintptr_t *rpc) argument
1817 uint32_t rpc; local
1833 uintptr_t rpc; local
[all...]
/illumos-gate/usr/src/lib/libinetsvc/common/
H A Dinetsvc.c38 #include <rpc/rpcent.h>
57 #include <rpc/nettype.h>
320 destroy_rpc_info(rpc_info_t *rpc) argument
322 if (rpc != NULL) {
323 free(rpc->netbuf.buf);
324 free(rpc->netid);
325 free(rpc);
691 * If we don't know whether it's an rpc service or its
1306 struct rpcent rpc; local
1311 if (getrpcbyname_r(svc_name, &rpc, bu
[all...]

Completed in 77 milliseconds