Home
last modified time | relevance | path

Searched refs:listen_sock (Results 1 – 4 of 4) sorted by relevance

/external/libpcap/rpcapd/
Drpcapd.c74 struct listen_sock { struct
75 struct listen_sock *next; argument
83 static struct listen_sock *listen_socks; //!< sockets on which we listen argument
108 static void accept_connection(SOCKET listen_sock);
623 struct listen_sock *sock_info; in main_startup()
666 sock_info = (struct listen_sock *) malloc(sizeof (struct listen_sock)); in main_startup()
852 struct listen_sock *sock_info; in accept_connections()
1003 struct listen_sock *sock_info; in accept_connections()
1133 accept_connection(SOCKET listen_sock) in accept_connection() argument
1156 sockctrl = accept(listen_sock, (struct sockaddr *) &from, &fromlen); in accept_connection()
[all …]
/external/llvm-project/lldb/source/Host/common/
DTCPSocket.cpp262 int listen_sock = -1; in Accept() local
272 &listen_sock](MainLoopBase &loop) { in Accept()
276 listen_sock = fd; in Accept()
292 lldb_private::SocketAddress &AddrIn = m_listen_sockets[listen_sock]; in Accept()
/external/openssh/
Dsshd.c1000 int ret, listen_sock; local
1018 listen_sock = socket(ai->ai_family, ai->ai_socktype,
1020 if (listen_sock == -1) {
1025 if (set_nonblock(listen_sock) == -1) {
1026 close(listen_sock);
1029 if (fcntl(listen_sock, F_SETFD, FD_CLOEXEC) == -1) {
1031 close(listen_sock);
1035 set_reuseaddr(listen_sock);
1037 set_rdomain(listen_sock, la->rdomain) == -1) {
1038 close(listen_sock);
[all …]
/external/scapy/scapy/
Dautomaton.py722 self.listen_sock = self.recv_sock_class(**self.socket_kargs)
806 fds.append(self.listen_sock)
827 elif fd == self.listen_sock:
829 pkt = self.listen_sock.recv(MTU)