Searched refs:newsock (Results 1 – 12 of 12) sorted by relevance
/external/openssh/ |
D | sshd.c | 1094 server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s) argument 1198 *newsock = accept(listen_socks[i], 1200 if (*newsock == -1) { 1209 if (unset_nonblock(*newsock) == -1) { 1210 close(*newsock); 1214 char *laddr = get_local_ipaddr(*newsock); 1215 char *raddr = get_peer_ipaddr(*newsock); 1220 raddr, get_peer_port(*newsock), 1221 laddr, get_local_port(*newsock)); 1225 (void)write(*newsock, msg, strlen(msg)); [all …]
|
D | channels.c | 1655 int r, newsock, oerrno, remote_port; in channel_post_x11_listener() local 1664 newsock = accept(c->sock, (struct sockaddr *)&addr, &addrlen); in channel_post_x11_listener() 1672 if (newsock == -1) { in channel_post_x11_listener() 1680 set_nodelay(newsock); in channel_post_x11_listener() 1681 remote_ipaddr = get_peer_ipaddr(newsock); in channel_post_x11_listener() 1682 remote_port = get_peer_port(newsock); in channel_post_x11_listener() 1687 SSH_CHANNEL_OPENING, newsock, newsock, -1, in channel_post_x11_listener() 1786 int newsock, nextstate; in channel_post_port_listener() local 1814 newsock = accept(c->sock, (struct sockaddr *)&addr, &addrlen); in channel_post_port_listener() 1815 if (newsock == -1) { in channel_post_port_listener() [all …]
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
D | TCPMessageProcessor.java | 133 Socket newsock = sock.accept(); in run() local 140 incomingTcpMessageChannels.add(new TCPMessageChannel(newsock, sipStack, this)); in run()
|
D | TLSMessageProcessor.java | 147 Socket newsock = sock.accept(); in run() local 156 incomingTlsMessageChannels.add(new TLSMessageChannel(newsock, sipStack, this)); in run()
|
/external/python/cpython2/Lib/ |
D | ssl.py | 894 newsock, addr = socket.accept(self) 895 newsock = self.context.wrap_socket(newsock, 899 return newsock, addr
|
/external/python/cpython3/Lib/ |
D | ssl.py | 1354 newsock, addr = super().accept() 1355 newsock = self.context.wrap_socket(newsock, 1359 return newsock, addr
|
/external/libevent/test/ |
D | test-ratelim.c | 190 echo_listenercb(struct evconnlistener *listener, evutil_socket_t newsock, in echo_listenercb() argument 197 bev = bufferevent_socket_new(base, newsock, flags); in echo_listenercb()
|
/external/stressapptest/src/ |
D | worker.cc | 2098 int newsock = accept(sock_, reinterpret_cast<struct sockaddr *>(&sa), &size); in GetConnection() local 2099 if (newsock < 0) { in GetConnection() 2105 *pnewsock = newsock; in GetConnection() 2266 bool NetworkListenThread::SpawnSlave(int newsock, int threadid) { in SpawnSlave() argument 2271 child_worker->thread.SetSock(newsock); in SpawnSlave() 2320 int newsock = 0; in Work() local 2331 if (GetConnection(&newsock)) { in Work() 2332 SpawnSlave(newsock, threadcount); in Work()
|
D | worker.h | 542 virtual bool SpawnSlave(int newsock, int threadid);
|
/external/python/cpython2/Lib/test/ |
D | test_ssl.py | 2257 newsock, addr = s.accept() 2258 newsock.close()
|
/external/python/cpython3/Lib/test/ |
D | test_socket.py | 5728 newsock = sock.dup() 5730 with newsock: 5731 self.assertEqual(newsock.get_inheritable(), False)
|
D | test_ssl.py | 3157 newsock, addr = s.accept() 3158 newsock.close()
|