Home
last modified time | relevance | path

Searched refs:BufLen (Results 1 – 2 of 2) sorted by relevance

/external/qemu/slirp/
Dslirp.c69 ULONG BufLen; in get_dns_addr() local
75 BufLen = sizeof(FIXED_INFO); in get_dns_addr()
77 if (ERROR_BUFFER_OVERFLOW == GetNetworkParams(FixedInfo, &BufLen)) { in get_dns_addr()
82 FixedInfo = GlobalAlloc(GPTR, BufLen); in get_dns_addr()
85 if ((ret = GetNetworkParams(FixedInfo, &BufLen)) != ERROR_SUCCESS) { in get_dns_addr()
/external/qemu/slirp-android/
Dslirp.c103 ULONG BufLen; in slirp_get_system_dns_servers() local
111 BufLen = sizeof(FIXED_INFO); in slirp_get_system_dns_servers()
113 if (ERROR_BUFFER_OVERFLOW == GetNetworkParams(FixedInfo, &BufLen)) { in slirp_get_system_dns_servers()
118 FixedInfo = GlobalAlloc(GPTR, BufLen); in slirp_get_system_dns_servers()
121 if ((ret = GetNetworkParams(FixedInfo, &BufLen)) != ERROR_SUCCESS) { in slirp_get_system_dns_servers()