OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:slisten
(Results
1 - 2
of
2
) sorted by null
/external/qemu/
qemu-sockets-android.c
89
int
slisten
,to,try_next,nn;
local
133
slisten
= socket_create(family, SOCKET_STREAM);
134
if (
slisten
< 0) {
140
socket_set_xreuseaddr(
slisten
);
144
socket_set_ipv6only(
slisten
);
149
if (socket_bind(
slisten
, e) == 0) {
155
socket_close(
slisten
);
173
if (socket_listen(
slisten
,1) != 0) {
175
socket_close(
slisten
);
184
return
slisten
;
[
all
...]
qemu-sockets.c
131
int
slisten
,rc,to,try_next;
local
176
slisten
= qemu_socket(e->ai_family, e->ai_socktype, e->ai_protocol);
177
if (
slisten
< 0) {
183
setsockopt(
slisten
,SOL_SOCKET,SO_REUSEADDR,(void*)&on,sizeof(on));
187
setsockopt(
slisten
,IPPROTO_IPV6,IPV6_V6ONLY,(void*)&off,
193
if (bind(
slisten
, e->ai_addr, e->ai_addrlen) == 0) {
210
closesocket(
slisten
);
217
if (listen(
slisten
,1) != 0) {
219
closesocket(
slisten
);
229
return
slisten
;
[
all
...]
Completed in 1409 milliseconds