Home
last modified time | relevance | path

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

/external/libxml2/
Dnanohttp.c968 struct sockaddr_in sockin; in xmlNanoHTTPConnectHost() local
977 memset (&sockin, 0, sizeof(sockin)); in xmlNanoHTTPConnectHost()
1011 if (res->ai_addrlen > sizeof(sockin)) { in xmlNanoHTTPConnectHost()
1016 memcpy (&sockin, res->ai_addr, res->ai_addrlen); in xmlNanoHTTPConnectHost()
1017 sockin.sin_port = htons (port); in xmlNanoHTTPConnectHost()
1018 addr = (struct sockaddr *)&sockin; in xmlNanoHTTPConnectHost()
1099 sockin.sin_family = h->h_addrtype; in xmlNanoHTTPConnectHost()
1100 sockin.sin_addr = ia; in xmlNanoHTTPConnectHost()
1101 sockin.sin_port = (u_short)htons ((unsigned short)port); in xmlNanoHTTPConnectHost()
1102 addr = (struct sockaddr *) &sockin; in xmlNanoHTTPConnectHost()
/external/qemu/
Dsockets.c1441 struct sockaddr_in sockin; in socket_pair()
1453 len = sizeof sockin; in socket_pair()
1454 if (getsockname(s0, (struct sockaddr*) &sockin, &len) < 0) { in socket_pair()
1459 port = ntohs(sockin.sin_port); in socket_pair()
1469 len = sizeof sockin; in socket_pair()
1470 s1 = accept(s0, (struct sockaddr*) &sockin, &len); in socket_pair()