/src/usr.sbin/ypserv/mknetid/ |
Makefile | 4 MAN= mknetid.8 netid.5
|
/src/usr.sbin/rpcbind/ |
rpcb_stat.c | 104 const char *netid, const char *uaddr) 113 if(al->netid == NULL) 116 (strcmp(al->netid, netid) == 0)) { 124 nconf = rpcbind_get_conf(netid); 134 al->netid = nconf->nc_netid; 148 rpcvers_t vers, rpcproc_t proc, char *netid, rpcblist_ptr rbl) 157 if(rl->netid == NULL) 162 (strcmp(rl->netid, netid) == 0)) [all...] |
check_bound.c | 151 is_bound(const char *netid, const char *uaddr) 156 if (strcmp(fdl->nconf->nc_netid, netid) == 0) 169 mergeaddr(SVCXPRT *xprt, char *netid, char *uaddr, char *saddr) 175 if (strcmp(fdl->nconf->nc_netid, netid) == 0) 222 m_uaddr = addrmerge(svc_getrpccaller(xprt), s_uaddr, c_uaddr, netid); 237 rpcbind_get_conf(const char *netid) 242 if (strcmp(fdl->nconf->nc_netid, netid) == 0)
|
pmap_svc.c | 296 const char *netid, *ua; local in function:pmapproc_getport 300 netid = udptrans; 303 netid = tcptrans; 314 if (is_bound(netid, serveuaddr)) {
|
util.c | 94 const char *netid) 118 clnt_uaddr, netid); 120 nconf = getnetconfigent(netid);
|
rpcbind.h | 141 const char *netid);
|
rpcb_svc_com.c | 83 char *netid; member in struct:rmtcallfd_list 130 * Set a mapping of program, version, netid 218 * Unset a mapping of program, version, netid 528 rmt->netid = strdup(nconf->nc_netid); 529 xprt->xp_netid = rmt->netid; 544 find_rmtcallfd_by_netid(char *netid) 549 if (strcmp(netid, rmt->netid) == 0) { 1226 "fd %d, netid %s - calling handle_reply\n", 1360 find_versions(rpcprog_t prog, char *netid, rpcvers_t *lowvp, rpcvers_t *highvp [all...] |
/src/lib/libc/rpc/ |
svc_simple.c | 97 * handle is created for all the services (actually one of each netid) 98 * and same xdrbuf is used for same netid. The size of the arguments 138 char *netid; local in function:rpc_reg 144 netid = NULL; 150 netid = pl->p_netid; 172 ((netid = strdup(nconf->nc_netid)) == NULL)) { 176 if (netid != NULL) 177 free(netid); 184 * Check if this (program, version, netid) had already been 190 (strcmp(pl->p_netid, netid) == 0) [all...] |
svc.c | 256 char *netid = NULL; local in function:svc_reg 265 netid = strdup(xprt->xp_netid); 268 netid = strdup(nconf->nc_netid); 271 netid = strdup(tnconf->nc_netid); 275 if ((netid == NULL) && (flag == 1)) { 280 if ((s = svc_find(prog, vers, &prev, netid)) != NULL) { 281 if (netid) 282 free(netid); 290 if (netid) 291 free(netid); [all...] |
rpc_generic.c | 100 const char *netid; member in struct:netid_af 255 char *netid; local in function:__rpc_getconfip 320 netid = netid_udp; 322 netid = netid_tcp; 326 if ((netid == NULL) || (netid[0] == 0)) { 329 dummy = getnetconfigent(netid); 498 const char *netid; local in function:__rpcgettp 504 if (!__rpc_sockinfo2netid(&si, &netid)) 507 return getnetconfigent(__UNCONST(netid)); [all...] |
rpc_soc.c | 226 svc_com_create(int fd, u_int sendsize, u_int recvsize, const char *netid) 234 _DIAGASSERT(netid != NULL); 236 if ((nconf = __rpc_getconfip(netid)) == NULL) { 237 (void) syslog(LOG_ERR, "Could not get %s transport", netid); 245 "svc%s_create: could not open connection", netid); 261 netid, strerror(errno)); 361 * Dont care about netid here.
|
rpcb_st_xdr.c | 84 if (!xdr_string(xdrs, &objp->netid, RPC_MAXDATASIZE)) { 136 if (!xdr_string(xdrs, &objp->netid, RPC_MAXDATASIZE)) { 174 if (!xdr_string(xdrs, &objp->netid, RPC_MAXDATASIZE)) { 202 if (!xdr_string(xdrs, &objp->netid, RPC_MAXDATASIZE)) {
|
getnetconfig.c | 415 * getnetconfigent(netid) returns a pointer to the struct netconfig structure 416 * corresponding to netid. It returns NULL if netid is invalid (that is, does 423 getnetconfigent(const char *netid) 431 if (netid == NULL || strlen(netid) == 0) 439 * db and try find the match netid. 441 * there is no match for the netid, return NULL. 445 if (strcmp(list->ncp->nc_netid, netid) == 0) 475 if (strlen(netid) == (len = (size_t)(tmpp - stringp)) & [all...] |
rpcb_clnt.c | 163 * cache of rpcbind addresses for (host, netid). 167 check_cache(const char *host, const char *netid) 172 _DIAGASSERT(netid != NULL); 178 !strcmp(cptr->ac_netid, netid)) { 181 host, netid); 218 add_cache(const char *host, const char *netid, struct netbuf *taddr, 224 _DIAGASSERT(netid != NULL); 233 ad_cache->ac_netid = strdup(netid); 257 fprintf(stderr, "Added to cache: %s : %s\n", host, netid); 367 printf("trying netid %s family %d proto %d socktype %d\n" [all...] |
svc_vc.c | 264 const char *netid; local in function:makefd_xprt 284 if (__rpc_fd2sockinfo(fd, &si) && __rpc_sockinfo2netid(&si, &netid)) 285 if ((xprt->xp_netid = strdup(netid)) == NULL)
|
/src/sbin/mount_nfs/ |
getnfsargs.c | 110 const char *netid; local in function:getnfsargs 162 netid = "tcp6"; 164 netid = "tcp"; 167 netid = "udp6"; 169 netid = "udp"; 172 nconf = getnetconfigent(netid); 205 mnttcp_ok ? nconf : getnetconfigent(netid));
|
/src/usr.bin/rpcinfo/ |
rpcinfo.c | 112 char *netid; member in struct:netidlist 169 char *netid = NULL; local in function:main 255 netid = optarg; 263 if (errflg || ((function == ADDRPING) && !netid)) 293 deletereg(netid, argc - optind, argv + optind); 296 addrping(address, netid, argc - optind, argv + optind); 299 progping(netid, argc - optind, argv + optind); 303 rpcbdump(function, netid, argc - optind, argv + optind); 309 rpcbaddrlist(netid, argc - optind, argv + optind); 662 add_netid(struct rpcbdump_short *rs, char *netid) [all...] |
/src/include/rpc/ |
rpcb_prot.x | 56 % * [prog, vers, address, owner, netid]. 57 % * Finds out owner and netid information on its own. 61 % * [prog, vers, netid]. addresses is ignored. 62 % * If netid is NULL, unregister all. 66 % * triple [prog, vers, netid] is registered. Ignore address and owner. 103 % * triple [prog, vers, netid] is registered. Ignore address and owner. 248 string r_nc_netid<>; /* netid field */ 285 string netid<>; 297 string netid<>; 513 % char *netid; [all...] |
/src/sys/arch/ia64/stand/efi/libefi/ |
efinet.c | 234 static EFI_GUID netid = EFI_SIMPLE_NETWORK_PROTOCOL_GUID; local in function:efinet_init_driver 242 status = BS->LocateHandle(ByProtocol, &netid, 0, &sz, 0); 246 status = BS->LocateHandle(ByProtocol, &netid, 0, &sz, handles); 266 BS->HandleProtocol(handles[i], &netid,
|
/src/usr.sbin/rpc.lockd/ |
lock_proc.c | 156 const char *netid; local in function:get_client 208 netid = "udp6"; 210 netid = "udp"; 213 netid = "tcp6"; 215 netid = "tcp"; 217 nconf = getnetconfigent(netid); 220 "no /etc/netconfig file?", netid);
|
/src/sys/dev/cardbus/ |
if_tlp_cardbus.c | 366 memcpy(enaddr, ca->ca_cis.funce.network.netid, 415 memcpy(enaddr, ca->ca_cis.funce.network.netid, sizeof(enaddr));
|
cardbusvar.h | 196 char netid[6]; member in struct:cardbus_cis_info::__anon2017235f010a::__anon2017235f0308
|
cardbus.c | 382 sizeof(cis->funce.network.netid)) { 388 memcpy(cis->funce.network.netid,
|
/src/sys/fs/nfs/nlm/ |
nlm_prot_impl.c | 1442 char netid[16]; local in function:nlm_register_services 1473 error = copyinstr(up, netid, sizeof(netid), 1485 nconf = getnetconfigent(netid); 1487 NLM_ERR("Can't lookup netid %s\n", 1488 netid);
|
/src/sys/arch/ia64/stand/ia64/efi/ |
main.c | 66 EFI_GUID netid = EFI_SIMPLE_NETWORK_PROTOCOL_GUID; variable in typeref:typename:EFI_GUID
|