Searched refs:netid (Results 1 - 25 of 77) sorted by relevance

1234

/illumos-gate/usr/src/cmd/rpcbind/
H A Drpcb_stat.c95 rpcbs_getaddr(int rtype, rpcprog_t prog, rpcvers_t vers, char *netid, argument
111 (strcmp(al->netid, netid) == 0)) {
128 nconf = rpcbind_get_conf(netid);
140 al->netid = nconf->nc_netid;
152 (strcmp(wal->netid, netid) == 0)) {
176 rpcproc_t proc, char *netid, rpcblist_ptr rbl)
191 (rl->proc == proc) && (strcmp(rl->netid, netid)
175 rpcbs_rmtcall(int rtype, rpcproc_t rpcbproc, rpcprog_t prog, rpcvers_t vers, rpcproc_t proc, char *netid, rpcblist_ptr rbl) argument
[all...]
H A Dcheck_bound.c305 is_bound(char *netid, char *uaddr) argument
310 if (strcmp(fdl->nconf->nc_netid, netid) == 0)
327 mergeaddr(SVCXPRT *xprt, char *netid, char *uaddr, char *saddr) argument
334 if (strcmp(fdl->nconf->nc_netid, netid) == 0)
419 rpcbind_get_conf(char *netid) argument
424 if (strcmp(fdl->nconf->nc_netid, netid) == 0)
H A Dpmap_svc.c261 char *netid; local
265 netid = udptrans;
268 netid = tcptrans;
282 if (is_bound(netid, serveuaddr)) {
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drstat_main.c73 char *netid; local
79 if ((netid = getenv("NLSPROVIDER")) == NULL) {
83 } else if ((nconf = getnetconfigent(netid)) == NULL) {
/illumos-gate/usr/src/uts/common/klm/
H A Dklmmod.c182 const char *netid; local
202 * Also come up with the "netid" string.
240 netid = nlm_knc_to_netid(&knc);
241 if (!netid)
282 err = nlm_svc_starting(g, fp, netid, &knc);
299 err = nlm_svc_add_ep(fp, netid, &knc);
430 const char *netid; local
434 netid = nlm_knc_to_netid(knc);
435 if (netid == NULL)
440 hostp = nlm_host_findcreate(g, name, netid, add
[all...]
H A Dnlm_service.c329 char *netid; local
337 netid = svc_getnetid(sr->rq_xprt);
341 host = nlm_host_findcreate(g, name, netid, addr);
469 char *netid; local
479 netid = svc_getnetid(sr->rq_xprt);
483 host = nlm_host_findcreate(g, name, netid, addr);
486 char *, name, char *, netid, struct netbuf *, addr);
778 char *netid; local
784 netid = svc_getnetid(sr->rq_xprt);
789 host = nlm_host_findcreate(g, name, netid, add
875 char *netid; local
1131 char *netid; local
1199 char *netid; local
[all...]
H A Dnlm_impl.c162 * Static table of all netid/knetconfig network
165 * netid and vice versa.
1373 * netid.
1376 nlm_host_create(char *name, const char *netid, argument
1390 host->nh_netid = strdup(netid);
1610 nlm_host_find_locked(struct nlm_globals *g, const char *netid, argument
1618 key.nh_netid = (char *)netid;
1647 nlm_host_find(struct nlm_globals *g, const char *netid, argument
1656 hostp = nlm_host_find_locked(g, netid, addr, NULL);
1667 * The remote host is determined by all of: name, netid, addres
1673 nlm_host_findcreate(struct nlm_globals *g, char *name, const char *netid, struct netbuf *addr) argument
2329 nlm_svc_add_ep(struct file *fp, const char *netid, struct knetconfig *knc) argument
2347 nlm_svc_starting(struct nlm_globals *g, struct file *fp, const char *netid, struct knetconfig *knc) argument
2671 char *netid; local
2708 const char *netid = NULL; local
2740 nlm_knc_from_netid(const char *netid, struct knetconfig *knc) argument
[all...]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc_simple.c80 * handle is created for all the services (actually one of each netid)
81 * and same xdrbuf is used for same netid. The size of the arguments
119 char *netid; local
128 netid = pl->p_netid;
156 ((netid = strdup(nconf->nc_netid)) == NULL)) {
165 * Check if this (program, version, netid) had already been
171 (strcmp(pl->p_netid, netid) == 0))
183 rpc_reg_msg, prognum, versnum, netid);
187 free(netid);
199 free(netid);
[all...]
H A Drpc_generic.c187 char *netid; local
248 netid = netid_udp;
250 netid = netid_tcp;
253 if ((netid == NULL) || (netid[0] == NULL))
255 return (getnetconfigent(netid));
H A Dauth_time.c45 * and destroyed. Two strings "netid" and "uaddr" are malloc'd
178 * the machine and *netid is set to the local netid for the transport
180 * is skipped and the uaddr/netid pair are used to fetch the netconfig
187 char *thost, char **uaddr, char **netid)
195 *useid = NULL; /* netid of selected xp */
262 * the netid of the transport.
305 if (*netid != 0) {
306 supplied.proto = *netid;
345 msg("unable to locate netconfig info for netid
186 __rpc_get_time_offset(struct timeval *td, nis_server *srv, char *thost, char **uaddr, char **netid) argument
[all...]
H A Dsvc.c862 char *netid = NULL; local
868 netid = strdup(xprt->xp_netid);
871 netid = strdup(nconf->nc_netid);
875 netid = strdup(tnconf->nc_netid);
879 if ((netid == NULL) && (flag == 1))
883 if ((s = svc_find(prog, vers, &prev, netid)) != NULL_SVC) {
884 if (netid)
885 free(netid);
893 if (netid)
894 free(netid);
974 char *netid = NULL; local
1068 svc_find(rpcprog_t prog, rpcvers_t vers, struct svc_callout **prev, char *netid) argument
[all...]
H A Drpcb_st_xdr.c51 return (xdr_string(xdrs, &objp->netid, ~0));
85 if (!xdr_string(xdrs, &objp->netid, ~0))
113 if (!xdr_string(xdrs, &objp->netid, ~0))
131 if (!xdr_string(xdrs, &objp->netid, ~0))
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dtlx.c58 (strcmp(ri->netid, ri2->netid) == 0));
69 * when getnetconfigent() returns failure for a v6 netid due to no IPv6
71 * if a netid is either 'tcp6' or 'udp6' and __can_use_af() returns 0,
97 is_v6_netid(const char *netid) argument
99 return ((strcmp(netid, SOCKET_PROTO_TCP6) == 0) ||
100 (strcmp(netid, SOCKET_PROTO_UDP6) == 0));
105 * high, with the netid, all specified in 'rpc'. If registration fails,
114 if ((nconf = getnetconfigent(rpc->netid)) == NULL) {
117 * having no IPv6 interfaces configured for a v6 netid, o
[all...]
/illumos-gate/usr/src/cmd/gss/gssd/
H A Dgssd.c154 char *netid; local
159 if ((netid = getenv("NLSPROVIDER")) == NULL) {
160 netid = "ticotsord";
163 if ((nconf = getnetconfigent(netid)) == NULL) {
/illumos-gate/usr/src/cmd/krb5/kwarn/
H A Dkwarnd.c138 char *netid; local
143 if ((netid = getenv("NLSPROVIDER")) == NULL) {
144 netid = "ticotsord";
147 if ((nconf = getnetconfigent(netid)) == NULL) {
/illumos-gate/usr/src/uts/common/rpc/
H A Dsvc_gen.c76 * - netid - netid
102 char *netid,
195 if (netid != NULL) {
196 xprt->xp_netid = kmem_alloc(strlen(netid) + 1, KM_SLEEP);
197 (void) strcpy(xprt->xp_netid, netid);
99 svc_tli_kcreate( struct file *fp, uint_t max_msgsize, char *netid, struct netbuf *addrmask, SVCMASTERXPRT **nxprt, SVC_CALLOUT_TABLE *sct, void (*closeproc)(const SVCMASTERXPRT *), int id, bool_t hotstream) argument
H A Drpcb_prot.x50 % * [prog, vers, address, owner, netid].
51 % * Finds out owner and netid information on its own.
55 % * [prog, vers, netid]. addresses is ignored.
56 % * If netid is NULL, unregister all.
60 % * triple [prog, vers, netid] is registered. Ignore address and owner.
97 % * triple [prog, vers, netid] is registered. Ignore address and owner.
242 string r_nc_netid<>; /* netid field */
279 string netid<>;
291 string netid<>;
505 % char *netid;
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dnfs_cmd.c104 char *netid; local
113 netid = "tcp";
116 netid = "tcp6";
126 cln_init_lazy(&cln, netid, nbuf);
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypserv.c151 char *netid; member in struct:__anon1927
281 if ((nconf = getnetconfigent(service[i].netid)) == NULL) {
283 service[i].netid);
289 logprintf("t_open failed for %s\n", service[i].netid);
297 service[i].netid);
307 service[i].netid);
316 logprintf("%s %s\n", service[i].netid, register_failed);
328 service[i].netid, register_failed);
H A Dypxfrd_client.c220 char *netid[] = { "tcp6", "tcp" }; local
221 int i, lastnetid = (sizeof (netid)/sizeof (netid[0])) - 1;
224 if ((nconf = getnetconfigent(netid[i])) == NULL) {
246 netid[i], netdir_sperror());
H A Dypxfrd_svc.c177 char *netid; local
185 if ((netid = getenv("NLSPROVIDER")) == NULL) {
189 if ((nconf = getnetconfigent(netid)) == NULL)
/illumos-gate/usr/src/cmd/rpcinfo/
H A Drpcinfo.c102 static void addrping(/*char *address, char *netid,
104 static void progping(/* char *netid, int argc, char **argv*/);
110 static void rpcbdump(/*char *netid, int argc, char **argv*/);
112 static void rpcbaddrlist(/*char *netid, int argc, char **argv*/);
113 static void deletereg(/*char *netid, int argc, char **argv */);
137 char *netid; member in struct:netidlist
168 char *netid = NULL; local
259 netid = optarg;
267 if (errflg || ((function == ADDRPING) && !netid)) {
271 if (netid
[all...]
/illumos-gate/usr/src/uts/common/nfs/
H A Dnfssys.h57 char *netid; /* Identify transport */ member in struct:nfs_svc_args
67 caddr32_t netid; /* Identify transport */ member in struct:nfs_svc_args32
179 char *netid; /* Network Identifier */ member in struct:rdma_svc_args
188 caddr32_t netid; /* Network Identifier */ member in struct:rdma_svc_args32
274 char *netid; /* Transport Identifier */ member in struct:nfs4_svc_args
285 caddr32_t netid; member in struct:nfs4_svc_args32
/illumos-gate/usr/src/cmd/rpcsvc/rpc.bootparamd/
H A Dbootparam_prot_svc.c90 char *netid; local
95 if ((netid = getenv("NLSPROVIDER")) == NULL) {
98 } else if ((nconf = getnetconfigent(netid)) == NULL) {
/illumos-gate/usr/src/lib/libnsl/netselect/
H A Dnetselect.c220 getnetconfigent(const char *netid) argument
232 if (strcmp((*tpp)->nc_netid, netid) == 0) {
324 fgetnetconfig(FILE *fp, char *netid) argument
330 char *entnetid; /* netid for the current entry */
349 if (netid && (strcmp(netid, entnetid) != 0)) {
401 char *netid; /* holds a component of NETPATH */ local
468 netid = tp;
472 *tp++ = '\0'; /* isolate netid */
475 if (strcmp(netid, (*tp
[all...]

Completed in 189 milliseconds

1234