Home
last modified time | relevance | path

Searched refs:sockfd (Results 1 – 3 of 3) sorted by relevance

/device/generic/goldfish/fvpbase/tools/
Dbind_to_localhost.cpp20 static int (*real_bind)(int sockfd, const sockaddr* addr, socklen_t addrlen) =
23 extern "C" int bind(int sockfd, const sockaddr* addr, socklen_t addrlen) { in bind() argument
24 if (addr->sa_family != AF_INET) return real_bind(sockfd, addr, addrlen); in bind()
26 if (sin->sin_addr.s_addr != 0) return real_bind(sockfd, addr, addrlen); in bind()
29 return real_bind(sockfd, (sockaddr*)&new_sin, addrlen); in bind()
/device/google/trout/hal/vehicle/2.0/
DPowerStateListener.cpp34 static bool ForwardSocketToFile(int sockfd, const std::string& filePath) { in ForwardSocketToFile() argument
36 auto readlen = read(sockfd, buffer, sizeof(buffer)); in ForwardSocketToFile()
/device/generic/car/emulator/usbpt/usbip-service/
DUsbIpUtils.cpp166 int sockfd = 0; in get_free_vhci_port() local
171 &dev, &sockfd, busid) != EOF) { in get_free_vhci_port()