Home
last modified time | relevance | path

Searched refs:addrs (Results 1 – 20 of 20) sorted by relevance

/reactos/base/services/nfsd/
H A Dnfs41_server.c181 if (multi_addr_find(&addrs->addrs, addr, NULL)) { in server_addrs_add()
186 StringCchCopyA(addrs->addrs.arr[addrs->next_index].netid, in server_addrs_add()
188 StringCchCopyA(addrs->addrs.arr[addrs->next_index].uaddr, in server_addrs_add()
192 addrs->next_index = (addrs->next_index + 1) % NFS41_ADDRS_PER_SERVER; in server_addrs_add()
194 if (addrs->addrs.count < addrs->next_index) in server_addrs_add()
195 addrs->addrs.count = addrs->next_index; in server_addrs_add()
205 OUT multi_addr4 *addrs) in nfs41_server_addrs() argument
216 memcpy(&addrs->arr[i], &saddrs->addrs.arr[j], sizeof(netaddr4)); in nfs41_server_addrs()
290 addrs->count = 0; in nfs41_server_resolve()
324 StringCchCopyA(addrs->arr[addrs->count].netid, in nfs41_server_resolve()
[all …]
H A Dnamespace.c113 const multi_addr4 *addrs; member
134 for (i = 0; i < info->addrs->count; i++) in cl_addr_compare()
135 if (multi_addr_find(&client->rpc->addrs, &info->addrs->arr[i], NULL)) in cl_addr_compare()
143 IN const multi_addr4 *addrs, in root_client_find_addrs() argument
153 info.addrs = addrs; in root_client_find_addrs()
337 IN const multi_addr4 *addrs, in nfs41_root_mount_addrs() argument
351 status = root_client_find_addrs(root, addrs, is_data, &client); in nfs41_root_mount_addrs()
358 status = nfs41_rpc_clnt_create(addrs, root->wsize, root->rsize, in nfs41_root_mount_addrs()
442 multi_addr4 addrs; in referral_mount_location() local
449 status = nfs41_server_resolve(loc->servers[i].address, 2049, &addrs); in referral_mount_location()
[all …]
H A Dpnfs_debug.c102 IN const multi_addr4 *addrs) in dprint_multi_addr() argument
106 for (i = 0; i < addrs->count; i++) { in dprint_multi_addr()
107 StringCchCatA(buffer, MULTI_ADDR_BUFFER_LEN, addrs->arr[i].uaddr); in dprint_multi_addr()
122 dprint_multi_addr(level, i, &device->servers.arr[i].addrs); in dprint_device()
H A Dnfs41_rpc.c84 IN const multi_addr4 *addrs, in get_client_for_multi_addr() argument
94 for (i = 0; i < addrs->count; i++) { in get_client_for_multi_addr()
95 status = get_client_for_netaddr(&addrs->arr[i], in get_client_for_multi_addr()
146 IN const multi_addr4 *addrs, in nfs41_rpc_clnt_create() argument
178 status = get_client_for_multi_addr(addrs, wsize, rsize, needcb?rpc:NULL, in nfs41_rpc_clnt_create()
218 memcpy(&rpc->addrs, addrs, sizeof(multi_addr4)); in nfs41_rpc_clnt_create()
288 status = get_client_for_multi_addr(&rpc->addrs, rpc->wsize, rpc->rsize, in rpc_reconnect()
H A Dnfs41.h74 multi_addr4 addrs; /* list of addrs we've used with this server */ member
82 struct server_addrs addrs; member
172 multi_addr4 addrs; member
303 IN const multi_addr4 *addrs,
385 OUT multi_addr4 *addrs);
401 OUT multi_addr4 *addrs);
484 IN const multi_addr4 *addrs,
510 return &rpc->addrs.arr[id]; in nfs41_rpc_netaddr()
H A Dnfs41_client.c299 PIP_ADAPTER_ADDRESSES addr, addrs = NULL; in hash_mac_addrs() local
311 tmp = realloc(addrs, len); in hash_mac_addrs()
316 addrs = tmp; in hash_mac_addrs()
321 NULL, addrs, &len); in hash_mac_addrs()
330 for (addr = addrs; addr; addr = addr->Next) in hash_mac_addrs()
354 free(addrs); in hash_mac_addrs()
H A Dmount.c61 multi_addr4 addrs; in handle_mount() local
67 status = nfs41_server_resolve(args->hostname, 2049, &addrs); in handle_mount()
90 status = nfs41_root_mount_addrs(root, &addrs, 0, 0, &client); in handle_mount()
H A Dpnfs_device.c293 server->addrs.arr[0].uaddr); in pnfs_data_server_client()
307 status = nfs41_root_mount_addrs(root, &server->addrs, 1, default_lease, in pnfs_data_server_client()
311 server->addrs.arr[0].uaddr, status); in pnfs_data_server_client()
H A Dutil.c219 IN const multi_addr4 *addrs, in multi_addr_find() argument
224 for (i = 0; i < addrs->count; i++) { in multi_addr_find()
225 const netaddr4 *saddr = &addrs->arr[i]; in multi_addr_find()
H A Dpnfs.h130 multi_addr4 addrs; member
H A Dutil.h176 IN const multi_addr4 *addrs,
H A Dnfs41_xdr.c3114 if (!xdr_multi_addr(xdr, &servers->arr[i].addrs)) in xdr_data_server_list()
/reactos/drivers/network/tcpip/lwip/src/netif/ppp/
H A Dauth.c1708 addrs = NULL;
1724 if (addrs != 0)
1804 if (addrs != 0)
1933 addrs = NULL; in get_secret()
1945 addrs = NULL; in get_secret()
1964 if (addrs != 0) in get_secret()
2006 addrs = NULL;
2227 if ((addr & addrs->mask) == addrs->base)
2250 some_ip_ok(addrs)
2253 for (; addrs != 0; addrs = addrs->next) {
[all …]
/reactos/sdk/lib/3rdparty/adns/src/
H A Dtypes.c431 if (!ha->addrs) R_NOMEM; in pap_findaddrs()
432 memcpy(ha->addrs, pai->qu->vb.buf, naddrs*sizeof(adns_rr_addr)); in pap_findaddrs()
451 rrp->addrs= cans->rrs.addr; in icb_hostaddr()
478 rrp->addrs= 0; in pap_hostaddr()
527 assert(ap->addrs[0].addr.sa.sa_family == AF_INET); in dip_hostaddr()
528 assert(bp->addrs[0].addr.sa.sa_family == AF_INET); in dip_hostaddr()
530 ap->addrs[0].addr.inet.sin_addr, in dip_hostaddr()
531 bp->addrs[0].addr.inet.sin_addr); in dip_hostaddr()
544 tablev= rrp->addrs; in mfp_hostaddr()
546 rrp->addrs= tablev; in mfp_hostaddr()
[all …]
H A Dadns.h279 adns_rr_addr *addrs; member
/reactos/dll/win32/iphlpapi/
H A Difenum_reactos.c184 IPAddrEntry *addrs; in getInterfaceInfoSet() local
191 ( tcpFile, &ip_ent, &addrs, &numAddrs ); in getInterfaceInfoSet()
193 …TRACE("ADDR %d: index %d (target %d)\n", j, addrs[j].iae_index, infoSetInt[curInterf].if_info.ent.… in getInterfaceInfoSet()
194 if( addrs[j].iae_index == in getInterfaceInfoSet()
197 &addrs[j], in getInterfaceInfoSet()
198 sizeof( addrs[j] ) ); in getInterfaceInfoSet()
204 tdiFreeThingSet(addrs); in getInterfaceInfoSet()
H A Diphlpapi_private.h146 IPAddrEntry **addrs, PDWORD numAddrs );
H A Dipstats_reactos.c171 ( HANDLE tcpFile, TDIEntityID *ent, IPAddrEntry **addrs, PDWORD numAddrs ) { in tdiGetIpAddrsForIpEntity() argument
185 (PVOID *)addrs, in tdiGetIpAddrsForIpEntity()
/reactos/base/services/dhcpcsvc/dhcp/
H A Ddhclient.c411 int i, addrs = in set_name_servers() local
414 nsbuf = malloc( addrs * sizeof(IP_ADDRESS_STRING) ); in set_name_servers()
418 for( i = 0; i < addrs; i++ ) { in set_name_servers()
424 if( i != addrs-1 ) strcat( nsbuf, "," ); in set_name_servers()
/reactos/sdk/lib/3rdparty/adns/
H A Dchangelog4 * Treat 8-bit characters in email addrs as RFC822 `special' (=> quote).