Home
last modified time | relevance | path

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

/external/qemu/slirp/
Dslirp.c68 FIXED_INFO *FixedInfo=NULL; in get_dns_addr() local
74 FixedInfo = (FIXED_INFO *)GlobalAlloc(GPTR, sizeof(FIXED_INFO)); in get_dns_addr()
77 if (ERROR_BUFFER_OVERFLOW == GetNetworkParams(FixedInfo, &BufLen)) { in get_dns_addr()
78 if (FixedInfo) { in get_dns_addr()
79 GlobalFree(FixedInfo); in get_dns_addr()
80 FixedInfo = NULL; 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()
87 if (FixedInfo) { in get_dns_addr()
88 GlobalFree(FixedInfo); in get_dns_addr()
[all …]
/external/qemu/slirp-android/
Dslirp.c102 FIXED_INFO *FixedInfo=NULL; in slirp_get_system_dns_servers() local
110 FixedInfo = (FIXED_INFO *)GlobalAlloc(GPTR, sizeof(FIXED_INFO)); in slirp_get_system_dns_servers()
113 if (ERROR_BUFFER_OVERFLOW == GetNetworkParams(FixedInfo, &BufLen)) { in slirp_get_system_dns_servers()
114 if (FixedInfo) { in slirp_get_system_dns_servers()
115 GlobalFree(FixedInfo); in slirp_get_system_dns_servers()
116 FixedInfo = NULL; 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()
123 if (FixedInfo) { in slirp_get_system_dns_servers()
124 GlobalFree(FixedInfo); in slirp_get_system_dns_servers()
[all …]