/titanic_50/usr/src/uts/common/fs/sockfs/ |
H A D | sockcommon.h | 36 struct sonode; 48 extern struct sonode *socket_create(int, int, int, char *, char *, int, int, 50 extern struct sonode *socket_newconn(struct sonode *, sock_lower_handle_t, 52 extern int socket_bind(struct sonode *, struct sockaddr *, socklen_t, int, 54 extern int socket_accept(struct sonode *, int, struct cred *, struct sonode **); 55 extern int socket_listen(struct sonode *, int, struct cred *); 56 extern int socket_connect(struct sonode *, struct sockaddr *, 58 extern int socket_getpeername(struct sonode *, struct sockaddr *, socklen_t *, 60 extern int socket_getsockname(struct sonode *, struct sockaddr *, socklen_t *, 62 extern int socket_shutdown(struct sonode *, int, struct cred *); [all …]
|
H A D | socktpi_impl.h | 41 struct sonode st_sonode; 45 extern void so_proc_tcapability_ack(struct sonode *, 47 extern void so_basic_strinit(struct sonode *); 48 extern void so_alloc_addr(struct sonode *, t_uscalar_t); 49 extern int so_set_events(struct sonode *, vnode_t *, cred_t *); 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); 57 extern int so_addr_verify(struct sonode *, const struct sockaddr *, [all …]
|
H A D | sockfilter_impl.h | 39 struct sonode; 118 struct sonode *sofi_sonode; /* socket instance is attached to */ 141 extern int sof_sonode_autoattach_filters(struct sonode *, cred_t *); 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 *); 145 extern void sof_sonode_notify_filters(struct sonode *, sof_event_t, 147 extern boolean_t sof_sonode_drop_deferred(struct sonode *); 149 extern int sof_setsockopt(struct sonode *, int, const void *, socklen_t, 151 extern int sof_getsockopt(struct sonode *, int, void *, socklen_t *, [all …]
|
H A D | sockcommon.c | 66 struct sonode * 70 struct sonode *so; in socket_create() 128 struct sonode * 129 socket_newconn(struct sonode *parent, sock_lower_handle_t lh, in socket_newconn() 132 struct sonode *so; in socket_newconn() 171 socket_bind(struct sonode *so, struct sockaddr *name, socklen_t namelen, in socket_bind() 181 socket_listen(struct sonode *so, int backlog, cred_t *cr) in socket_listen() 210 socket_accept(struct sonode *lso, int fflag, cred_t *cr, struct sonode **nsop) in socket_accept() 219 socket_connect(struct sonode *so, struct sockaddr *name, in socket_connect() 254 socket_getpeername(struct sonode *so, struct sockaddr *addr, in socket_getpeername() [all …]
|
H A D | sodirect.h | 75 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 D | nl7c.h | 75 boolean_t nl7c_process(struct sonode *, boolean_t); 76 int nl7c_data(struct sonode *, uio_t *); 77 void nl7c_urifree(struct sonode *); 78 void nl7c_close(struct sonode *); 79 boolean_t nl7c_parse(struct sonode *, boolean_t, boolean_t *); 83 extern void nl7c_listener_addr(void *, struct sonode *);
|
H A D | socknotify.c | 61 static int i_so_notify_last_rx(struct sonode *, int *, int *); 62 static int i_so_notify_last_tx(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() 124 so_notify_disconnected(struct sonode *so, boolean_t connfailed, int error) in so_notify_disconnected() 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() [all …]
|
H A D | socktpi.h | 44 struct sonode; 219 struct sonode *sti_next_so; /* next sonode on socklist */ 220 struct sonode *sti_prev_so; /* previous sonode on socklist */ 253 extern int sotpi_convert_sonode(struct sonode *, struct sockparams *, 255 extern void sotpi_revert_sonode(struct sonode *, struct cred *); 256 extern void sotpi_update_state(struct sonode *, struct T_capability_ack *, 260 extern sotpi_info_t *sotpi_sototpi(struct sonode *);
|
H A D | sockcommon_sops.c | 65 static void so_queue_oob(struct sonode *, mblk_t *, size_t); 70 so_accept_notsupp(struct sonode *lso, int fflag, in so_accept_notsupp() 71 struct cred *cr, struct sonode **nsop) in so_accept_notsupp() 78 so_listen_notsupp(struct sonode *so, int backlog, struct cred *cr) in so_listen_notsupp() 85 so_getsockname_notsupp(struct sonode *so, struct sockaddr *sa, in so_getsockname_notsupp() 93 so_getpeername_notsupp(struct sonode *so, struct sockaddr *addr, in so_getpeername_notsupp() 101 so_shutdown_notsupp(struct sonode *so, int how, struct cred *cr) in so_shutdown_notsupp() 108 so_sendmblk_notsupp(struct sonode *so, struct msghdr *msg, int fflag, in so_sendmblk_notsupp() 120 so_init(struct sonode *so, struct sonode *pso, struct cred *cr, int flags) in so_init() 126 so_bind(struct sonode *so, struct sockaddr *name, socklen_t namelen, in so_bind() [all …]
|
H A D | sockcommon_vnops.c | 85 extern int socket_close_internal(struct sonode *, int, cred_t *); 86 extern void socket_destroy_internal(struct sonode *, cred_t *); 119 struct sonode *so = VTOSO(vp); in socket_vop_open() 137 struct sonode *so; in socket_vop_close() 173 struct sonode *so = VTOSO(vp); in socket_vop_read() 187 struct sonode *so = VTOSO(vp); in socket_vop_write() 208 struct sonode *so = VTOSO(vp); in socket_vop_ioctl() 224 struct sonode *so = VTOSO(vp); in socket_vop_setfl() 282 struct sonode *so; in socket_vop_getattr() 290 sonode_shift = highbit(sizeof (struct sonode)); in socket_vop_getattr() [all …]
|
H A D | sockfilter.c | 127 static sof_instance_t *sof_instance_create(sof_entry_t *, struct sonode *); 151 list_create(&sof_close_deferred_list, sizeof (struct sonode), in sof_init() 152 offsetof(struct sonode, so_acceptq_node)); in sof_init() 185 sof_setsockopt_impl(struct sonode *so, int option_name, in sof_setsockopt_impl() 307 sof_setsockopt(struct sonode *so, int option_name, in sof_setsockopt() 339 sof_getsockopt_impl(struct sonode *so, int option_name, in sof_getsockopt_impl() 380 sof_getsockopt(struct sonode *so, int option_name, in sof_getsockopt() 405 sof_sonode_inherit_filters(struct sonode *so, struct sonode *pso) in sof_sonode_inherit_filters() 509 sof_sonode_autoattach_filters(struct sonode *so, cred_t *cr) in sof_sonode_autoattach_filters() 599 sof_sonode_cleanup(struct sonode *so) in sof_sonode_cleanup() [all …]
|
H A D | sockcommon_subr.c | 66 so_acceptq_dequeue_locked(struct sonode *so, boolean_t dontblock, in so_acceptq_dequeue_locked() 67 struct sonode **nsop) in so_acceptq_dequeue_locked() 69 struct sonode *nso = NULL; in so_acceptq_dequeue_locked() 122 so_acceptq_dequeue(struct sonode *so, boolean_t dontblock, in so_acceptq_dequeue() 123 struct sonode **nsop) in so_acceptq_dequeue() 135 so_acceptq_flush_impl(struct sonode *so, list_t *list, boolean_t doclose) in so_acceptq_flush_impl() 137 struct sonode *nso; in so_acceptq_flush_impl() 182 so_acceptq_flush(struct sonode *so, boolean_t doclose) in so_acceptq_flush() 191 so_wait_connected_locked(struct sonode *so, boolean_t nonblock, in so_wait_connected_locked() 247 so_wait_connected(struct sonode *so, boolean_t nonblock, sock_connid_t id) in so_wait_connected() [all …]
|
H A D | sockstr.c | 108 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) in so_sock2stream() 296 so_stream2sock(struct sonode *so) in so_stream2sock() 352 so_installhooks(struct sonode *so) in so_installhooks() 365 so_removehooks(struct sonode *so) in so_removehooks() 378 so_basic_strinit(struct sonode *so) in so_basic_strinit() 413 so_strinit(struct sonode *so, struct sonode *tso) in so_strinit() 475 copy_tinfo(struct sonode *so, struct T_info_ack *tia) in copy_tinfo() 545 check_tinfo(struct sonode *so) in check_tinfo() [all …]
|
H A D | socktpi.c | 177 static void sotpi_destroy(struct sonode *); 178 static struct sonode *sotpi_create(struct sockparams *, int, int, int, int, 181 static boolean_t sotpi_info_create(struct sonode *, int); 182 static void sotpi_info_init(struct sonode *); 183 static void sotpi_info_fini(struct sonode *); 184 static void sotpi_info_destroy(struct sonode *); 200 static int sotpi_unbind(struct sonode *, int); 203 int sotpi_init(struct sonode *, struct sonode *, struct cred *, 205 static int sotpi_accept(struct sonode *, int, struct cred *, 206 struct sonode **); [all …]
|
H A D | sodirect.c | 64 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()
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | socketvar.h | 104 typedef struct sonode sonode_t; 135 struct sonode { struct 174 struct sonode *so_listener; /* parent socket */ argument 386 typedef struct sonode *(*so_create_func_t)(struct sockparams *, 388 typedef void (*so_destroy_func_t)(struct sonode *); 596 struct sonode *sl_list; 655 int (*sop_init)(struct sonode *, struct sonode *, cred_t *, 657 int (*sop_accept)(struct sonode *, int, cred_t *, struct sonode **); 658 int (*sop_bind)(struct sonode *, struct sockaddr *, socklen_t, 660 int (*sop_listen)(struct sonode *, int, cred_t *); [all …]
|
/titanic_50/usr/src/uts/common/inet/sockmods/ |
H A D | socksdp.c | 60 static int sosdp_init(struct sonode *, struct sonode *, struct cred *, int); 61 static int sosdp_accept(struct sonode *, int, struct cred *, struct sonode **); 62 static int sosdp_bind(struct sonode *, struct sockaddr *, socklen_t, int, 64 static int sosdp_listen(struct sonode *, int, struct cred *); 65 static int sosdp_connect(struct sonode *, struct sockaddr *, socklen_t, 67 static int sosdp_recvmsg(struct sonode *, struct nmsghdr *, struct uio *, 69 static int sosdp_sendmsg(struct sonode *, struct nmsghdr *, struct uio *, 71 static int sosdp_getpeername(struct sonode *, struct sockaddr *, socklen_t *, 73 static int sosdp_getsockname(struct sonode *, struct sockaddr *, socklen_t *, 75 static int sosdp_shutdown(struct sonode *, int, struct cred *); [all …]
|
H A D | sockmod_sctp.c | 37 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 D | sockmod_sdp.c | 37 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 D | socksctp.c | 60 static int sosctp_init(struct sonode *, struct sonode *, struct cred *, int); 61 static int sosctp_accept(struct sonode *, int, struct cred *, struct sonode **); 62 static int sosctp_bind(struct sonode *, struct sockaddr *, socklen_t, int, 64 static int sosctp_listen(struct sonode *, int, struct cred *); 65 static int sosctp_connect(struct sonode *, struct sockaddr *, socklen_t, 67 static int sosctp_recvmsg(struct sonode *, struct nmsghdr *, struct uio *, 69 static int sosctp_sendmsg(struct sonode *, struct nmsghdr *, struct uio *, 71 static int sosctp_getpeername(struct sonode *, struct sockaddr *, socklen_t *, 73 static int sosctp_getsockname(struct sonode *, struct sockaddr *, socklen_t *, 75 static int sosctp_shutdown(struct sonode *, int, struct cred *); [all …]
|
H A D | socksdp.h | 37 extern void sosdp_fini(struct sonode *, struct cred *); 38 extern void sosdp_so_inherit(struct sonode *, struct sonode *);
|
H A D | socksctp.h | 42 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 D | socksctpsubr.c | 188 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()
|
/titanic_50/usr/src/uts/common/io/ksocket/ |
H A D | ksocket.c | 54 struct sonode *so; in ksocket_socket() 135 struct sonode *nso = NULL; in ksocket_accept() 509 struct sonode *so; in ksocket_shutdown() 525 struct sonode *so; in ksocket_close() 568 struct sonode *so; in ksocket_getsockname() 588 struct sonode *so; in ksocket_getpeername() 608 struct sonode *so; in ksocket_getsockopt() 631 struct sonode *so; in ksocket_setsockopt() 653 struct sonode *so; in ksocket_setcallbacks() 690 struct sonode *so; in ksocket_ioctl() [all …]
|
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | vfs.c | 416 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 …]
|