Home
last modified time | relevance | path

Searched refs:new_sd (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_main.c592 int new_sd; in new_req() local
599 if ((new_sd = accept(listener, &sa, &sa_len)) == -1) { in new_req()
607 if ((sflags = fcntl(new_sd, F_GETFL, 0)) == -1) { in new_req()
611 if (fcntl(new_sd, F_SETFL, sflags | O_NONBLOCK) == -1) { in new_req()
615 if (fcntl(new_sd, F_SETFD, FD_CLOEXEC) == -1) { in new_req()
623 res = getpeerucred(new_sd, &cli->cli_peer_ucredp); in new_req()
643 cli->cli_sd = new_sd; in new_req()
647 if (port_associate(ev_port, PORT_SOURCE_FD, new_sd, POLLRDNORM, in new_req()
657 (void) close(new_sd); in new_req()
/titanic_44/usr/src/cmd/fm/modules/SUNW,SPARC-Enterprise/event-transport/
H A Dex_dscp.c306 int new_sd, dom, flags, rv; in exs_accept() local
311 if ((new_sd = accept(Acc.c_sd, (struct sockaddr *)&new_saddr, in exs_accept()
317 (void) close(new_sd); in exs_accept()
333 (void) close(new_sd); in exs_accept()
342 (void) close(new_sd); in exs_accept()
358 flags = fcntl(new_sd, F_GETFL, 0); in exs_accept()
359 (void) fcntl(new_sd, F_SETFL, flags | O_NONBLOCK); in exs_accept()
361 hp->h_server.c_sd = new_sd; in exs_accept()
/titanic_44/usr/src/stand/lib/sock/
H A Dsocket.c695 int new_sd; in accept() local
709 if ((new_sd = tcp_accept(sock_id, addr, addr_len)) == -1) in accept()
711 sock_id = so_check_fd(new_sd, &errno); in accept()
713 return (new_sd); in accept()