/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | socknotify.c | 47 #define SO_WAKEUP_READER(so) { \ argument 54 #define SO_WAKEUP_WRITER(so) { \ argument 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 | sockstr.c | 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() 597 do_tinfo(struct sonode *so) in do_tinfo() 651 do_tcapability(struct sonode *so, t_uscalar_t cap_bits1) in do_tcapability() [all …]
|
H A D | sockcommon.c | 72 struct sonode *so; in socket_create() local 134 struct sonode *so; in socket_newconn() local 173 socket_bind(struct sonode *so, struct sockaddr *name, socklen_t namelen, in socket_bind() 183 socket_listen(struct sonode *so, int backlog, cred_t *cr) in socket_listen() 221 socket_connect(struct sonode *so, struct sockaddr *name, in socket_connect() 256 socket_getpeername(struct sonode *so, struct sockaddr *addr, in socket_getpeername() 268 socket_getsockname(struct sonode *so, struct sockaddr *addr, in socket_getsockname() 279 socket_shutdown(struct sonode *so, int how, cred_t *cr) in socket_shutdown() 289 socket_getsockopt(struct sonode *so, int level, int option_name, in socket_getsockopt() 300 socket_setsockopt(struct sonode *so, int level, int option_name, in socket_setsockopt() [all …]
|
H A D | sockcommon_sops.c | 79 so_listen_notsupp(struct sonode *so, int backlog, struct cred *cr) in so_listen_notsupp() 86 so_getsockname_notsupp(struct sonode *so, struct sockaddr *sa, in so_getsockname_notsupp() 94 so_getpeername_notsupp(struct sonode *so, struct sockaddr *addr, in so_getpeername_notsupp() 102 so_shutdown_notsupp(struct sonode *so, int how, struct cred *cr) in so_shutdown_notsupp() 109 so_sendmblk_notsupp(struct sonode *so, struct msghdr *msg, int fflag, in so_sendmblk_notsupp() 121 so_init(struct sonode *so, struct sonode *pso, struct cred *cr, int flags) in so_init() 127 so_bind(struct sonode *so, struct sockaddr *name, socklen_t namelen, in so_bind() 249 so_listen(struct sonode *so, int backlog, struct cred *cr) in so_listen() 268 so_connect(struct sonode *so, struct sockaddr *name, in so_connect() 307 so_accept(struct sonode *so, int fflag, struct cred *cr, struct sonode **nsop) in so_accept() [all …]
|
H A D | sockcommon_subr.c | 67 so_acceptq_dequeue_locked(struct sonode *so, boolean_t dontblock, in so_acceptq_dequeue_locked() 123 so_acceptq_dequeue(struct sonode *so, boolean_t dontblock, in so_acceptq_dequeue() 136 so_acceptq_flush_impl(struct sonode *so, list_t *list, boolean_t doclose) in so_acceptq_flush_impl() 183 so_acceptq_flush(struct sonode *so, boolean_t doclose) in so_acceptq_flush() 192 so_wait_connected_locked(struct sonode *so, boolean_t nonblock, in so_wait_connected_locked() 248 so_wait_connected(struct sonode *so, boolean_t nonblock, sock_connid_t id) in so_wait_connected() 260 so_snd_wait_qnotfull_locked(struct sonode *so, boolean_t dontblock) in so_snd_wait_qnotfull_locked() 298 so_snd_wait_qnotfull(struct sonode *so, boolean_t dontblock) in so_snd_wait_qnotfull() 312 so_snd_qfull(struct sonode *so) in so_snd_qfull() 320 so_snd_qnotfull(struct sonode *so) in so_snd_qnotfull() [all …]
|
H A D | sockfilter.c | 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() 615 sof_sonode_notify_filters(struct sonode *so, sof_event_t event, uintptr_t arg) in sof_sonode_notify_filters() 632 sof_sonode_closing(struct sonode *so) in sof_sonode_closing() 658 sof_sonode_drop_deferred(struct sonode *so) in sof_sonode_drop_deferred() [all …]
|
H A D | sockcommon_vnops.c | 123 struct sonode *so = VTOSO(vp); in socket_vop_open() local 141 struct sonode *so; in socket_vop_close() local 177 struct sonode *so = VTOSO(vp); in socket_vop_read() local 191 struct sonode *so = VTOSO(vp); in socket_vop_write() local 212 struct sonode *so = VTOSO(vp); in socket_vop_ioctl() local 228 struct sonode *so = VTOSO(vp); in socket_vop_setfl() local 286 struct sonode *so; in socket_vop_getattr() local 380 struct sonode *so = VTOSO(vp); in socket_vop_setattr() local 414 struct sonode *so = VTOSO(vp); in socket_vop_access() local 442 struct sonode *so = VTOSO(vp); in socket_vop_inactive() local [all …]
|
H A D | socktpi.c | 280 struct sonode *so; in sotpi_create() local 325 sotpi_destroy(struct sonode *so) in sotpi_destroy() 363 sotpi_init(struct sonode *so, struct sonode *tso, struct cred *cr, int flags) in sotpi_init() 589 so_automatic_bind(struct sonode *so) in so_automatic_bind() 629 sotpi_bindlisten(struct sonode *so, struct sockaddr *name, in sotpi_bindlisten() 1353 sotpi_bind(struct sonode *so, struct sockaddr *name, socklen_t namelen, in sotpi_bind() 1370 sotpi_unbind(struct sonode *so, int flags) in sotpi_unbind() 1451 sotpi_listen(struct sonode *so, int backlog, struct cred *cr) in sotpi_listen() 1537 sodisconnect(struct sonode *so, t_scalar_t seqno, int flags) in sodisconnect() 1610 sotpi_accept(struct sonode *so, int fflag, struct cred *cr, in sotpi_accept() [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()
|
H A D | socksyscalls.c | 106 struct sonode *so; in so_socket() local 180 struct sonode *so; in getsonode() local 226 copyin_name(struct sonode *so, struct sockaddr *name, socklen_t *namelenp, in copyin_name() 563 struct sonode *so; in bind() local 614 struct sonode *so; in listen() local 636 struct sonode *so; in accept() local 786 struct sonode *so; in connect() local 821 struct sonode *so; in shutdown() local 845 struct sonode *so; in recvit() local 1215 struct sonode *so; in sendit() local [all …]
|
H A D | sockcommon.h | 84 #define SOCKET_TIMER_CANCEL(so) { \ argument 99 #define SOCKET_TIMER_START(so) { \ argument
|
H A D | socksubr.c | 196 so_update_attrs(struct sonode *so, int flag) in so_update_attrs() 316 so_lock_single(struct sonode *so) in so_lock_single() 332 so_unlock_single(struct sonode *so, int flag) in so_unlock_single() 360 so_lock_read(struct sonode *so, int fmode) in so_lock_read() 378 so_lock_read_intr(struct sonode *so, int fmode) in so_lock_read_intr() 397 so_unlock_read(struct sonode *so) in so_unlock_read() 440 so_ux_lookup(struct sonode *so, struct sockaddr_un *soun, int checkaccess, in so_ux_lookup() 545 so_addr_verify(struct sonode *so, const struct sockaddr *name, in so_addr_verify() 632 so_ux_addr_xlate(struct sonode *so, struct sockaddr *name, in so_ux_addr_xlate() 1695 so_verify_oobstate(struct sonode *so) in so_verify_oobstate() [all …]
|
/illumos-gate/usr/src/uts/common/inet/sockmods/ |
H A D | socksdp.c | 133 sosdp_init(struct sonode *so, struct sonode *pso, struct cred *cr, int flags) in sosdp_init() 215 sosdp_bind(struct sonode *so, struct sockaddr *name, socklen_t namelen, in sosdp_bind() 278 sosdp_listen(struct sonode *so, int backlog, struct cred *cr) in sosdp_listen() 328 sosdp_connect(struct sonode *so, struct sockaddr *name, in sosdp_connect() 418 sosdp_recvmsg(struct sonode *so, struct nmsghdr *msg, struct uio *uiop, in sosdp_recvmsg() 484 sosdp_sendmsg(struct sonode *so, struct nmsghdr *msg, struct uio *uiop, in sosdp_sendmsg() 538 sosdp_getpeername(struct sonode *so, struct sockaddr *addr, socklen_t *addrlen, in sosdp_getpeername() 556 sosdp_getsockname(struct sonode *so, struct sockaddr *addr, socklen_t *addrlen, in sosdp_getsockname() 587 sosdp_shutdown(struct sonode *so, int how, struct cred *cr) in sosdp_shutdown() 652 sosdp_getsockopt(struct sonode *so, int level, int option_name, in sosdp_getsockopt() [all …]
|
H A D | socksctp.c | 185 sosctp_init(struct sonode *so, struct sonode *pso, struct cred *cr, int flags) in sosctp_init() 245 sosctp_accept(struct sonode *so, int fflag, struct cred *cr, in sosctp_accept() 263 sosctp_bind(struct sonode *so, struct sockaddr *name, socklen_t namelen, in sosctp_bind() 315 sosctp_listen(struct sonode *so, int backlog, struct cred *cr) in sosctp_listen() 367 sosctp_connect(struct sonode *so, struct sockaddr *name, in sosctp_connect() 447 sosctp_seq_connect(struct sonode *so, struct sockaddr *name, in sosctp_seq_connect() 489 sosctp_recvmsg(struct sonode *so, struct nmsghdr *msg, struct uio *uiop, in sosctp_recvmsg() 734 sosctp_sendmsg(struct sonode *so, struct nmsghdr *msg, struct uio *uiop, in sosctp_sendmsg() 933 sosctp_seq_sendmsg(struct sonode *so, struct nmsghdr *msg, struct uio *uiop, in sosctp_seq_sendmsg() 1139 sosctp_getpeername(struct sonode *so, struct sockaddr *addr, socklen_t *addrlen, in sosctp_getpeername() [all …]
|
H A D | socksctpsubr.c | 188 struct sonode *so = &ss->ss_so; in sosctp_assoc_free() local 311 struct sonode *so = &ssa->ssa_sonode->ss_so; in sosctp_assoc_waitconnected() local 363 struct sonode *so = &ss->ss_so; in sosctp_assoc_createconn() local 588 struct sonode *so = &ssa->ssa_sonode->ss_so; in sosctp_assoc_isconnecting() local 600 struct sonode *so = &ssa->ssa_sonode->ss_so; in sosctp_assoc_isconnected() local 612 struct sonode *so = &ssa->ssa_sonode->ss_so; in sosctp_assoc_isdisconnecting() local 624 struct sonode *so = &ssa->ssa_sonode->ss_so; in sosctp_assoc_isdisconnected() local
|
H A D | sockmod_sctp.c | 98 struct sonode *so = &ss->ss_so; in socksctp_constructor() local 109 struct sonode *so = &ss->ss_so; in socksctp_destructor() local 123 struct sonode *so; in socksctp_create() local 189 socksctp_destroy(struct sonode *so) in socksctp_destroy()
|
H A D | sockmod_sdp.c | 77 struct sonode *so; in socksdp_create() local 134 socksdp_destroy(struct sonode *so) in socksdp_destroy()
|
/illumos-gate/usr/src/uts/common/io/ksocket/ |
H A D | ksocket_impl.h | 37 #define SOTOKS(so) ((ksocket_t)(uintptr_t)(so)) argument 39 #define IS_KERNEL_SOCKET(so) ((so)->so_mode & SM_KERNEL) argument 54 #define KSOCKET_CALLBACK(so, cbfn, arg) \ argument 60 #define KSOCKET_FMODE(so) FREAD|FWRITE| \ argument 67 #define SETCALLBACK(so, cb, cbfn, cbflg) \ argument
|
H A D | ksocket.c | 55 struct sonode *so; in ksocket_socket() local 507 struct sonode *so; in ksocket_shutdown() local 523 struct sonode *so; in ksocket_close() local 566 struct sonode *so; in ksocket_getsockname() local 586 struct sonode *so; in ksocket_getpeername() local 606 struct sonode *so; in ksocket_getsockopt() local 629 struct sonode *so; in ksocket_setsockopt() local 651 struct sonode *so; in ksocket_setcallbacks() local 688 struct sonode *so; in ksocket_ioctl() local 731 struct sonode *so; in ksocket_spoll() local [all …]
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | srchpref.c | 115 struct ldap_searchobj *prevso, *so; in ldap_init_searchprefs_buf() local 154 struct ldap_searchobj *so, *nextso; in ldap_free_searchprefs() local 167 free_searchobj( struct ldap_searchobj *so ) in free_searchobj() 236 ldap_next_searchobj( struct ldap_searchobj *solist, struct ldap_searchobj *so ) in ldap_next_searchobj() 249 struct ldap_searchobj *so; in read_next_searchobj() local
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | sfsasl.c | 61 struct sasl_obj *so = (struct sasl_obj *) fp->f_cookie; local 107 struct sasl_obj *so; local 151 struct sasl_obj *so; local 200 struct sasl_obj *so = (struct sasl_obj *) fp->f_cookie; local 294 struct sasl_obj *so = (struct sasl_obj *) fp->f_cookie; local 456 struct tls_obj *so = (struct tls_obj *) fp->f_cookie; local 498 struct tls_obj *so; local 540 struct tls_obj *so; local 719 struct tls_obj *so = (struct tls_obj *) fp->f_cookie; local 831 struct tls_obj *so = (struct tls_obj *) fp->f_cookie; local
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | ipoptsec.c | 28 struct ipopt_names *so; local 45 struct ipopt_names *so; local
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_authenticate.c | 610 ksocket_t so; in smb_authsock_sendrecv() local 732 ksocket_t so = NULL; in smb_authsock_open() local 844 smb_authsock_send(ksocket_t so, void *buf, size_t len) in smb_authsock_send() 862 smb_authsock_recv(ksocket_t so, void *buf, size_t len) in smb_authsock_recv() 891 smb_authsock_close(smb_user_t *user, ksocket_t so) in smb_authsock_close()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | socketvar.h | 256 #define SO_HAVE_DATA(so) \ argument 283 #define SOCK_IS_NONSTR(so) ((so)->so_not_str) argument 333 #define SO_BLOCK_FALLBACK(so, fn) \ argument 347 #define SO_UNBLOCK_FALLBACK(so) { \ argument 351 #define SO_SND_FLOWCTRLD(so) \ argument 692 #define SOP_INIT(so, flag, cr, flags) \ argument 694 #define SOP_ACCEPT(so, fflag, cr, nsop) \ argument 696 #define SOP_BIND(so, name, namelen, flags, cr) \ argument 698 #define SOP_LISTEN(so, backlog, cr) \ argument 700 #define SOP_CONNECT(so, name, namelen, fflag, flags, cr) \ argument [all …]
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | tmpltest.c | 35 struct ldap_searchobj *so, *sop; in main() local 233 dump_srchpref( struct ldap_searchobj *so ) in dump_srchpref()
|