Searched refs:newsock (Results 1 – 12 of 12) sorted by relevance
/external/openssh/ |
D | sshd.c | 1146 server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s) argument 1217 *newsock = accept(listen_socks[i], 1219 if (*newsock < 0) { 1228 if (unset_nonblock(*newsock) == -1) { 1229 close(*newsock); 1233 char *laddr = get_local_ipaddr(*newsock); 1234 char *raddr = get_peer_ipaddr(*newsock); 1238 raddr, get_peer_port(*newsock), 1239 laddr, get_local_port(*newsock)); 1242 close(*newsock); [all …]
|
D | channels.c | 1419 int newsock, oerrno; in channel_post_x11_listener() local 1427 newsock = accept(c->sock, (struct sockaddr *)&addr, &addrlen); in channel_post_x11_listener() 1435 if (newsock < 0) { in channel_post_x11_listener() 1443 set_nodelay(newsock); in channel_post_x11_listener() 1444 remote_ipaddr = get_peer_ipaddr(newsock); in channel_post_x11_listener() 1445 remote_port = get_peer_port(newsock); in channel_post_x11_listener() 1450 SSH_CHANNEL_OPENING, newsock, newsock, -1, in channel_post_x11_listener() 1575 int newsock, nextstate; in channel_post_port_listener() local 1602 newsock = accept(c->sock, (struct sockaddr *)&addr, &addrlen); in channel_post_port_listener() 1603 if (newsock < 0) { 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 | 1162 newsock, addr = super().accept() 1163 newsock = self.context.wrap_socket(newsock, 1167 return newsock, addr
|
/external/libevent/test/ |
D | test-ratelim.c | 174 echo_listenercb(struct evconnlistener *listener, evutil_socket_t newsock, in echo_listenercb() argument 181 bev = bufferevent_socket_new(base, newsock, flags); in echo_listenercb()
|
/external/stressapptest/src/ |
D | worker.cc | 2094 int newsock = accept(sock_, reinterpret_cast<struct sockaddr *>(&sa), &size); in GetConnection() local 2095 if (newsock < 0) { in GetConnection() 2101 *pnewsock = newsock; in GetConnection() 2262 bool NetworkListenThread::SpawnSlave(int newsock, int threadid) { in SpawnSlave() argument 2267 child_worker->thread.SetSock(newsock); in SpawnSlave() 2316 int newsock = 0; in Work() local 2327 if (GetConnection(&newsock)) { in Work() 2328 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 | 5288 newsock = sock.dup() 5290 with newsock: 5291 self.assertEqual(newsock.get_inheritable(), False)
|
D | test_ssl.py | 3043 newsock, addr = s.accept() 3044 newsock.close()
|