Home
last modified time | relevance | path

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

/base/startup/init/services/loopevent/socket/
Dle_socket.c139 socklen_t addrlen = sizeof(clientAddr); in AcceptPipeSocket_() local
140 bzero(&clientAddr, addrlen); in AcceptPipeSocket_()
141 int fd = accept(serverFd, (struct sockaddr *)&clientAddr, &addrlen); in AcceptPipeSocket_()
150 socklen_t addrlen = sizeof(clientAddr); in AcceptTcpSocket_() local
151 bzero(&clientAddr, addrlen); in AcceptTcpSocket_()
152 int fd = accept(serverFd, (struct sockaddr *)&clientAddr, &addrlen); in AcceptTcpSocket_()
/base/startup/init/interfaces/innerkits/socket/
Dinit_socket.c56 socklen_t addrlen = sizeof(addr); in GetControlSocket() local
57 ret = getsockname(fd, (struct sockaddr*)&addr, &addrlen); in GetControlSocket()