Home
last modified time | relevance | path

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

/base/startup/init/services/loopevent/socket/
Dle_socket.c140 socklen_t addrlen = sizeof(clientAddr); in AcceptPipeSocket_() local
141 bzero(&clientAddr, addrlen); in AcceptPipeSocket_()
142 int fd = accept(serverFd, (struct sockaddr *)&clientAddr, &addrlen); in AcceptPipeSocket_()
151 socklen_t addrlen = sizeof(clientAddr); in AcceptTcpSocket_() local
152 bzero(&clientAddr, addrlen); in AcceptTcpSocket_()
153 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()
/base/startup/appspawn/test/unittest/
Dapp_spawn_stub.cpp106 int BindStub(int sockfd, const struct sockaddr *addr, socklen_t addrlen) in BindStub() argument
110 UNUSED(addrlen); in BindStub()