Home
last modified time | relevance | path

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

/external/openssh/
Dsshd.c1093 server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s) argument
1168 *newsock = accept(listen_socks[i],
1170 if (*newsock < 0) {
1176 if (unset_nonblock(*newsock) == -1) {
1177 close(*newsock);
1182 close(*newsock);
1186 close(*newsock);
1194 close(*newsock);
1221 *sock_in = *newsock;
1222 *sock_out = *newsock;
[all …]
Dchannels.c1317 int newsock; in channel_post_x11_listener() local
1325 newsock = accept(c->sock, (struct sockaddr *)&addr, &addrlen); in channel_post_x11_listener()
1331 if (newsock < 0) { in channel_post_x11_listener()
1335 set_nodelay(newsock); in channel_post_x11_listener()
1336 remote_ipaddr = get_peer_ipaddr(newsock); in channel_post_x11_listener()
1337 remote_port = get_peer_port(newsock); in channel_post_x11_listener()
1342 SSH_CHANNEL_OPENING, newsock, newsock, -1, in channel_post_x11_listener()
1450 int newsock, nextstate; in channel_post_port_listener() local
1473 newsock = accept(c->sock, (struct sockaddr *)&addr, &addrlen); in channel_post_port_listener()
1474 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/kernel-headers/original/linux/
Dnet.h138 struct socket *newsock, int flags);
248 SOCKCALL_WRAP(name, accept, (struct socket *sock, struct socket *newsock, \
249 int flags), (sock, newsock, flags)) \
/external/stressapptest/src/
Dworker.cc2104 int newsock = accept(sock_, reinterpret_cast<struct sockaddr *>(&sa), &size); in GetConnection() local
2105 if (newsock < 0) { in GetConnection()
2111 *pnewsock = newsock; in GetConnection()
2272 bool NetworkListenThread::SpawnSlave(int newsock, int threadid) { in SpawnSlave() argument
2277 child_worker->thread.SetSock(newsock); in SpawnSlave()
2326 int newsock = 0; in Work() local
2337 if (GetConnection(&newsock)) { in Work()
2338 SpawnSlave(newsock, threadcount); in Work()
Dworker.h543 virtual bool SpawnSlave(int newsock, int threadid);
/external/chromium_org/third_party/tlslite/scripts/
Dtls.py1061 (newsock, cliAddress) = sock.accept()
1062 thread.start_new_thread(handler, (newsock,))