Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/ssh/sshd/
H A Dsshd.c823 int opt, j, i, fdsetsz, sock_in = 0, sock_out = 0, newsock = -1, on = 1; in main() local
1201 newsock = sock_in; in main()
1364 newsock = accept(listen_socks[i], (struct sockaddr *)&from, in main()
1366 if (newsock < 0) { in main()
1371 if (fcntl(newsock, F_SETFL, 0) < 0) { in main()
1373 (void) close(newsock); in main()
1378 (void) close(newsock); in main()
1382 (void) close(newsock); in main()
1407 sock_in = newsock; in main()
1408 sock_out = newsock; in main()
[all …]
H A Daltprivsep.c1055 altprivsep_start_and_do_monitor(int use_engine, int inetd, int newsock, in altprivsep_start_and_do_monitor() argument
1071 newsock = dup(newsock); in altprivsep_start_and_do_monitor()
1102 (void *)&newsock); in altprivsep_start_and_do_monitor()
1115 packet_set_fds(inetd == 1 ? -1 : newsock, 0); in altprivsep_start_and_do_monitor()
1153 (void *)&newsock); in altprivsep_start_and_do_monitor()
1165 (void) shutdown(newsock, SHUT_RDWR); in altprivsep_start_and_do_monitor()
1185 close(newsock); in altprivsep_start_and_do_monitor()
/titanic_50/usr/src/cmd/ssh/libssh/common/
H A Dchannels.c1135 int newsock; in channel_post_x11_listener() local
1143 newsock = accept(c->sock, &addr, &addrlen); in channel_post_x11_listener()
1149 if (newsock < 0) { in channel_post_x11_listener()
1153 set_nodelay(newsock); in channel_post_x11_listener()
1154 remote_ipaddr = get_peer_ipaddr(newsock); in channel_post_x11_listener()
1155 remote_port = get_peer_port(newsock); in channel_post_x11_listener()
1160 SSH_CHANNEL_OPENING, newsock, newsock, -1, in channel_post_x11_listener()
1248 int newsock, nextstate; in channel_post_port_listener() local
1271 newsock = accept(c->sock, &addr, &addrlen); in channel_post_port_listener()
1272 if (newsock < 0) { in channel_post_port_listener()
[all …]
/titanic_50/usr/src/cmd/ssh/include/
H A Daltprivsep.h43 void altprivsep_start_and_do_monitor(int use_engine, int inetd, int newsock,
/titanic_50/usr/src/uts/common/pcmcia/nexus/
H A Dpcmcia.c3730 set_socket_t newsock; in SSSetSocket() local
3738 newsock = *socket; in SSSetSocket()
3740 sockp->ls_cs_events = pcm_mapevents(newsock.SCIntMask) | in SSSetSocket()
3746 "SetSocket: SCIntMask = %x\n", newsock.SCIntMask); in SSSetSocket()
3748 newsock.socket = sockp->ls_socket; in SSSetSocket()
3749 newsock.VccLevel = pcmcia_map_power_set(sockp->ls_adapter, in SSSetSocket()
3750 newsock.VccLevel, VCC); in SSSetSocket()
3751 newsock.Vpp1Level = pcmcia_map_power_set(sockp->ls_adapter, in SSSetSocket()
3752 newsock.Vpp1Level, VPP1); in SSSetSocket()
3753 newsock.Vpp2Level = pcmcia_map_power_set(sockp->ls_adapter, in SSSetSocket()
[all …]
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dtables.c177 boolean_t newsock; in phyint_init_from_k() local
192 newsock = _B_TRUE; in phyint_init_from_k()
194 newsock = _B_FALSE; in phyint_init_from_k()
202 if (newsock) { in phyint_init_from_k()
216 if (!newsock && (pi->pi_index != lifr.lifr_index)) { in phyint_init_from_k()
240 if (newsock) { in phyint_init_from_k()
306 if (newsock) { in phyint_init_from_k()
461 if (newsock) { in phyint_init_from_k()