Home
last modified time | relevance | path

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

/base/startup/init/services/loopevent/socket/
Dle_socket.c138 struct sockaddr_un clientAddr; in AcceptPipeSocket_() local
139 socklen_t addrlen = sizeof(clientAddr); in AcceptPipeSocket_()
140 bzero(&clientAddr, addrlen); in AcceptPipeSocket_()
141 int fd = accept(serverFd, (struct sockaddr *)&clientAddr, &addrlen); in AcceptPipeSocket_()
143 LE_LOGV("AcceptPipeSocket client fd %d %s ", fd, clientAddr.sun_path); in AcceptPipeSocket_()
149 struct sockaddr_in clientAddr; in AcceptTcpSocket_() local
150 socklen_t addrlen = sizeof(clientAddr); in AcceptTcpSocket_()
151 bzero(&clientAddr, addrlen); in AcceptTcpSocket_()
152 int fd = accept(serverFd, (struct sockaddr *)&clientAddr, &addrlen); in AcceptTcpSocket_()
154 LE_LOGV("AcceptTcpSocket_ client: %s ", inet_ntoa(clientAddr.sin_addr)); in AcceptTcpSocket_()
/base/hiviewdfx/hiview/core/
Devent_server.cpp203 struct sockaddr_un clientAddr; in ReceiveMsg() local
204 socklen_t clientLen = static_cast<socklen_t>(sizeof(clientAddr)); in ReceiveMsg()
206 reinterpret_cast<sockaddr*>(&clientAddr), &clientLen); in ReceiveMsg()
/base/hiviewdfx/faultloggerd/services/
Dfault_logger_daemon.cpp494 struct sockaddr_un clientAddr; in LoopAcceptRequestAndFork() local
495 socklen_t clientAddrSize = static_cast<socklen_t>(sizeof(clientAddr)); in LoopAcceptRequestAndFork()
499 …int connectionFd = accept(socketFd, reinterpret_cast<struct sockaddr *>(&clientAddr), &clientAddrS… in LoopAcceptRequestAndFork()