Home
last modified time | relevance | path

Searched refs:newsock (Results 1 – 12 of 12) sorted by relevance

/external/openssh/
Dsshd.c1146 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 …]
Dchannels.c1419 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/
DTCPMessageProcessor.java133 Socket newsock = sock.accept(); in run() local
140 incomingTcpMessageChannels.add(new TCPMessageChannel(newsock, sipStack, this)); in run()
DTLSMessageProcessor.java147 Socket newsock = sock.accept(); in run() local
156 incomingTlsMessageChannels.add(new TLSMessageChannel(newsock, sipStack, this)); in run()
/external/python/cpython2/Lib/
Dssl.py894 newsock, addr = socket.accept(self)
895 newsock = self.context.wrap_socket(newsock,
899 return newsock, addr
/external/python/cpython3/Lib/
Dssl.py1162 newsock, addr = super().accept()
1163 newsock = self.context.wrap_socket(newsock,
1167 return newsock, addr
/external/libevent/test/
Dtest-ratelim.c174 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/
Dworker.cc2094 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()
Dworker.h542 virtual bool SpawnSlave(int newsock, int threadid);
/external/python/cpython2/Lib/test/
Dtest_ssl.py2257 newsock, addr = s.accept()
2258 newsock.close()
/external/python/cpython3/Lib/test/
Dtest_socket.py5288 newsock = sock.dup()
5290 with newsock:
5291 self.assertEqual(newsock.get_inheritable(), False)
Dtest_ssl.py3043 newsock, addr = s.accept()
3044 newsock.close()