Searched refs:addrlen (Results 1 – 3 of 3) sorted by relevance
/base/startup/init/services/loopevent/socket/ |
D | le_socket.c | 140 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/ |
D | init_socket.c | 56 socklen_t addrlen = sizeof(addr); in GetControlSocket() local 57 ret = getsockname(fd, (struct sockaddr*)&addr, &addrlen); in GetControlSocket()
|
/base/startup/appspawn/test/unittest/ |
D | app_spawn_stub.cpp | 106 int BindStub(int sockfd, const struct sockaddr *addr, socklen_t addrlen) in BindStub() argument 110 UNUSED(addrlen); in BindStub()
|