Home
last modified time | relevance | path

Searched refs:nc_protofmly (Results 1 – 25 of 53) sorted by relevance

123

/illumos-gate/usr/src/cmd/rpcbind/
H A Drpcb_check.c164 } else if (strcmp(conf->nc_protofmly, "inet") == 0 || in rpcb_log()
165 strcmp(conf->nc_protofmly, "inet6") == 0) { in rpcb_log()
172 conf->nc_protofmly, uaddr); in rpcb_log()
207 if (ispmap && strcmp(conf->nc_protofmly, "inet") != 0) { in rpcb_check()
209 } else if (strcmp(conf->nc_protofmly, "inet") == 0 || in rpcb_check()
210 strcmp(conf->nc_protofmly, "inet6") == 0) { in rpcb_check()
H A Drpcb_svc_4.c245 if (strcmp(trans_conf->nc_protofmly, NC_INET6) == 0) { in rpcbproc_getaddrlist()
279 if (strcmp(nconf->nc_protofmly, reg_nconf->nc_protofmly) in rpcbproc_getaddrlist()
319 a->r_nc_protofmly = nconf->nc_protofmly; in rpcbproc_getaddrlist()
H A Drpcbind.c392 if (strcmp(np->nc_protofmly, NC_LOOPBACK) == 0) in check_netconfig()
509 if ((strcmp(nconf->nc_protofmly, NC_INET6) == 0) && !ipv6flag) { in init_transport()
524 (strcmp(nconf->nc_protofmly, NC_INET) == 0 || in init_transport()
525 strcmp(nconf->nc_protofmly, NC_INET6) == 0) && in init_transport()
598 if ((strcmp(nconf->nc_protofmly, NC_INET6) == 0) && in init_transport()
614 if ((strcmp(nconf->nc_protofmly, NC_INET) == 0) && in init_transport()
704 if (strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0) { in init_transport()
H A Dcheck_bound.c361 if ((strcmp(fdl->nconf->nc_protofmly, NC_INET) != 0) && in mergeaddr()
362 (strcmp(fdl->nconf->nc_protofmly, NC_INET6) != 0)) { in mergeaddr()
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_resolve.c89 len = strlen(nconf->nc_protofmly); in get_knconf()
96 bcopy(nconf->nc_protofmly, k->knc_protofmly, len); in get_knconf()
227 if ((strcmp(nconf->nc_protofmly, in resolve_netconf()
229 strcmp(nconf->nc_protofmly, in resolve_netconf()
241 if ((strcmp(nconf->nc_protofmly, in resolve_netconf()
243 strcmp(nconf->nc_protofmly, in resolve_netconf()
302 if (strcmp(nconf->nc_protofmly, NC_INET) == 0) in setup_nb_parms()
306 else if (strcmp(nconf->nc_protofmly, NC_INET6) == 0) in setup_nb_parms()
320 if (strcmp(nconf->nc_protofmly, NC_INET) == 0) in setup_nb_parms()
324 else if (strcmp(nconf->nc_protofmly, NC_INET6) == 0) in setup_nb_parms()
/illumos-gate/usr/src/lib/libnsl/netdir/
H A Dnetdir.c165 if ((strcmp(tp->nc_protofmly, NC_INET) == 0) && in netdir_getbyname()
183 if ((strcmp(tp->nc_protofmly, NC_INET6) == 0) && in netdir_getbyname()
272 if ((strcmp(tp->nc_protofmly, NC_INET) == 0) && in netdir_getbyaddr()
282 if ((strcmp(tp->nc_protofmly, NC_INET6) == 0) && in netdir_getbyaddr()
306 if ((strcmp(tp->nc_protofmly, NC_INET) == 0) && in __netdir_getbyaddr_nosrv()
316 if ((strcmp(tp->nc_protofmly, NC_INET6) == 0) && in __netdir_getbyaddr_nosrv()
408 if ((strcmp(tp->nc_protofmly, NC_INET) == 0 || in netdir_options()
409 strcmp(tp->nc_protofmly, NC_INET6) == 0) && in netdir_options()
459 if ((strcmp(tp->nc_protofmly, NC_INET) == 0 || in uaddr2taddr()
460 strcmp(tp->nc_protofmly, NC_INET6) == 0) && in uaddr2taddr()
[all …]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Drpc_generic.c210 if (strcmp(nconf->nc_protofmly, NC_INET) == 0) { in __rpc_getconfip()
354 (strcmp(nconf->nc_protofmly, NC_INET) && in __rpc_getconf()
355 strcmp(nconf->nc_protofmly, NC_INET6)) || in __rpc_getconf()
361 (strcmp(nconf->nc_protofmly, NC_INET) && in __rpc_getconf()
362 strcmp(nconf->nc_protofmly, NC_INET6)) || in __rpc_getconf()
370 if (strcmp(nconf->nc_protofmly, NC_LOOPBACK)) in __rpc_getconf()
H A Dclnt_generic.c385 if (strcmp(nconf->nc_protofmly, NC_INET) != 0 && in clnt_create_service_timed()
386 strcmp(nconf->nc_protofmly, NC_INET6) != 0) in clnt_create_service_timed()
424 if (strcmp(nconf->nc_protofmly, NC_INET) == 0) { in clnt_create_service_timed()
427 } else if (strcmp(nconf->nc_protofmly, NC_INET6) == 0) { in clnt_create_service_timed()
657 if (nconf && ((strcmp(nconf->nc_protofmly, NC_INET) == 0) || in _clnt_tli_create_timed()
658 (strcmp(nconf->nc_protofmly, NC_INET6) == 0))) { in _clnt_tli_create_timed()
H A Dauth_time.c354 if (strcasecmp(nc->nc_protofmly, NC_INET) == 0) { in __rpc_get_time_offset()
360 } else if (strcasecmp(nc->nc_protofmly, NC_INET6) == 0) { in __rpc_get_time_offset()
464 if (strcasecmp(nc->nc_protofmly, NC_INET) == 0) { in __rpc_get_time_offset()
469 } else if (strcasecmp(nc->nc_protofmly, NC_INET6) == in __rpc_get_time_offset()
H A Drpcb_clnt.c426 if (strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0) { in local_rpcb()
545 (strcmp(nconf->nc_protofmly, rmap->r_nc_protofmly) == 0) && in got_entry()
671 if (check_rpcbind && strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0) { in __rpcb_findaddr_timed()
701 if (strcmp(nconf_clts->nc_protofmly, in __rpcb_findaddr_timed()
702 nconf->nc_protofmly) != 0) { in __rpcb_findaddr_timed()
902 if (strcmp(nconf->nc_protofmly, NC_INET) == 0) { in __rpcb_findaddr_timed()
953 if (strcmp(newnconf->nc_protofmly, in __rpcb_findaddr_timed()
954 nconf->nc_protofmly) == 0) in __rpcb_findaddr_timed()
H A Dsvc_generic.c374 (strcmp(nconf->nc_protofmly, NC_INET) == 0 || in svc_tli_create_common()
375 strcmp(nconf->nc_protofmly, NC_INET6) == 0)) { in svc_tli_create_common()
565 (strcmp(nconf->nc_protofmly, "inet") == 0)) in svc_tli_create_common()
/illumos-gate/usr/src/cmd/ypcmd/
H A Dyp_b_svc.c214 if (strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0) {
353 if (((strcmp(nconf->nc_protofmly, NC_INET) == 0) ||
354 (strcmp(nconf->nc_protofmly, NC_INET6))) &&
358 if (strcmp(nconf->nc_protofmly, NC_INET)) {
376 if (strcmp(nconf->nc_protofmly, NC_INET) == 0) {
392 if (strcmp(nconf->nc_protofmly, NC_INET)) {
398 if (strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0) {
H A Dyp_b_subr.c857 if (strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0) {
864 if (strcmp(nconf->nc_protofmly, NC_LOOPBACK) != 0) {
877 if (strcmp(nconf->nc_protofmly,
1090 ncb->nc_protofmly =
1091 nca->nc_protofmly ? strdup(nca->nc_protofmly) : NULL;
1108 if (ncb->nc_protofmly)
1109 free(ncb->nc_protofmly);
1139 if (ncb->nc_protofmly)
1140 free(ncb->nc_protofmly);
H A Drpc_bootstrap.c157 if (strcmp(nconf->nc_protofmly, NC_INET6) == 0) {
159 } else if (strcmp(nconf->nc_protofmly, NC_INET) == 0) {
316 (strcmp(nc->nc_protofmly, NC_INET) == 0)) {
/illumos-gate/usr/src/lib/libsocket/socket/
H A D_soutil.c216 if (strcmp(net->nc_protofmly, family_sw[family]) == 0 && in _s_match_netconf()
221 if (strcmp(net->nc_protofmly, family_sw[family]) == 0 && in _s_match_netconf()
230 if (strcmp(net->nc_protofmly, family_sw[family]) == 0 && in _s_match_netconf()
/illumos-gate/usr/src/lib/librpcsvc/common/
H A Dbindresvport.c86 (strcmp(nconf->nc_protofmly, NC_INET) &&
87 strcmp(nconf->nc_protofmly, NC_INET6)) ||
92 if (strcmp(nconf->nc_protofmly, NC_INET6) == 0)
/illumos-gate/usr/src/lib/libnsl/nis/gen/
H A Dnis_misc.c68 ep->family = strdup(nc->nc_protofmly); in __nis_netconfig2ep()
83 if (strcmp(nc->nc_protofmly, ep->family) != 0) in __nis_netconfig_matches_ep()
/illumos-gate/usr/src/lib/libnsl/netselect/
H A Dnetselect.c365 ((netconfigp->nc_protofmly = gettoken(NULL, FALSE)) == NULL) || in fgetnetconfig()
897 free_entry(netconfigp->nc_protofmly); in netconfig_free()
919 nconf->nc_protofmly = strdup(netconfigp->nc_protofmly); in netconfig_dup()
925 nconf->nc_protofmly && nconf->nc_proto && in netconfig_dup()
/illumos-gate/usr/src/cmd/fs.d/nfs/tests/test_svc_tp_create/
H A Dtest_svc_tp_create.c103 (strcmp(nconf->nc_protofmly, NC_INET) == 0 || in test_svc_tp_create()
104 strcmp(nconf->nc_protofmly, NC_INET6) == 0)) { in test_svc_tp_create()
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dnetdir_inet_sundry.c140 if (strcmp(tp->nc_protofmly, NC_INET) == 0) { in __inet_taddr2uaddr()
171 if (strcmp(tp->nc_protofmly, NC_INET) == 0) in __inet_uaddr2taddr()
751 if (strcmp(tp->nc_protofmly, NC_INET) == 0) in inet_netdir_mergeaddr()
932 if (strcmp(nconf->nc_protofmly, NC_INET) == 0) { in bindresvport()
940 } else if (strcmp(nconf->nc_protofmly, NC_INET6) == 0) { in bindresvport()
/illumos-gate/usr/src/lib/libwrap/
H A Dtli.c84 && (STR_EQ(request->config->nc_protofmly, "inet")
86 || STR_EQ(request->config->nc_protofmly, "inet6")
/illumos-gate/usr/src/uts/common/sys/
H A Dnetconfig.h47 char *nc_protofmly; /* protocol family name */ member
/illumos-gate/usr/src/cmd/gss/gssd/
H A Dgssd_handle.c88 if (strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0) {
H A Dgssd_generic.c73 if ((strcmp(nconf->nc_protofmly, NC_LOOPBACK)) ||
/illumos-gate/usr/src/cmd/krb5/kwarn/
H A Dkwarnd_handle.c88 if (strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0) {

123