/illumos-gate/usr/src/uts/common/inet/sockmods/ |
H A D | socksdpsubr.c | 49 sosdp_so_inherit(struct sonode *lso, struct sonode *nso) argument 51 nso->so_options = lso->so_options & (SO_DEBUG|SO_REUSEADDR| 54 nso->so_sndbuf = lso->so_sndbuf; 55 nso->so_rcvbuf = lso->so_rcvbuf; 56 nso->so_pgrp = lso->so_pgrp; 58 nso->so_rcvlowat = lso->so_rcvlowat; 59 nso->so_sndlowat = lso->so_sndlowat;
|
H A D | socksctpsubr.c | 494 struct sonode *nso = &nss->ss_so; local 497 nso->so_options = lso->so_options & (SO_DEBUG|SO_REUSEADDR| 500 nso->so_sndbuf = lso->so_sndbuf; 501 nso->so_rcvbuf = lso->so_rcvbuf; 502 nso->so_pgrp = lso->so_pgrp; 504 nso->so_rcvlowat = lso->so_rcvlowat; 505 nso->so_sndlowat = lso->so_sndlowat; 518 struct sonode *nso, *sso; local 523 nso = &nss->ss_so; 525 nso [all...] |
H A D | socksdp.c | 180 struct sonode *nso; local 195 error = so_acceptq_dequeue(lso, (fflag & (FNONBLOCK|FNDELAY)), &nso); 203 dprint(2, ("sosdp_accept: new %p\n", (void *)nso)); 204 *nsop = nso; 1198 struct sonode *nso; local 1215 nso = socket_newconn(lso, connind, NULL, SOCKET_NOSLEEP, &error); 1216 if (nso == NULL) { 1221 dprint(2, ("sdp_stream_newconn: new %p\n", (void *)nso)); 1223 (void) so_acceptq_enqueue(lso, nso); 1227 return (nso); [all...] |
H A D | socksctp.c | 1667 struct sonode *nso; local 1728 nso = socksctp_create(sp, so->so_family, SOCK_STREAM, 1731 if (nso == NULL) { 1736 nvp = SOTOV(nso); 1741 (void) sosctp_init(nso, so, CRED(), 0); 1748 nso->so_count = 1; 1750 us.sus_handle = nso; 1757 mutex_enter(&nso->so_lock); 1778 sosctp_assoc_move(ss, SOTOSSO(nso), ssa); 1780 mutex_exit(&nso [all...] |
/illumos-gate/usr/src/uts/common/io/ksocket/ |
H A D | ksocket.c | 135 struct sonode *nso = NULL; local 148 error = socket_accept(KSTOSO(ks), KSOCKET_FMODE(ks), cr, &nso); 152 ASSERT(nso != NULL); 154 nso->so_mode |= SM_KERNEL; 157 error = socket_getpeername(nso, addr, addrlenp, B_TRUE, cr); 159 (void) socket_close(nso, 0, cr); 160 socket_destroy(nso); 165 *nks = SOTOKS(nso);
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sockcommon_subr.c | 69 struct sonode *nso = NULL; local 73 while ((nso = list_remove_head(&so->so_acceptq_list)) == NULL) { 91 ASSERT(nso != NULL); 94 nso->so_listener = NULL; 96 *nsop = nso; 137 struct sonode *nso; local 139 while ((nso = list_remove_head(list)) != NULL) { 140 nso->so_listener = NULL; 142 (void) socket_close(nso, 0, CRED()); 154 ASSERT(nso 2269 struct sonode *nso; local [all...] |
H A D | sockcommon_sops.c | 336 struct sonode *nso; local 348 &nso)) == 0) { 349 ASSERT(nso != NULL); 353 (error = sof_filter_accept(nso, cr)) > 0) || 355 nso->so_proto_handle, (sock_upper_handle_t)nso, cr)) != 0) { 356 (void) socket_close(nso, 0, cr); 357 socket_destroy(nso); 359 *nsop = nso; 1133 struct sonode *nso; local [all...] |
H A D | socksyscalls.c | 443 struct sonode *nso; local 481 error = socket_accept(so1, 0, CRED(), &nso); 492 (void) socket_close(nso, 0, CRED()); 493 socket_destroy(nso); 498 nvp = SOTOV(nso); 500 (void) socket_close(nso, 0, CRED()); 501 socket_destroy(nso); 502 eprintsoline(nso, error); 636 struct sonode *nso; local 688 error = socket_accept(so, fp->f_flag, CRED(), &nso); [all...] |
H A D | socktpi.c | 1657 struct sonode *nso; local 1763 nso = socket_newconn(so, NULL, NULL, SOCKET_SLEEP, &error); 1764 if (nso == NULL) { 1776 nvp = SOTOV(nso); 1777 nsti = SOTOTPI(nso); 1784 nso->so_options |= so->so_options & SO_DEBUG; 1817 nso->so_peercred = cr; 1818 nso->so_cpid = cpid; 1840 nso->so_peercred = msg_extractcred(mp, &nso [all...] |