Home
last modified time | relevance | path

Searched refs:sonode (Results 1 – 25 of 40) sorted by relevance

12

/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockcommon.h37 struct sonode;
51 extern struct sonode *socket_newconn(struct sonode *, sock_lower_handle_t,
55 extern int socket_accept(struct sonode *, int, struct cred *, struct sonode **);
110 struct sonode **);
118 extern int so_init(struct sonode *, struct sonode *, struct cred *, int);
119 extern int so_accept(struct sonode *, int, struct cred *, struct sonode **);
172 extern int so_acceptq_enqueue(struct sonode *, struct sonode *);
173 extern int so_acceptq_enqueue_locked(struct sonode *, struct sonode *);
175 struct sonode **);
208 extern int socket_init_common(struct sonode *, struct sonode *, int flags,
[all …]
H A Dsocktpi_impl.h41 struct sonode st_sonode;
47 extern void so_basic_strinit(struct sonode *);
50 extern int so_sock2stream(struct sonode *);
51 extern void so_stream2sock(struct sonode *);
53 extern int so_strinit(struct sonode *, struct sonode *);
54 extern void so_update_attrs(struct sonode *, int);
61 extern void so_unix_close(struct sonode *);
67 extern void soqueueack(struct sonode *, mblk_t *);
71 extern void so_drain_discon_ind(struct sonode *);
72 extern void so_flush_discon_ind(struct sonode *);
[all …]
H A Dsockfilter_impl.h39 struct sonode;
118 struct sonode *sofi_sonode; /* socket instance is attached to */
142 extern int sof_sonode_inherit_filters(struct sonode *, struct sonode *);
143 extern void sof_sonode_closing(struct sonode *);
144 extern void sof_sonode_cleanup(struct sonode *);
147 extern boolean_t sof_sonode_drop_deferred(struct sonode *);
182 extern mblk_t *sof_filter_data_out_from(struct sonode *so,
184 extern mblk_t *sof_filter_data_in_proc(struct sonode *so,
186 extern int sof_filter_bind(struct sonode *, struct sockaddr *,
188 extern int sof_filter_listen(struct sonode *, int *, cred_t *);
[all …]
H A Dsockcommon.c68 struct sonode *
72 struct sonode *so; in socket_create()
130 struct sonode *
134 struct sonode *so; in socket_newconn()
212 socket_accept(struct sonode *lso, int fflag, cred_t *cr, struct sonode **nsop) in socket_accept()
425 socket_destroy(struct sonode *so) in socket_destroy()
451 struct sonode *so = buf; in sonode_constructor()
479 offsetof(struct sonode, so_acceptq_node)); in sonode_constructor()
481 offsetof(struct sonode, so_acceptq_node)); in sonode_constructor()
518 struct sonode *so = buf; in sonode_destructor()
[all …]
H A Dsodirect.h75 struct sonode;
78 extern uio_t *sod_rcv_init(struct sonode *, int, struct uio **);
79 extern int sod_rcv_done(struct sonode *, struct uio *, struct uio *);
82 extern void sod_uioa_so_init(struct sonode *, struct sodirect_s *,
84 extern ssize_t sod_uioa_mblk(struct sonode *, mblk_t *);
88 extern void sod_sock_init(struct sonode *);
89 extern void sod_sock_fini(struct sonode *);
H A Dsocknotify.c61 static int i_so_notify_last_rx(struct sonode *, int *, int *);
73 so_notify_connected(struct sonode *so) in so_notify_connected()
95 so_notify_disconnecting(struct sonode *so) in so_notify_disconnecting()
168 so_notify_writable(struct sonode *so) in so_notify_writable()
194 so_notify_data(struct sonode *so, size_t qlen) in so_notify_data()
221 so_notify_error(struct sonode *so) in so_notify_error()
245 so_notify_oobsig(struct sonode *so) in so_notify_oobsig()
258 so_notify_oobdata(struct sonode *so, boolean_t oob_inline) in so_notify_oobdata()
290 so_notify_eof(struct sonode *so) in so_notify_eof()
319 so_notify_newconn(struct sonode *so) in so_notify_newconn()
[all …]
H A Dsocktpi.h45 struct sonode;
225 struct sonode *sti_next_so; /* next sonode on socklist */
226 struct sonode *sti_prev_so; /* previous sonode on socklist */
235 extern int sotpi_convert_sonode(struct sonode *, struct sockparams *,
237 extern void sotpi_revert_sonode(struct sonode *, struct cred *);
238 extern void sotpi_update_state(struct sonode *, struct T_capability_ack *,
242 extern sotpi_info_t *sotpi_sototpi(struct sonode *);
H A Dsockcommon_sops.c121 so_init(struct sonode *so, struct sonode *pso, struct cred *cr, int flags) in so_init()
310 struct sonode *nso; in so_accept()
999 struct sonode *so = (struct sonode *)sock_handle; in so_connected()
1023 struct sonode *so = (struct sonode *)sock_handle; in so_disconnected()
1045 struct sonode *so = (struct sonode *)sock_handle; in so_opctl()
1084 struct sonode *so = (struct sonode *)sock_handle; in so_txq_full()
1101 struct sonode *so = (struct sonode *)parenthandle; in so_newconn()
1413 struct sonode *so = (struct sonode *)sock_handle; in so_queue_msg()
1540 struct sonode *so = (struct sonode *)sock_handle; in so_closed()
1560 struct sonode *so = (struct sonode *)sock_handle; in so_zcopy_notify()
[all …]
H A Dsockcommon_vnops.c123 struct sonode *so = VTOSO(vp); in socket_vop_open()
141 struct sonode *so; in socket_vop_close()
177 struct sonode *so = VTOSO(vp); in socket_vop_read()
191 struct sonode *so = VTOSO(vp); in socket_vop_write()
212 struct sonode *so = VTOSO(vp); in socket_vop_ioctl()
228 struct sonode *so = VTOSO(vp); in socket_vop_setfl()
286 struct sonode *so; in socket_vop_getattr()
380 struct sonode *so = VTOSO(vp); in socket_vop_setattr()
414 struct sonode *so = VTOSO(vp); in socket_vop_access()
442 struct sonode *so = VTOSO(vp); in socket_vop_inactive()
[all …]
H A Dsockfilter.c405 sof_sonode_inherit_filters(struct sonode *so, struct sonode *pso) in sof_sonode_inherit_filters()
599 sof_sonode_cleanup(struct sonode *so) in sof_sonode_cleanup()
632 sof_sonode_closing(struct sonode *so) in sof_sonode_closing()
660 struct sonode *def; in sof_sonode_drop_deferred()
699 struct sonode *drop; in sof_close_deferred()
772 struct sonode *so = inst->sofi_sonode; in sof_instance_destroy()
1522 struct sonode *so = inst->sofi_sonode; in sof_newconn_ready()
1523 struct sonode *pso = so->so_listener; in sof_newconn_ready()
1578 struct sonode *so = inst->sofi_sonode; in sof_bypass()
1602 struct sonode *so = inst->sofi_sonode; in sof_rcv_flowctrl()
[all …]
H A Dsockcommon_subr.c68 struct sonode **nsop) in so_acceptq_dequeue_locked()
70 struct sonode *nso = NULL; in so_acceptq_dequeue_locked()
124 struct sonode **nsop) in so_acceptq_dequeue()
138 struct sonode *nso; in so_acceptq_flush_impl()
1219 struct sonode *
1878 struct sonode *so = (struct sonode *)arg; in so_timer_callback()
2015 struct sonode *so = (struct sonode *)sock_handle; in so_quiesced_cb()
2202 so_integrity_check(struct sonode *cur, struct sonode *orig) in so_integrity_check()
2272 struct sonode *nso; in so_tpi_fallback()
2275 struct sonode origso; in so_tpi_fallback()
[all …]
H A Dsockstr.c125 so_sock2stream(struct sonode *so) in so_sock2stream()
413 so_strinit(struct sonode *so, struct sonode *tso) in so_strinit()
545 check_tinfo(struct sonode *so) in check_tinfo()
597 do_tinfo(struct sonode *so) in do_tinfo()
785 struct sonode *so = VTOSO(vp); in sogetrderr()
810 struct sonode *so = VTOSO(vp); in sogetwrerr()
1664 struct sonode *so; in strsock_proto()
2655 struct sonode *so; in strsock_misc()
2845 struct sonode *so; in sock_getmsg()
2891 struct sonode *so; in sock_putmsg()
[all …]
H A Dsocktpi.c203 int sotpi_init(struct sonode *, struct sonode *, struct cred *,
206 struct sonode **);
275 static struct sonode *
279 struct sonode *so; in sotpi_create()
362 sotpi_init(struct sonode *so, struct sonode *tso, struct cred *cr, int flags) in sotpi_init()
1610 struct sonode **nsop) in sotpi_accept()
1616 struct sonode *nso; in sotpi_accept()
4420 struct sonode *so; in kstrwritemp()
6116 struct sonode *so, in sotpi_poll()
6264 struct sonode *so = (struct sonode *)buf; in socktpi_unix_constructor()
[all …]
H A Dsodirect.c64 sod_rcv_init(struct sonode *so, int flags, struct uio **uiopp) in sod_rcv_init()
116 sod_rcv_done(struct sonode *so, struct uio *suiop, struct uio *uiop) in sod_rcv_done()
256 sod_uioa_so_init(struct sonode *so, struct sodirect_s *sodp, struct uio *uiop) in sod_uioa_so_init()
357 sod_sock_init(struct sonode *so) in sod_sock_init()
379 sod_sock_fini(struct sonode *so) in sod_sock_fini()
403 sod_uioa_mblk(struct sonode *so, mblk_t *mp) in sod_uioa_mblk()
/illumos-gate/usr/src/uts/common/sys/
H A Dsocketvar.h106 typedef struct sonode sonode_t;
138 struct sonode { struct
603 struct sonode *sl_list;
662 int (*sop_init)(struct sonode *, struct sonode *, cred_t *,
664 int (*sop_accept)(struct sonode *, int, cred_t *, struct sonode **);
839 int so_verify_oobstate(struct sonode *);
899 extern void so_lock_single(struct sonode *);
922 extern void soisconnected(struct sonode *);
925 extern void socantrcvmore(struct sonode *);
938 extern int soaccept(struct sonode *, int, struct sonode **);
[all …]
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsocksdp.c61 static int sosdp_init(struct sonode *, struct sonode *, struct cred *, int);
62 static int sosdp_accept(struct sonode *, int, struct cred *, struct sonode **);
133 sosdp_init(struct sonode *so, struct sonode *pso, struct cred *cr, int flags) in sosdp_init()
178 struct sonode **nsop) in sosdp_accept()
181 struct sonode *nso; in sosdp_accept()
1195 struct sonode *nso; in sdp_sock_newconn()
1233 struct sonode *so = handle; in sdp_sock_connected()
1255 struct sonode *so = handle; in sdp_sock_disconnected()
1275 struct sonode *so = handle; in sdp_sock_recv()
1291 struct sonode *so = handle; in sdp_sock_xmitted()
[all …]
H A Dsockmod_sctp.c37 struct sonode *socksctp_create(struct sockparams *, int, int, int,
39 void socksctp_destroy(struct sonode *);
98 struct sonode *so = &ss->ss_so; in socksctp_constructor()
109 struct sonode *so = &ss->ss_so; in socksctp_destructor()
118 struct sonode *
123 struct sonode *so; in socksctp_create()
189 socksctp_destroy(struct sonode *so) in socksctp_destroy()
H A Dsocksctp.c62 static int sosctp_init(struct sonode *, struct sonode *, struct cred *, int);
63 static int sosctp_accept(struct sonode *, int, struct cred *, struct sonode **);
85 void sosctp_fini(struct sonode *, struct cred *);
185 sosctp_init(struct sonode *so, struct sonode *pso, struct cred *cr, int flags) in sosctp_init()
246 struct sonode **nsop) in sosctp_accept()
1676 struct sonode *nso; in sosctp_ioctl()
1949 struct sonode *lso = &lss->ss_so; in sctp_assoc_newconn()
2002 struct sonode *so = &ssa->ssa_sonode->ss_so; in sctp_assoc_connected()
2064 struct sonode *so = &ss->ss_so; in sctp_assoc_recv()
2200 struct sonode *so; in sctp_assoc_get_vnode()
[all …]
H A Dsockmod_sdp.c37 struct sonode *socksdp_create(struct sockparams *, int, int, int,
39 static void socksdp_destroy(struct sonode *);
73 struct sonode *
77 struct sonode *so; in socksdp_create()
134 socksdp_destroy(struct sonode *so) in socksdp_destroy()
H A Dsocksdp.h37 extern void sosdp_fini(struct sonode *, struct cred *);
38 extern void sosdp_so_inherit(struct sonode *, struct sonode *);
H A Dsocksctp.h42 struct sonode ss_so;
88 extern struct sonode *socksctp_create(struct sockparams *, int, int,
90 extern void sosctp_fini(struct sonode *, struct cred *);
118 extern int sosctp_waitconnected(struct sonode *so, int fmode);
H A Dsocksctpsubr.c188 struct sonode *so = &ss->ss_so; in sosctp_assoc_free()
311 struct sonode *so = &ssa->ssa_sonode->ss_so; in sosctp_assoc_waitconnected()
363 struct sonode *so = &ss->ss_so; in sosctp_assoc_createconn()
494 struct sonode *nso = &nss->ss_so; in sosctp_so_inherit()
495 struct sonode *lso = &lss->ss_so; in sosctp_so_inherit()
518 struct sonode *nso, *sso; in sosctp_assoc_move()
588 struct sonode *so = &ssa->ssa_sonode->ss_so; in sosctp_assoc_isconnecting()
600 struct sonode *so = &ssa->ssa_sonode->ss_so; in sosctp_assoc_isconnected()
612 struct sonode *so = &ssa->ssa_sonode->ss_so; in sosctp_assoc_isdisconnecting()
624 struct sonode *so = &ssa->ssa_sonode->ss_so; in sosctp_assoc_isdisconnected()
H A Dsocksdpsubr.c49 sosdp_so_inherit(struct sonode *lso, struct sonode *nso) in sosdp_so_inherit()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dvfs.c416 pfiles_get_sonode(vnode_t *v_sock, struct sonode *sonode) in pfiles_get_sonode() argument
418 if (mdb_vread(sonode, sizeof (struct sonode), in pfiles_get_sonode()
486 struct sonode sonode; in pfiles_dig_pathname() local
489 if (pfiles_get_sonode(&v, &sonode) == -1) { in pfiles_dig_pathname()
493 (uintptr_t)sonode.so_sockparams) == -1) { in pfiles_dig_pathname()
498 if (!SOCK_IS_NONSTR(&sonode)) { in pfiles_dig_pathname()
784 tcpip_sock_print(struct sonode *socknode) in tcpip_sock_print()
856 sctp_sock_print(struct sonode *socknode) in sctp_sock_print()
892 sdp_sock_print(struct sonode *socknode) in sdp_sock_print()
901 int (*print)(struct sonode *socknode);
[all …]
/illumos-gate/usr/src/uts/common/io/ksocket/
H A Dksocket.c55 struct sonode *so; in ksocket_socket()
507 struct sonode *so; in ksocket_shutdown()
523 struct sonode *so; in ksocket_close()
566 struct sonode *so; in ksocket_getsockname()
586 struct sonode *so; in ksocket_getpeername()
606 struct sonode *so; in ksocket_getsockopt()
629 struct sonode *so; in ksocket_setsockopt()
651 struct sonode *so; in ksocket_setcallbacks()
688 struct sonode *so; in ksocket_ioctl()
896 struct sonode *so; in ksocket_hold()
[all …]

12