Home
last modified time | relevance | path

Searched refs:netid (Results 1 – 25 of 71) sorted by relevance

123

/illumos-gate/usr/src/cmd/rpcbind/
H A Drpcb_stat.c95 rpcbs_getaddr(int rtype, rpcprog_t prog, rpcvers_t vers, char *netid, in rpcbs_getaddr() argument
111 (strcmp(al->netid, netid) == 0)) { in rpcbs_getaddr()
128 nconf = rpcbind_get_conf(netid); in rpcbs_getaddr()
140 al->netid = nconf->nc_netid; in rpcbs_getaddr()
152 (strcmp(wal->netid, netid) == 0)) { in rpcbs_getaddr()
176 rpcproc_t proc, char *netid, rpcblist_ptr rbl) in rpcbs_rmtcall() argument
191 (rl->proc == proc) && (strcmp(rl->netid, netid) == 0)) { in rpcbs_rmtcall()
210 nconf = rpcbind_get_conf(netid); in rpcbs_rmtcall()
223 rl->netid = nconf->nc_netid; in rpcbs_rmtcall()
236 (wrl->proc == proc) && (strcmp(wrl->netid, netid) == 0)) { in rpcbs_rmtcall()
H A Dcheck_bound.c305 is_bound(char *netid, char *uaddr) in is_bound() argument
310 if (strcmp(fdl->nconf->nc_netid, netid) == 0) in is_bound()
327 mergeaddr(SVCXPRT *xprt, char *netid, char *uaddr, char *saddr) in mergeaddr() argument
334 if (strcmp(fdl->nconf->nc_netid, netid) == 0) in mergeaddr()
419 rpcbind_get_conf(char *netid) in rpcbind_get_conf() argument
424 if (strcmp(fdl->nconf->nc_netid, netid) == 0) in rpcbind_get_conf()
/illumos-gate/usr/src/cmd/rpcinfo/
H A Drpcinfo.c137 char *netid; member
686 char *netid;
691 if (strcmp(nl->netid, netid) == 0)
698 nl->netid = netid;
707 char *netid;
939 char *netid; in rpcbaddrlist()
1296 char *netid; in deletereg()
1306 if (netid) {
1369 char *netid;
1477 char *netid; in progping()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dtlx.c58 (strcmp(ri->netid, ri2->netid) == 0)); in rpc_info_equal()
97 is_v6_netid(const char *netid) in is_v6_netid() argument
99 return ((strcmp(netid, SOCKET_PROTO_TCP6) == 0) || in is_v6_netid()
100 (strcmp(netid, SOCKET_PROTO_UDP6) == 0)); in is_v6_netid()
114 if ((nconf = getnetconfigent(rpc->netid)) == NULL) { in register_rpc_service()
121 if (is_v6_netid(rpc->netid) && !can_use_af(AF_INET6)) { in register_rpc_service()
125 rpc->netid, fmri); in register_rpc_service()
129 rpc->netid, fmri, nc_sperror()); in register_rpc_service()
138 fmri, rpc->netid); in register_rpc_service()
159 if ((nconf = getnetconfigent(rpc->netid)) == NULL) { in unregister_rpc_service()
[all …]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc_simple.c119 char *netid; in rpc_reg() local
128 netid = pl->p_netid; in rpc_reg()
156 ((netid = strdup(nconf->nc_netid)) == NULL)) { in rpc_reg()
171 (strcmp(pl->p_netid, netid) == 0)) in rpc_reg()
183 rpc_reg_msg, prognum, versnum, netid); in rpc_reg()
187 free(netid); in rpc_reg()
199 free(netid); in rpc_reg()
212 pl->p_netid = netid; in rpc_reg()
H A Dsvc.c866 char *netid = NULL; in svc_reg() local
888 if (netid) in svc_reg()
889 free(netid); in svc_reg()
897 if (netid) in svc_reg()
898 free(netid); in svc_reg()
920 free(netid); in svc_reg()
997 if (netid) in svc_register()
998 free(netid); in svc_register()
1006 if (netid) in svc_register()
1007 free(netid); in svc_register()
[all …]
H A Dauth_time.c185 char *thost, char **uaddr, char **netid) in __rpc_get_time_offset() argument
303 if (*netid != 0) { in __rpc_get_time_offset()
304 supplied.proto = *netid; in __rpc_get_time_offset()
620 if (! *netid) { in __rpc_get_time_offset()
621 *netid = strdup(useid); in __rpc_get_time_offset()
622 if (! *netid) { in __rpc_get_time_offset()
632 if (*netid) in __rpc_get_time_offset()
633 free(*netid); in __rpc_get_time_offset()
H A Drpc_generic.c185 char *netid; in __rpc_getconfip() local
246 netid = netid_udp; in __rpc_getconfip()
248 netid = netid_tcp; in __rpc_getconfip()
251 if ((netid == NULL) || (netid[0] == '\0')) in __rpc_getconfip()
253 return (getnetconfigent(netid)); in __rpc_getconfip()
/illumos-gate/usr/src/uts/common/klm/
H A Dklmmod.c183 const char *netid; in lm_svc() local
241 netid = nlm_knc_to_netid(&knc); in lm_svc()
242 if (!netid) in lm_svc()
283 err = nlm_svc_starting(g, fp, netid, &knc); in lm_svc()
300 err = nlm_svc_add_ep(fp, netid, &knc); in lm_svc()
431 const char *netid; in lm_get_sysid() local
435 netid = nlm_knc_to_netid(knc); in lm_get_sysid()
436 if (netid == NULL) in lm_get_sysid()
441 hostp = nlm_host_findcreate(g, name, netid, addr); in lm_get_sysid()
H A Dnlm_service.c335 char *netid; in nlm_do_test() local
343 netid = svc_getnetid(sr->rq_xprt); in nlm_do_test()
484 char *netid; in nlm_do_lock() local
494 netid = svc_getnetid(sr->rq_xprt); in nlm_do_lock()
846 char *netid; in nlm_do_cancel() local
852 netid = svc_getnetid(sr->rq_xprt); in nlm_do_cancel()
943 char *netid; in nlm_do_unlock() local
950 netid = svc_getnetid(sr->rq_xprt); in nlm_do_unlock()
1199 char *netid; in nlm_do_share() local
1207 netid = svc_getnetid(sr->rq_xprt); in nlm_do_share()
[all …]
H A Dnlm_impl.c1398 host->nh_netid = strdup(netid); in nlm_host_create()
1626 key.nh_netid = (char *)netid; in nlm_host_find_locked()
2704 char *netid; in nlm_caller_is_local() local
2707 netid = svc_getnetid(transp); in nlm_caller_is_local()
2710 if (netid == NULL) in nlm_caller_is_local()
2713 if (strcmp(netid, "ticlts") == 0 || in nlm_caller_is_local()
2717 if (strcmp(netid, "tcp") == 0 || strcmp(netid, "udp") == 0) { in nlm_caller_is_local()
2722 if (strcmp(netid, "tcp6") == 0 || strcmp(netid, "udp6") == 0) { in nlm_caller_is_local()
2741 const char *netid = NULL; in nlm_knc_to_netid() local
2750 netid = nc->n_netid; in nlm_knc_to_netid()
[all …]
/illumos-gate/usr/src/uts/common/nfs/
H A Dnfssys.h63 char *netid; /* Identify transport */ member
73 caddr32_t netid; /* Identify transport */ member
185 char *netid; /* Network Identifier */ member
194 caddr32_t netid; /* Network Identifier */ member
280 char *netid; /* Transport Identifier */ member
291 caddr32_t netid; member
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypserv.c150 char *netid; member
280 if ((nconf = getnetconfigent(service[i].netid)) == NULL) { in ypinit()
282 service[i].netid); in ypinit()
288 logprintf("t_open failed for %s\n", service[i].netid); in ypinit()
296 service[i].netid); in ypinit()
306 service[i].netid); in ypinit()
315 logprintf("%s %s\n", service[i].netid, register_failed); in ypinit()
327 service[i].netid, register_failed); in ypinit()
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());
/illumos-gate/usr/src/cmd/krb5/kwarn/
H A Dkwarnd.c133 char *netid; in main() local
138 if ((netid = getenv("NLSPROVIDER")) == NULL) { in main()
139 netid = "ticotsord"; in main()
142 if ((nconf = getnetconfigent(netid)) == NULL) { in main()
/illumos-gate/usr/src/lib/libnsl/netselect/
H A Dnetselect.c218 getnetconfigent(const char *netid) in getnetconfigent() argument
230 if (strcmp((*tpp)->nc_netid, netid) == 0) { in getnetconfigent()
322 fgetnetconfig(FILE *fp, char *netid) in fgetnetconfig() argument
347 if (netid && (strcmp(netid, entnetid) != 0)) { in fgetnetconfig()
399 char *netid; /* holds a component of NETPATH */ in setnetpath() local
466 netid = tp; in setnetpath()
473 if (strcmp(netid, (*tpp)->nc_netid) == 0) { in setnetpath()
501 netid = tp = valid_netpath; in setnetpath()
503 netid = tp; in setnetpath()
509 if (strcmp(netid, (*tpp)->nc_netid) == 0) { in setnetpath()
/illumos-gate/usr/src/uts/common/rpc/
H A Dsvc_gen.c102 char *netid, in svc_tli_kcreate() argument
195 if (netid != NULL) { in svc_tli_kcreate()
196 xprt->xp_netid = kmem_alloc(strlen(netid) + 1, KM_SLEEP); in svc_tli_kcreate()
197 (void) strcpy(xprt->xp_netid, netid); in svc_tli_kcreate()
H A Drpcb_prot.x277 string netid<>;
289 string netid<>;
503 % char *netid;
517 % char *netid;
/illumos-gate/usr/src/cmd/gss/gssd/
H A Dgssd.c147 char *netid; in main() local
152 if ((netid = getenv("NLSPROVIDER")) == NULL) { in main()
153 netid = "ticotsord"; in main()
156 if ((nconf = getnetconfigent(netid)) == NULL) { in main()
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dnfs_cmd.c104 char *netid; in charmap_search() local
113 netid = "tcp"; in charmap_search()
116 netid = "tcp6"; in charmap_search()
126 cln_init_lazy(&cln, netid, nbuf); in charmap_search()
/illumos-gate/usr/src/cmd/ypcmd/net_files/
H A DMakefile82 netgroup bootparams aliases publickey netid netmasks c2secure \
269 netid.time: $(PWDIR)/passwd $(DIR)/group $(DIR)/hosts $(DIR)/netid
270 @$(MKNETID) -q -p $(PWDIR)/passwd -g $(DIR)/group -h $(DIR)/hosts -m $(DIR)/netid > .ypjunk;
271 @$(MAKEDBM) .ypjunk $(YPDBDIR)/$(DOM)/netid.byname;
273 @touch netid.time;
275 @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) netid.byname; fi
467 netid: netid.time target
478 $(DIR)/netid:
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drstat_main.c71 char *netid; in main() local
77 if ((netid = getenv("NLSPROVIDER")) == NULL) { in main()
81 } else if ((nconf = getnetconfigent(netid)) == NULL) { in main()
/illumos-gate/usr/src/cmd/netfiles/
H A Dnss.dfl27 # the netid or group table when satisfying the initgroups() call.
29 # the initgroups() function call to use netid as the source for supplementary
32 # the netid table contains valid supplementary group information for users,
34 # groups table in sync with the netid table automatically.
/illumos-gate/usr/src/uts/common/io/
H A Dneti_impl.c123 net_protocol_lookup(netid_t netid, const char *protocol) in net_protocol_lookup() argument
130 nts = net_getnetistackbyid(netid); in net_protocol_lookup()
170 net_protocol_walk(netid_t netid, net_handle_t info) in net_protocol_walk() argument
176 nts = net_getnetistackbyid(netid); in net_protocol_walk()
609 net_kstat_create(netid_t netid, char *module, int instance, char *name, in net_kstat_create() argument
612 netstackid_t stackid = net_getnetstackidbynetid(netid); in net_kstat_create()
622 net_kstat_delete(netid_t netid, kstat_t *ks) in net_kstat_delete() argument
624 netstackid_t stackid = net_getnetstackidbynetid(netid); in net_kstat_delete()
H A Dneti_stack.c816 net_getzoneidbynetid(netid_t netid) in net_getzoneidbynetid() argument
822 if (nts->nts_id == netid) { in net_getzoneidbynetid()
833 net_getnetstackidbynetid(netid_t netid) in net_getnetstackidbynetid() argument
839 if (nts->nts_id == netid) { in net_getnetstackidbynetid()
867 net_getnetistackbyid(netid_t netid) in net_getnetistackbyid() argument
873 if (nts->nts_id == netid) { in net_getnetistackbyid()
884 net_instance_notify_register(netid_t netid, hook_notify_fn_t callback, in net_instance_notify_register() argument
888 return (hook_stack_notify_register(net_getnetstackidbynetid(netid), in net_instance_notify_register()
893 net_instance_notify_unregister(netid_t netid, hook_notify_fn_t callback) in net_instance_notify_unregister() argument
896 return (hook_stack_notify_unregister(net_getnetstackidbynetid(netid), in net_instance_notify_unregister()

123