/titanic_44/usr/src/cmd/rpcbind/ |
H A D | rpcb_stat.c | 95 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 D | check_bound.c | 305 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()
|
/titanic_44/usr/src/cmd/rpcinfo/ |
H A D | rpcinfo.c | 137 char *netid; member 168 char *netid = NULL; local 259 netid = optarg; 267 if (errflg || ((function == ADDRPING) && !netid)) { 271 if (netid == NULL) { /* user has not selected transport to use */ 319 deletereg(netid, argc - optind, argv + optind); 322 addrping(address, netid, argc - optind, argv + optind); 325 progping(netid, argc - optind, argv + optind); 329 rpcbdump(function, netid, argc - optind, argv + optind); 335 rpcbaddrlist(netid, argc - optind, argv + optind); [all …]
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | tlx.c | 58 (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 …]
|
/titanic_44/usr/src/lib/libnsl/rpc/ |
H A D | svc_simple.c | 119 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 D | svc.c | 863 char *netid = NULL; in svc_reg() local 869 netid = strdup(xprt->xp_netid); in svc_reg() 872 netid = strdup(nconf->nc_netid); in svc_reg() 876 netid = strdup(tnconf->nc_netid); in svc_reg() 880 if ((netid == NULL) && (flag == 1)) in svc_reg() 884 if ((s = svc_find(prog, vers, &prev, netid)) != NULL_SVC) { in svc_reg() 885 if (netid) in svc_reg() 886 free(netid); in svc_reg() 894 if (netid) in svc_reg() 895 free(netid); in svc_reg() [all …]
|
H A D | auth_time.c | 187 char *thost, char **uaddr, char **netid) in __rpc_get_time_offset() argument 305 if (*netid != 0) { in __rpc_get_time_offset() 306 supplied.proto = *netid; in __rpc_get_time_offset() 622 if (! *netid) { in __rpc_get_time_offset() 623 *netid = strdup(useid); in __rpc_get_time_offset() 624 if (! *netid) { in __rpc_get_time_offset() 634 if (*netid) in __rpc_get_time_offset() 635 free(*netid); in __rpc_get_time_offset()
|
H A D | rpc_generic.c | 187 char *netid; in __rpc_getconfip() local 248 netid = netid_udp; in __rpc_getconfip() 250 netid = netid_tcp; in __rpc_getconfip() 253 if ((netid == NULL) || (netid[0] == NULL)) in __rpc_getconfip() 255 return (getnetconfigent(netid)); in __rpc_getconfip()
|
H A D | rpcb_st_xdr.c | 51 return (xdr_string(xdrs, &objp->netid, ~0)); in xdr_rpcbs_addrlist() 85 if (!xdr_string(xdrs, &objp->netid, ~0)) in xdr_rpcbs_rmtcalllist() 113 if (!xdr_string(xdrs, &objp->netid, ~0)) in xdr_rpcbs_rmtcalllist() 131 if (!xdr_string(xdrs, &objp->netid, ~0)) in xdr_rpcbs_rmtcalllist()
|
/titanic_44/usr/src/uts/common/klm/ |
H A D | klmmod.c | 182 const char *netid; in lm_svc() local 240 netid = nlm_knc_to_netid(&knc); in lm_svc() 241 if (!netid) in lm_svc() 282 err = nlm_svc_starting(g, fp, netid, &knc); in lm_svc() 299 err = nlm_svc_add_ep(fp, netid, &knc); in lm_svc() 430 const char *netid; in lm_get_sysid() local 434 netid = nlm_knc_to_netid(knc); in lm_get_sysid() 435 if (netid == NULL) in lm_get_sysid() 440 hostp = nlm_host_findcreate(g, name, netid, addr); in lm_get_sysid()
|
H A D | nlm_service.c | 329 char *netid; in nlm_do_test() local 337 netid = svc_getnetid(sr->rq_xprt); in nlm_do_test() 341 host = nlm_host_findcreate(g, name, netid, addr); in nlm_do_test() 469 char *netid; in nlm_do_lock() local 479 netid = svc_getnetid(sr->rq_xprt); in nlm_do_lock() 483 host = nlm_host_findcreate(g, name, netid, addr); in nlm_do_lock() 486 char *, name, char *, netid, struct netbuf *, addr); in nlm_do_lock() 778 char *netid; in nlm_do_cancel() local 784 netid = svc_getnetid(sr->rq_xprt); in nlm_do_cancel() 789 host = nlm_host_findcreate(g, name, netid, addr); in nlm_do_cancel() [all …]
|
H A D | nlm_impl.c | 1321 nlm_host_create(char *name, const char *netid, in nlm_host_create() argument 1335 host->nh_netid = strdup(netid); in nlm_host_create() 1555 nlm_host_find_locked(struct nlm_globals *g, const char *netid, in nlm_host_find_locked() argument 1563 key.nh_netid = (char *)netid; in nlm_host_find_locked() 1592 nlm_host_find(struct nlm_globals *g, const char *netid, in nlm_host_find() argument 1601 hostp = nlm_host_find_locked(g, netid, addr, NULL); in nlm_host_find() 1619 const char *netid, struct netbuf *addr) in nlm_host_findcreate() argument 1632 host = nlm_host_find_locked(g, netid, addr, NULL); in nlm_host_findcreate() 1637 err = nlm_knc_from_netid(netid, &knc); in nlm_host_findcreate() 1644 newhost = nlm_host_create(name, netid, &knc, addr); in nlm_host_findcreate() [all …]
|
/titanic_44/usr/src/uts/common/nfs/ |
H A D | nfssys.h | 57 char *netid; /* Identify transport */ member 67 caddr32_t netid; /* Identify transport */ member 179 char *netid; /* Network Identifier */ member 188 caddr32_t netid; /* Network Identifier */ member 274 char *netid; /* Transport Identifier */ member 285 caddr32_t netid; member
|
/titanic_44/usr/src/cmd/ypcmd/ |
H A D | ypserv.c | 151 char *netid; member 281 if ((nconf = getnetconfigent(service[i].netid)) == NULL) { in ypinit() 283 service[i].netid); in ypinit() 289 logprintf("t_open failed for %s\n", service[i].netid); in ypinit() 297 service[i].netid); in ypinit() 307 service[i].netid); in ypinit() 316 logprintf("%s %s\n", service[i].netid, register_failed); in ypinit() 328 service[i].netid, register_failed); in ypinit()
|
H A D | ypxfrd_client.c | 220 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());
|
/titanic_44/usr/src/cmd/krb5/kwarn/ |
H A D | kwarnd.c | 138 char *netid; local 143 if ((netid = getenv("NLSPROVIDER")) == NULL) { 144 netid = "ticotsord"; 147 if ((nconf = getnetconfigent(netid)) == NULL) {
|
/titanic_44/usr/src/uts/common/rpc/ |
H A D | svc_gen.c | 102 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()
|
/titanic_44/usr/src/cmd/gss/gssd/ |
H A D | gssd.c | 154 char *netid; local 159 if ((netid = getenv("NLSPROVIDER")) == NULL) { 160 netid = "ticotsord"; 163 if ((nconf = getnetconfigent(netid)) == NULL) {
|
/titanic_44/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | nfs_cmd.c | 104 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()
|
/titanic_44/usr/src/lib/libnsl/netselect/ |
H A D | netselect.c | 220 getnetconfigent(const char *netid) in getnetconfigent() argument 232 if (strcmp((*tpp)->nc_netid, netid) == 0) { in getnetconfigent() 324 fgetnetconfig(FILE *fp, char *netid) in fgetnetconfig() argument 349 if (netid && (strcmp(netid, entnetid) != 0)) { in fgetnetconfig() 401 char *netid; /* holds a component of NETPATH */ in setnetpath() local 468 netid = tp; in setnetpath() 475 if (strcmp(netid, (*tpp)->nc_netid) == 0) { in setnetpath() 503 netid = tp = valid_netpath; in setnetpath() 505 netid = tp; in setnetpath() 511 if (strcmp(netid, (*tpp)->nc_netid) == 0) { in setnetpath()
|
/titanic_44/usr/src/cmd/rpcsvc/ |
H A D | rstat_main.c | 73 char *netid; in main() local 79 if ((netid = getenv("NLSPROVIDER")) == NULL) { in main() 83 } else if ((nconf = getnetconfigent(netid)) == NULL) { in main()
|
/titanic_44/usr/src/cmd/ypcmd/net_files/ |
H A D | Makefile | 82 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:
|
/titanic_44/usr/src/cmd/netfiles/ |
H A D | nss.dfl | 27 # 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.
|
/titanic_44/usr/src/uts/common/io/ |
H A D | neti_impl.c | 123 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 D | neti_stack.c | 816 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()
|