Home
last modified time | relevance | path

Searched refs:listen_socket (Results 1 – 7 of 7) sorted by relevance

/freebsd/tools/regression/sockets/sendfile/
H A Dsendfile.c80 static int listen_socket; variable
121 if (listen_socket > 0) in signal_alarm()
122 close(listen_socket); in signal_alarm()
191 listen_socket = socket(PF_INET, SOCK_STREAM, 0); in run_child()
192 if (listen_socket < 0) { in run_child()
204 if (bind(listen_socket, (struct sockaddr *)&sin, sizeof(sin)) < 0) { in run_child()
210 if (!rc && listen(listen_socket, -1) < 0) { in run_child()
216 accept_socket = accept(listen_socket, NULL, NULL); in run_child()
225 if (listen_socket > 0) in run_child()
226 close(listen_socket); in run_child()
/freebsd/contrib/llvm-project/lldb/source/Host/posix/
H A DDomainSocket.cpp67 const DomainSocket &listen_socket) in DomainSocket()
68 : Socket(ProtocolUnixDomain, listen_socket.m_should_close_fd, in DomainSocket()
69 listen_socket.m_child_processes_inherit) { in DomainSocket()
66 DomainSocket(NativeSocket socket,const DomainSocket & listen_socket) DomainSocket() argument
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DTCPSocket.cpp62 TCPSocket::TCPSocket(NativeSocket socket, const TCPSocket &listen_socket) in TCPSocket() argument
63 : Socket(ProtocolTcp, listen_socket.m_should_close_fd, in TCPSocket()
64 listen_socket.m_child_processes_inherit) { in TCPSocket()
H A DSocket.cpp172 std::unique_ptr<TCPSocket> listen_socket( in TcpListen() local
175 Status error = listen_socket->Listen(host_and_port, backlog); in TcpListen()
179 return std::move(listen_socket); in TcpListen()
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/posix/
H A DDomainSocket.h33 DomainSocket(NativeSocket socket, const DomainSocket &listen_socket);
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/common/
H A DTCPSocket.h52 TCPSocket(NativeSocket socket, const TCPSocket &listen_socket);
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunication.cpp1212 TCPSocket listen_socket(true, child_processes_inherit); in ConnectLocally() local
1214 listen_socket.Listen("localhost:0", backlog).ToError()) in ConnectLocally()
1219 std::launch::async, [&] { return listen_socket.Accept(accept_socket); }); in ConnectLocally()
1223 << "connect://localhost:" << listen_socket.GetLocalPortNumber(); in ConnectLocally()