Searched defs:so (Results 26 - 48 of 48) sorted by relevance

12

/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dfunc.c2077 * so - the socket descriptor.
2086 int so,
2104 status = isns_send_pdu(so, rsp, pl);
2127 int so = conn->so; local
2138 status = isns_send_pdu(so, rsp, pl);
2140 status = isns_response_ec(so, pdu, ec);
2085 isns_response_ec( int so, isns_pdu_t *pdu, int ec ) argument
H A Dscn.c603 p->so = 0;
1572 int so = -1; local
1587 so = socket(AF_INET, SOCK_STREAM, 0);
1588 if (so != -1) {
1592 if (connect(so, &ca.sin, sizeof (ca.in)) !=
1596 (void) close(so);
1597 so = -1;
1612 return (so);
1635 int so = 0; local
1649 so
[all...]
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dnl7c.c117 nl7c_listener_addr(void *arg, struct sonode *so) argument
122 p->listener = so;
123 SOTOTPI(so)->sti_nl7c_addr = arg;
210 nl7c_close_addr(struct sonode *so) argument
215 if (p->listener == so) {
239 struct sonode *so; local
260 so = p->listener;
262 so ? (void *)strvp2wq(SOTOV(so)) : NULL,
715 * so ski
916 nl7c_process(struct sonode *so, boolean_t nonblocking) argument
[all...]
H A Dnl7chttp.c349 * Case 2, 2 digit year and as this is a so-called
351 * 1970 so we can extend this obsoleted date syntax
785 /* Null node, so descend to < node */
1124 * same age as request so return a 304 response uri
1141 * same age as the request so return a 412 response
1156 * valid dates so just return the original uri response.
1167 nl7c_http_persist(struct sonode *so) argument
1169 uint64_t flags = SOTOTPI(so)->sti_nl7c_flags & NL7C_SCHEMEPRIV;
1187 nl7c_http_request(char **cpp, char *ep, uri_desc_t *uri, struct sonode *so) argument
1189 sotpi_info_t *sti = SOTOTPI(so);
1465 nl7c_http_response(char **cpp, char *ep, uri_desc_t *uri, struct sonode *so) argument
[all...]
H A Dsockcommon_subr.c62 static boolean_t so_check_length(sonode_t *so);
66 so_acceptq_dequeue_locked(struct sonode *so, boolean_t dontblock, argument
72 ASSERT(MUTEX_HELD(&so->so_acceptq_lock));
73 while ((nso = list_remove_head(&so->so_acceptq_list)) == NULL) {
83 if (so->so_state & (SS_CLOSING | SS_FALLBACK_PENDING))
86 if (cv_wait_sig_swap(&so->so_acceptq_cv,
87 &so->so_acceptq_lock) == 0)
92 ASSERT(so->so_acceptq_len > 0);
93 so->so_acceptq_len--;
107 * so
122 so_acceptq_dequeue(struct sonode *so, boolean_t dontblock, struct sonode **nsop) argument
135 so_acceptq_flush_impl(struct sonode *so, list_t *list, boolean_t doclose) argument
182 so_acceptq_flush(struct sonode *so, boolean_t doclose) argument
191 so_wait_connected_locked(struct sonode *so, boolean_t nonblock, sock_connid_t id) argument
247 so_wait_connected(struct sonode *so, boolean_t nonblock, sock_connid_t id) argument
259 so_snd_wait_qnotfull_locked(struct sonode *so, boolean_t dontblock) argument
297 so_snd_wait_qnotfull(struct sonode *so, boolean_t dontblock) argument
311 so_snd_qfull(struct sonode *so) argument
319 so_snd_qnotfull(struct sonode *so) argument
332 socket_chgpgrp(struct sonode *so, pid_t pid) argument
382 socket_sendsig(struct sonode *so, int event) argument
544 so_prepend_msg(struct sonode *so, mblk_t *mp, mblk_t *last_tail) argument
575 so_process_new_message(struct sonode *so, mblk_t *mp_head, mblk_t *mp_last_head) argument
633 so_check_flow_control(struct sonode *so) argument
660 so_dequeue_msg(struct sonode *so, mblk_t **mctlp, struct uio *uiop, rval_t *rvalp, int flags) argument
1027 so_enqueue_msg(struct sonode *so, mblk_t *mp, size_t msg_size) argument
1088 so_rcv_flush(struct sonode *so) argument
1128 sorecvoob(struct sonode *so, struct nmsghdr *msg, struct uio *uiop, int flags, boolean_t oob_inline) argument
1220 sonode_t *so; local
1267 socket_init_common(struct sonode *so, struct sonode *pso, int flags, cred_t *cr) argument
1412 socket_ioctl_common(struct sonode *so, int cmd, intptr_t arg, int mode, struct cred *cr, int32_t *rvalp) argument
1556 so_strioc_nread(struct sonode *so, intptr_t arg, int mode, int32_t *rvalp) argument
1628 socket_strioc_common(struct sonode *so, int cmd, intptr_t arg, int mode, struct cred *cr, int32_t *rvalp) argument
1676 socket_getopt_common(struct sonode *so, int level, int option_name, void *optval, socklen_t *optlenp, int flags) argument
1845 socket_sonode_destroy(struct sonode *so) argument
1852 so_zcopy_wait(struct sonode *so) argument
1875 struct sonode *so = (struct sonode *)arg; local
1893 so_check_length(sonode_t *so) argument
1932 so_start_fallback(struct sonode *so) argument
1982 so_end_fallback(struct sonode *so) argument
2012 struct sonode *so = (struct sonode *)sock_handle; local
2260 so_tpi_fallback(struct sonode *so, struct cred *cr) argument
[all...]
H A Dsockfilter.c185 sof_setsockopt_impl(struct sonode *so, int option_name, argument
188 struct sockparams *sp = so->so_sockparams;
200 if (!(so->so_state & SS_FILOP_OK))
208 for (inst = so->so_filter_top; inst != NULL;
230 inst = sof_instance_create(ent, so);
239 * so try to load the module if it's not already registered.
247 /* Module loaded OK, so there must be an ops vector */
254 (sof_handle_t)inst, so->so_family, so->so_type,
255 so
307 sof_setsockopt(struct sonode *so, int option_name, const void *optval, socklen_t optlen, struct cred *cr) argument
339 sof_getsockopt_impl(struct sonode *so, int option_name, void *optval, socklen_t *optlenp, struct cred *cr) argument
380 sof_getsockopt(struct sonode *so, int option_name, void *optval, socklen_t *optlenp, struct cred *cr) argument
405 sof_sonode_inherit_filters(struct sonode *so, struct sonode *pso) argument
509 sof_sonode_autoattach_filters(struct sonode *so, cred_t *cr) argument
599 sof_sonode_cleanup(struct sonode *so) argument
615 sof_sonode_notify_filters(struct sonode *so, sof_event_t event, uintptr_t arg) argument
632 sof_sonode_closing(struct sonode *so) argument
658 sof_sonode_drop_deferred(struct sonode *so) argument
742 sof_instance_create(sof_entry_t *ent, struct sonode *so) argument
772 struct sonode *so = inst->sofi_sonode; local
1269 sof_filter_data_out_from(struct sonode *so, sof_instance_t *start, mblk_t *mp, struct nmsghdr *msg, cred_t *cr, int *errp) argument
1302 sof_filter_data_in_proc(struct sonode *so, mblk_t *mp, mblk_t **lastmp) argument
1360 sof_filter_bind(struct sonode *so, struct sockaddr *addr, socklen_t *addrlen, cred_t *cr) argument
1367 sof_filter_listen(struct sonode *so, int *backlogp, cred_t *cr) argument
1373 sof_filter_connect(struct sonode *so, struct sockaddr *addr, socklen_t *addrlen, cred_t *cr) argument
1380 sof_filter_accept(struct sonode *so, cred_t *cr) argument
1401 sof_filter_shutdown(struct sonode *so, int *howp, cred_t *cr) argument
1407 sof_filter_getsockname(struct sonode *so, struct sockaddr *addr, socklen_t *addrlenp, cred_t *cr) argument
1414 sof_filter_getpeername(struct sonode *so, struct sockaddr *addr, socklen_t *addrlenp, cred_t *cr) argument
1421 sof_filter_setsockopt(struct sonode *so, int level, int option_name, void *optval, socklen_t *optlenp, cred_t *cr) argument
1429 sof_filter_getsockopt(struct sonode *so, int level, int option_name, void *optval, socklen_t *optlenp, cred_t *cr) argument
1437 sof_filter_ioctl(struct sonode *so, int cmd, intptr_t arg, int mode, int32_t *rvalp, cred_t *cr) argument
1521 struct sonode *so = inst->sofi_sonode; local
1577 struct sonode *so = inst->sofi_sonode; local
1601 struct sonode *so = inst->sofi_sonode; local
1639 struct sonode *so = inst->sofi_sonode; local
1708 struct sonode *so = inst->sofi_sonode; local
1790 struct sonode *so, *old, *new; local
[all...]
H A Dsockstr.c108 static int do_tcapability(struct sonode *so, t_uscalar_t cap_bits1);
109 static void so_removehooks(struct sonode *so);
125 so_sock2stream(struct sonode *so) argument
127 struct vnode *vp = SOTOV(so);
131 sotpi_info_t *sti = SOTOTPI(so);
135 mutex_enter(&so->so_lock);
136 so_lock_single(so);
138 ASSERT(so->so_version != SOV_STREAM);
147 mutex_exit(&so->so_lock);
150 mutex_enter(&so
296 so_stream2sock(struct sonode *so) argument
352 so_installhooks(struct sonode *so) argument
365 so_removehooks(struct sonode *so) argument
378 so_basic_strinit(struct sonode *so) argument
413 so_strinit(struct sonode *so, struct sonode *tso) argument
475 copy_tinfo(struct sonode *so, struct T_info_ack *tia) argument
545 check_tinfo(struct sonode *so) argument
597 do_tinfo(struct sonode *so) argument
651 do_tcapability(struct sonode *so, t_uscalar_t cap_bits1) argument
740 so_proc_tcapability_ack(struct sonode *so, struct T_capability_ack *tca) argument
763 sogeterr(struct sonode *so, boolean_t clear_err) argument
785 struct sonode *so = VTOSO(vp); local
810 struct sonode *so = VTOSO(vp); local
837 soseterror(struct sonode *so, int error) argument
846 soisconnecting(struct sonode *so) argument
855 soisconnected(struct sonode *so) argument
867 soisdisconnected(struct sonode *so, int error) argument
886 sobreakconn(struct sonode *so, int error) argument
903 socantsendmore(struct sonode *so) argument
915 socantrcvmore(struct sonode *so) argument
936 sowaitprim(struct sonode *so, t_scalar_t request_prim, t_scalar_t ack_prim, t_uscalar_t min_size, mblk_t **mpp, clock_t wait) argument
1019 sowaitokack(struct sonode *so, t_scalar_t request_prim) argument
1036 soqueueack(struct sonode *so, mblk_t *mp) argument
1063 sowaitack(struct sonode *so, mblk_t **mpp, clock_t wait) argument
1111 soqueueconnind(struct sonode *so, mblk_t *mp) argument
1142 sowaitconnind(struct sonode *so, int fmode, mblk_t **mpp) argument
1195 soflushconnind(struct sonode *so, t_scalar_t seqno) argument
1243 sowaitconnected(struct sonode *so, int fmode, int nosig) argument
1297 so_oob_sig(struct sonode *so, int extrasig, strsigset_t *signals, strpollset_t *pollwakeups) argument
1349 so_oob_exdata(struct sonode *so, mblk_t *mp, strsigset_t *signals, strpollset_t *pollwakeups) argument
1378 so_oob_data(struct sonode *so, mblk_t *mp, strsigset_t *signals, strpollset_t *pollwakeups) argument
1415 so_save_discon_ind(struct sonode *so, mblk_t *mp, void (*func)(struct sonode *so, mblk_t *)) argument
1447 so_drain_discon_ind(struct sonode *so) argument
1479 so_flush_discon_ind(struct sonode *so) argument
1516 strsock_discon_ind(struct sonode *so, mblk_t *discon_mp) argument
1664 struct sonode *so; local
2655 struct sonode *so; local
2744 so_set_events(struct sonode *so, vnode_t *vp, cred_t *cr) argument
2756 so_flip_async(struct sonode *so, vnode_t *vp, int mode, cred_t *cr) argument
2784 so_set_siggrp(struct sonode *so, vnode_t *vp, pid_t pgrp, int mode, cred_t *cr) argument
2845 struct sonode *so; local
2891 struct sonode *so; local
2926 struct sonode *so; local
[all...]
H A Dsockcommon_sops.c78 so_listen_notsupp(struct sonode *so, int backlog, struct cred *cr) argument
85 so_getsockname_notsupp(struct sonode *so, struct sockaddr *sa, argument
93 so_getpeername_notsupp(struct sonode *so, struct sockaddr *addr, argument
101 so_shutdown_notsupp(struct sonode *so, int how, struct cred *cr) argument
108 so_sendmblk_notsupp(struct sonode *so, struct msghdr *msg, int fflag, argument
120 so_init(struct sonode *so, struct sonode *pso, struct cred *cr, int flags) argument
122 return (socket_init_common(so, pso, flags, cr));
126 so_bind(struct sonode *so, struct sockaddr *name, socklen_t namelen, argument
131 SO_BLOCK_FALLBACK(so, SOP_BIND(so, nam
275 so_listen(struct sonode *so, int backlog, struct cred *cr) argument
294 so_connect(struct sonode *so, struct sockaddr *name, socklen_t namelen, int fflag, int flags, struct cred *cr) argument
333 so_accept(struct sonode *so, int fflag, struct cred *cr, struct sonode **nsop) argument
368 so_sendmsg(struct sonode *so, struct nmsghdr *msg, struct uio *uiop, struct cred *cr) argument
484 so_sendmblk_impl(struct sonode *so, struct nmsghdr *msg, int fflag, struct cred *cr, mblk_t **mpp, sof_instance_t *fil, boolean_t fil_inject) argument
582 so_sendmblk(struct sonode *so, struct nmsghdr *msg, int fflag, struct cred *cr, mblk_t **mpp) argument
603 so_shutdown(struct sonode *so, int how, struct cred *cr) argument
651 so_getsockname(struct sonode *so, struct sockaddr *addr, socklen_t *addrlen, struct cred *cr) argument
668 so_getpeername(struct sonode *so, struct sockaddr *addr, socklen_t *addrlen, boolean_t accept, struct cred *cr) argument
697 so_getsockopt(struct sonode *so, int level, int option_name, void *optval, socklen_t *optlenp, int flags, struct cred *cr) argument
784 so_setsockopt(struct sonode *so, int level, int option_name, const void *optval, socklen_t optlen, struct cred *cr) argument
868 so_ioctl(struct sonode *so, int cmd, intptr_t arg, int mode, struct cred *cr, int32_t *rvalp) argument
907 so_poll(struct sonode *so, short events, int anyyet, short *reventsp, struct pollhead **phpp) argument
1030 struct sonode *so = (struct sonode *)sock_handle; local
1054 struct sonode *so = (struct sonode *)sock_handle; local
1076 struct sonode *so = (struct sonode *)sock_handle; local
1115 struct sonode *so = (struct sonode *)sock_handle; local
1132 struct sonode *so = (struct sonode *)parenthandle; local
1194 struct sonode *so; local
1273 so_queue_msg_impl(struct sonode *so, mblk_t *mp, size_t msg_size, int flags, int *errorp, boolean_t *force_pushp, sof_instance_t *filter) argument
1424 struct sonode *so = (struct sonode *)sock_handle; local
1437 struct sonode *so; local
1478 so_queue_oob(struct sonode *so, mblk_t *mp, size_t len) argument
1496 so_close(struct sonode *so, int flag, struct cred *cr) argument
1551 struct sonode *so = (struct sonode *)sock_handle; local
1559 struct sonode *so = (struct sonode *)sock_handle; local
1570 struct sonode *so = (struct sonode *)sock_handle; local
1588 so_recvmsg(struct sonode *so, struct nmsghdr *msg, struct uio *uiop, struct cred *cr) argument
[all...]
H A Dnl7curi.c226 * check for cur hash empty, if so make new cur. Note, as this macro
555 * Not found in current hash and have a new hash so
582 * uri_add() always succeeds so add a hash ref to the URI now.
618 * the whole world can change so just wait for writer
626 * handle new ab[] in this case so as to
647 * No larger P2Ps[] value so use current,
665 * handle new ab[] in this case so as to
674 * Hashed against current hash so migrate any current hash chain
712 * migrated, if so free cur hash and make new hash cur.
819 * Have a path/auth match so befor
1019 nl7c_urifree(struct sonode *so) argument
1057 nl7c_resp_parse(struct sonode *so, uri_desc_t *uri, char *data, int sz) argument
1112 nl7c_data(struct sonode *so, uio_t *uio) argument
1278 nl7c_sendfilev(struct sonode *so, u_offset_t *fileoff, sendfilevec_t *sfvp, int sfvc, ssize_t *xfer) argument
1480 nl7c_close(struct sonode *so) argument
1704 uri_rd_response(struct sonode *so, uri_desc_t *uri, uri_rd_t *rdp, boolean_t first) argument
1843 uri_response(struct sonode *so, uri_desc_t *uri) argument
1943 nl7c_parse(struct sonode *so, boolean_t nonblocking, boolean_t *ret) argument
[all...]
H A Dsocksyscalls.c107 struct sonode *so; local
129 so = socket_create(family, type, protocol, buf, NULL,
133 so = socket_create(family, type, protocol, NULL, NULL,
136 if (so == NULL)
140 vp = SOTOV(so);
142 (void) socket_close(so, 0, CRED());
143 socket_destroy(so);
151 so->so_state |= SS_NDELAY;
155 so->so_state |= SS_NONBLOCK;
177 struct sonode *so; local
223 copyin_name(struct sonode *so, struct sockaddr *name, socklen_t *namelenp, int *errorp) argument
559 struct sonode *so; local
610 struct sonode *so; local
632 struct sonode *so; local
777 struct sonode *so; local
812 struct sonode *so; local
841 struct sonode *so; local
1141 struct sonode *so; local
1416 struct sonode *so; local
1454 struct sonode *so; local
1496 struct sonode *so; local
1548 struct sonode *so; local
2127 struct sonode *so; local
2692 struct sonode *so; local
2728 struct sonode *so; local
2939 sonode_t *so = VTOSO(vp); local
3003 soaccept(struct sonode *so, int fflag, struct sonode **nsop) argument
3009 sobind(struct sonode *so, struct sockaddr *name, socklen_t namelen, int backlog, int flags) argument
3022 solisten(struct sonode *so, int backlog) argument
3028 soconnect(struct sonode *so, struct sockaddr *name, socklen_t namelen, int fflag, int flags) argument
3035 sorecvmsg(struct sonode *so, struct nmsghdr *msg, struct uio *uiop) argument
3041 sosendmsg(struct sonode *so, struct nmsghdr *msg, struct uio *uiop) argument
3047 soshutdown(struct sonode *so, int how) argument
3053 sogetsockopt(struct sonode *so, int level, int option_name, void *optval, socklen_t *optlenp, int flags) argument
3061 sosetsockopt(struct sonode *so, int level, int option_name, const void *optval, t_uscalar_t optlen) argument
3076 struct sonode *so; local
[all...]
H A Dsocksubr.c193 * here primarily so that should sockmod be popped the resulting
197 so_update_attrs(struct sonode *so, int flag) argument
201 if (SOCK_IS_NONSTR(so))
204 mutex_enter(&so->so_lock);
205 so->so_flag |= flag;
207 SOTOTPI(so)->sti_atime = now;
209 SOTOTPI(so)->sti_mtime = now;
210 mutex_exit(&so->so_lock);
317 so_lock_single(struct sonode *so) argument
319 ASSERT(MUTEX_HELD(&so
333 so_unlock_single(struct sonode *so, int flag) argument
361 so_lock_read(struct sonode *so, int fmode) argument
379 so_lock_read_intr(struct sonode *so, int fmode) argument
398 so_unlock_read(struct sonode *so) argument
441 so_ux_lookup(struct sonode *so, struct sockaddr_un *soun, int checkaccess, vnode_t **vpp) argument
545 so_addr_verify(struct sonode *so, const struct sockaddr *name, socklen_t namelen) argument
631 so_ux_addr_xlate(struct sonode *so, struct sockaddr *name, socklen_t namelen, int checkaccess, void **addrp, socklen_t *addrlenp) argument
1630 so_verify_oobstate(struct sonode *so) argument
1750 struct sonode *so; /* current sonode on socklist */ local
1774 struct sonode *so; /* current sonode on socklist */ local
[all...]
H A Dsocktpi.c281 struct sonode *so; local
289 * The request is for an NCA socket so for NL7C use the
308 so = kmem_cache_alloc(cp, KM_SLEEP);
309 if (so == NULL) {
314 sonode_init(so, sp, family, type, protocol, &sotpi_sonodeops);
315 sotpi_info_init(so);
318 SOTOTPI(so)->sti_nl7c_flags = NL7C_AF_NCA;
324 so->so_version = (short)version;
327 return (so);
331 sotpi_destroy(struct sonode *so) argument
369 sotpi_init(struct sonode *so, struct sonode *tso, struct cred *cr, int flags) argument
594 so_automatic_bind(struct sonode *so) argument
634 sotpi_bindlisten(struct sonode *so, struct sockaddr *name, socklen_t namelen, int backlog, int flags, struct cred *cr) argument
1393 sotpi_bind(struct sonode *so, struct sockaddr *name, socklen_t namelen, int flags, struct cred *cr) argument
1410 sotpi_unbind(struct sonode *so, int flags) argument
1491 sotpi_listen(struct sonode *so, int backlog, struct cred *cr) argument
1577 sodisconnect(struct sonode *so, t_scalar_t seqno, int flags) argument
1650 sotpi_accept(struct sonode *so, int fflag, struct cred *cr, struct sonode **nsop) argument
2182 sotpi_connect(struct sonode *so, struct sockaddr *name, socklen_t namelen, int fflag, int flags, struct cred *cr) argument
2613 sotpi_shutdown(struct sonode *so, int how, struct cred *cr) argument
2806 so_unix_close(struct sonode *so) argument
2964 sorecv_update_oobstate(struct sonode *so) argument
2988 nl7c_sorecv(struct sonode *so, mblk_t **rmp, uio_t *uiop, rval_t *rp) argument
3064 sotpi_recvmsg(struct sonode *so, struct nmsghdr *msg, struct uio *uiop, struct cred *cr) argument
3653 sosend_dgramcmsg(struct sonode *so, struct sockaddr *name, socklen_t namelen, struct uio *uiop, void *control, t_uscalar_t controllen, int flags) argument
3837 sosend_svccmsg(struct sonode *so, struct uio *uiop, int more, void *control, t_uscalar_t controllen, int flags) argument
3986 sosend_dgram(struct sonode *so, struct sockaddr *name, socklen_t namelen, struct uio *uiop, int flags) argument
4126 sosend_svc(struct sonode *so, struct uio *uiop, t_scalar_t prim, int more, int sflag) argument
4213 sotpi_sendmsg(struct sonode *so, struct nmsghdr *msg, struct uio *uiop, struct cred *cr) argument
4513 struct sonode *so; local
4586 sotpi_sendmblk(struct sonode *so, struct nmsghdr *msg, int fflag, struct cred *cr, mblk_t **mpp) argument
4622 sodgram_direct(struct sonode *so, struct sockaddr *name, socklen_t namelen, struct uio *uiop, int flags) argument
4736 sostream_direct(struct sonode *so, struct uio *uiop, mblk_t *mp, cred_t *cr) argument
4853 sotpi_getpeername(struct sonode *so, struct sockaddr *name, socklen_t *namelen, boolean_t accept, struct cred *cr) argument
4989 sotpi_getsockname(struct sonode *so, struct sockaddr *name, socklen_t *namelen, struct cred *cr) argument
5116 sotpi_getsockopt(struct sonode *so, int level, int option_name, void *optval, socklen_t *optlenp, int flags, struct cred *cr) argument
5471 sotpi_setsockopt(struct sonode *so, int level, int option_name, const void *optval, t_uscalar_t optlen, struct cred *cr) argument
5712 sotpi_close(struct sonode *so, int flag, struct cred *cr) argument
5782 sotpi_ioctl(struct sonode *so, int cmd, intptr_t arg, int mode, struct cred *cr, int32_t *rvalp) argument
6019 struct sonode *so = VTOSO(vp); local
6213 sotpi_poll( struct sonode *so, short events, int anyyet, short *reventsp, struct pollhead **phpp) argument
6370 struct sonode *so = (struct sonode *)buf; local
6390 struct sonode *so = (struct sonode *)buf; local
6431 sotpi_convert_sonode(struct sonode *so, struct sockparams *newsp, boolean_t *direct, queue_t **qp, struct cred *cr) argument
6516 sotpi_revert_sonode(struct sonode *so, struct cred *cr) argument
6542 sotpi_update_state(struct sonode *so, struct T_capability_ack *tcap, struct sockaddr *laddr, socklen_t laddrlen, struct sockaddr *faddr, socklen_t faddrlen, short opts) argument
6575 so_alloc_addr(struct sonode *so, t_uscalar_t maxlen) argument
6599 sotpi_sototpi(struct sonode *so) argument
6665 sotpi_info_create(struct sonode *so, int kmflags) argument
6687 sotpi_info_init(struct sonode *so) argument
6738 sotpi_info_fini(struct sonode *so) argument
6813 sotpi_info_destroy(struct sonode *so) argument
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dvfs.c152 * vfssw[] entry. These tend to be named <fsname>_vfs, so we do a
510 * finding a pathname is not really an error, so we plow on.
1021 struct sonode so; local
1033 if (pfiles_get_sonode(&v_sock, &so) == -1)
1038 if ((sock_prints[i].family == so.so_family &&
1039 sock_prints[i].type == so.so_type &&
1040 sock_prints[i].pro == so.so_protocol) ||
1041 (sock_prints[i].family == so.so_family &&
1042 sock_prints[i].type == so.so_type &&
1043 so
[all...]
H A Dnet.c389 struct sonode so; local
442 if (mdb_vread(&so, sizeof (so), addr) == -1) {
447 if ((optf != NULL) && (so.so_family != family))
450 if ((optt != NULL) && (so.so_type != type))
453 if ((optp != NULL) && (so.so_protocol != proto))
463 switch (so.so_family) {
474 mdb_printf("%6hi", so.so_family);
477 switch (so.so_type) {
488 mdb_printf(" %4hi", so
759 const struct sonode *so = &st->st_sonode; local
794 const struct sonode *so = &st->st_sonode; local
[all...]
/illumos-gate/usr/src/lib/libbsm/common/
H A Dau_to.c554 au_to_socket(struct oldsocket *so) argument
559 struct inpcb *inp = so->so_pcb;
567 adr_short(&adr, (short *)&so->so_type, 1);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Drdisc.c79 struct icmp_so so; member in union:ad_u
147 ntohl(p->so.icmp_so_rsvd));
224 * Create the raw socket so that we can hear at least
234 /* Can't multicast, so no groups could have been joined. */
963 * calls if_bad_rdisc first, so a non-NULL df_ifp
1192 (void) memset(&u, 0, sizeof (u.so));
1193 u.so.icmp_type = ICMP_ROUTERSOLICIT;
1194 u.so.icmp_cksum = in_cksum((uint16_t *)&u.so,
1195 sizeof (u.so));
[all...]
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsocksctp.c176 sosctp_init(struct sonode *so, struct sonode *pso, struct cred *cr, int flags) argument
183 ss = SOTOSSO(so);
191 ASSERT(so->so_type == SOCK_STREAM);
195 so->so_state |= (SS_ISBOUND | SS_ISCONNECTED |
198 so->so_proto_props = pso->so_proto_props;
199 so->so_mode = pso->so_mode;
208 if (so->so_type == SOCK_STREAM) {
209 so->so_proto_handle = (sock_lower_handle_t)sctp_create(so,
210 NULL, so
236 sosctp_accept(struct sonode *so, int fflag, struct cred *cr, struct sonode **nsop) argument
254 sosctp_bind(struct sonode *so, struct sockaddr *name, socklen_t namelen, int flags, struct cred *cr) argument
306 sosctp_listen(struct sonode *so, int backlog, struct cred *cr) argument
358 sosctp_connect(struct sonode *so, struct sockaddr *name, socklen_t namelen, int fflag, int flags, struct cred *cr) argument
438 sosctp_seq_connect(struct sonode *so, struct sockaddr *name, socklen_t namelen, int fflag, int flags, struct cred *cr) argument
480 sosctp_recvmsg(struct sonode *so, struct nmsghdr *msg, struct uio *uiop, struct cred *cr) argument
725 sosctp_sendmsg(struct sonode *so, struct nmsghdr *msg, struct uio *uiop, struct cred *cr) argument
924 sosctp_seq_sendmsg(struct sonode *so, struct nmsghdr *msg, struct uio *uiop, struct cred *cr) argument
1130 sosctp_getpeername(struct sonode *so, struct sockaddr *addr, socklen_t *addrlen, boolean_t accept, struct cred *cr) argument
1142 sosctp_getsockname(struct sonode *so, struct sockaddr *addr, socklen_t *addrlen, struct cred *cr) argument
1154 sosctp_shutdown(struct sonode *so, int how, struct cred *cr) argument
1223 sosctp_getsockopt(struct sonode *so, int level, int option_name, void *optval, socklen_t *optlenp, int flags, struct cred *cr) argument
1294 sosctp_setsockopt(struct sonode *so, int level, int option_name, const void *optval, t_uscalar_t optlen, struct cred *cr) argument
1431 sosctp_ioctl(struct sonode *so, int cmd, intptr_t arg, int mode, struct cred *cr, int32_t *rvalp) argument
1818 sosctp_close(struct sonode *so, int flag, struct cred *cr) argument
1867 sosctp_fini(struct sonode *so, struct cred *cr) argument
1993 struct sonode *so = &ssa->ssa_sonode->ss_so; local
2008 struct sonode *so = &ssa->ssa_sonode->ss_so; local
2037 struct sonode *so = &ssa->ssa_sonode->ss_so; local
2055 struct sonode *so = &ss->ss_so; local
2192 struct sonode *so; local
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_isns.c86 * The above routines copy all the data they need, so iscsit can
165 * connectivity to all portals, so we turn it off by default.
363 isnst_send_pdu(void *so, isns_pdu_t *pdu);
366 isnst_rcv_pdu(void *so, isns_pdu_t **pdu);
378 isnst_handle_esi_req(ksocket_t so, isns_pdu_t *pdu, size_t pl_size);
773 /* Copy the target info so it will last beyond deregister */
1206 /* The following checks are expensive, so only do them if needed */
1262 /* If any target needs a register or an update, do so */
1325 * registration interval, so we won't get timed out.
1449 * per-server state. We use the global state so tha
1621 struct sonode *so; local
2169 struct sonode *so; local
2212 struct sonode *so; local
2756 isnst_so_timeout(void *so) argument
2763 isnst_send_pdu(void *so, isns_pdu_t *pdu) argument
2835 isnst_rcv_pdu(void *so, isns_pdu_t **pdu) argument
2941 ksocket_t so; local
2984 isnst_close_so(void *so) argument
[all...]
/illumos-gate/usr/src/uts/common/io/idm/
H A Didm_so.c76 static void idm_set_postconnect_options(ksocket_t so);
229 * idm_sorecv/idm_iov_sorecv will return so idm_soshutdown can be used
233 idm_soshutdown(ksocket_t so) argument
235 (void) ksocket_shutdown(so, SHUT_RDWR, CRED());
549 idm_sorecv(ksocket_t so, void *msg, size_t len) argument
553 ASSERT(so != NULL);
562 return (idm_iov_sorecv(so, &iov, 1, len));
576 idm_sosendto(ksocket_t so, void *buff, size_t len, argument
594 if ((error = ksocket_sendmsg(so, &msg, 0, &sent, CRED())) == 0) {
620 idm_iov_sosend(ksocket_t so, iovec_ argument
660 idm_iov_sorecv(ksocket_t so, iovec_t *iop, int iovlen, size_t total_len) argument
833 ksocket_t so; local
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Disns_client.c150 static size_t isns_rcv_pdu(void *so, isns_pdu_t **pdu, size_t *pdu_size);
747 void *so = NULL; local
761 so = isns_open(isns_server_addr);
762 if (so == NULL) {
769 if (isns_send_pdu(so, out_pdu) != 0) {
770 iscsi_net->close(so);
783 bytes_received = isns_rcv_pdu(so, &in_pdu, &in_pdu_size);
822 iscsi_net->close(so);
831 iscsi_net->close(so);
838 if (isns_send_pdu(so, out_pd
901 void *so = NULL; local
1194 void *so = NULL; local
1414 void *so = NULL; local
1500 void *so; local
3151 void *so; local
[all...]
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_event.c1534 mutex_enter(&p->p_lock); /* so process doesn't go away */
2142 mutex_enter(&p->p_lock); /* so process doesn't go away */
2842 /* Remaining args don't apply for FLUSH, so skip */
2876 /* Remaining args don't apply for FLUSH, so skip */
2918 /* Remaining args don't apply for FLUSH, so skip */
3536 struct sonode *so; local
3572 au_uwrite(au_to_arg32(1, "so", (uint32_t)fd));
3576 if ((so = getsonode(fd, &err, NULL)) == NULL) {
3579 * so no extra tokens. Should probably turn off audit record
3585 so_family = so
3640 struct sonode *so; local
3716 struct sonode *so; local
3803 struct sonode *so; local
3898 struct sonode *so; local
4080 struct sonode *so; local
4284 struct sonode *so; local
4477 struct sonode *so; local
4669 struct sonode *so; local
5548 struct sonode *so; local
5682 struct sonode *so; local
[all...]
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c868 * name as "in use," so special case here.
882 * we're initiating a rename here; so stash the "delete name"
925 * so that they can be deleted when the operation is committed.
1234 * original file in .backup.<pid>.filename so we can restore it if
1285 * new.xml, or we're doing a rename, so ditto.
1330 * Update user_attr first so that it will be older
1488 * the user will need access to the directory so use that as a heuristic.
1624 * configuration file, so that it's easier to migrate those
1992 * considered the same, but they did not match above, so fail.
2053 int so; local
[all...]
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_hw.h667 * and 2.7.000 is needed for FRWR and FCoIB. Requiring 2.6.000 now so that
1158 * stuff as well, so this is a signficant change to the structure
2420 * That is, if the size of the queue is 16, so 4 bits [3:0] are the index
4358 uint32_t so :1; member in struct:hermon_hw_snd_wqe_ctrl_s
4398 uint32_t so :1; member in struct:hermonw_hw_fcp3_ctrl_s

Completed in 176 milliseconds

12