Home
last modified time | relevance | path

Searched refs:serverfd (Results 1 – 4 of 4) sorted by relevance

/external/curl/tests/server/
Dsws.c1355 curl_socket_t serverfd; in connect_to() local
1375 serverfd = socket(socket_domain, SOCK_STREAM, 0); in connect_to()
1376 if(CURL_SOCKET_BAD == serverfd) { in connect_to()
1387 if(0 != setsockopt(serverfd, IPPROTO_TCP, TCP_NODELAY, in connect_to()
1400 sclose(serverfd); in connect_to()
1404 rc = connect(serverfd, &serveraddr.sa, sizeof(serveraddr.sa4)); in connect_to()
1413 sclose(serverfd); in connect_to()
1417 rc = connect(serverfd, &serveraddr.sa, sizeof(serveraddr.sa6)); in connect_to()
1428 sclose(serverfd); in connect_to()
1436 sclose(serverfd); in connect_to()
[all …]
/external/dnsmasq/src/
Ddnsmasq.h314 struct serverfd { struct
318 struct serverfd* next; argument
330 struct serverfd* sfd; argument
625 struct serverfd* sfds;
Dnetwork.c636 static struct serverfd* allocate_sfd(union mysockaddr* addr, char* intname, uint32_t mark) { in allocate_sfd()
637 struct serverfd* sfd; in allocate_sfd()
665 if (!(sfd = whine_malloc(sizeof(struct serverfd)))) return NULL; in allocate_sfd()
Ddnsmasq.c849 struct serverfd* serverfdp; in set_dns_listeners()
890 struct serverfd* serverfdp; in check_dns_listeners()