HomeSort by relevance Sort by last modified time
    Searched refs:sonode (Results 1 - 25 of 42) sorted by null

1 2

  /onnv/onnv-gate/usr/src/uts/common/inet/sockmods/
socksdp.h 37 extern void sosdp_fini(struct sonode *, struct cred *);
38 extern void sosdp_so_inherit(struct sonode *, struct sonode *);
socksdpsubr.c 49 sosdp_so_inherit(struct sonode *lso, struct sonode *nso)
socksdp.c 58 * SDP sockfs sonode operations
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 *, const 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 *
    [all...]
sockmod_sdp.c 41 struct sonode *socksdp_create(struct sockparams *, int, int, int,
43 static void socksdp_destroy(struct sonode *);
77 struct sonode *
81 struct sonode *so;
138 socksdp_destroy(struct sonode *so)
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;
109 struct sonode *so = &ss->ss_so;
118 struct sonode *
123 struct sonode *so;
189 socksctp_destroy(struct sonode *so)
socksctp.h 41 int ss_type; /* sonode or soassoc */
42 struct sonode ss_so;
87 extern struct sonode *socksctp_create(struct sockparams *, int, int,
89 extern void sosctp_fini(struct sonode *, struct cred *);
117 extern int sosctp_waitconnected(struct sonode *so, int fmode);
socksctp.c 58 * SCTP sockfs sonode operations, 1-1 socket
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 *, const 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 *
    [all...]
socksctpsubr.c 188 struct sonode *so = &ss->ss_so;
311 struct sonode *so = &ssa->ssa_sonode->ss_so;
363 struct sonode *so = &ss->ss_so;
494 struct sonode *nso = &nss->ss_so;
495 struct sonode *lso = &lss->ss_so;
584 struct sonode *so = &ssa->ssa_sonode->ss_so;
596 struct sonode *so = &ssa->ssa_sonode->ss_so;
608 struct sonode *so = &ssa->ssa_sonode->ss_so;
620 struct sonode *so = &ssa->ssa_sonode->ss_so;
  /onnv/onnv-gate/usr/src/uts/common/fs/sockfs/
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)
    [all...]
sockcommon.h 37 struct sonode;
49 extern struct sonode *socket_create(int, int, int, char *, char *, int, int,
51 extern struct sonode *socket_newconn(struct sonode *, sock_lower_handle_t,
53 extern int socket_bind(struct sonode *, struct sockaddr *, socklen_t, int,
55 extern int socket_accept(struct sonode *, int, struct cred *, struct sonode **);
56 extern int socket_listen(struct sonode *, int, struct cred *);
57 extern int socket_connect(struct sonode *, const struct sockaddr *,
59 extern int socket_getpeername(struct sonode *, struct sockaddr *, socklen_t *
    [all...]
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 *);
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 *);
socktpi.h 47 struct sonode;
58 * field in the sonode will always point to the sotpi_info_t, and the
75 * VSOCK node to find the sonode bound to the pathname. The bound
136 dev_t sti_dev; /* device the sonode represents */
222 struct sonode *sti_next_so; /* next sonode on socklist */
223 struct sonode *sti_prev_so; /* previous sonode on socklist */
267 extern int sotpi_convert_sonode(struct sonode *, struct sockparams *,
269 extern void sotpi_revert_sonode(struct sonode *, struct cred *)
    [all...]
socknotify.c 57 static int i_so_notify_last_rx(struct sonode *, int *, int *);
58 static int i_so_notify_last_tx(struct sonode *, int *, int *);
69 so_notify_connected(struct sonode *so)
90 so_notify_disconnecting(struct sonode *so)
117 so_notify_disconnected(struct sonode *so, int error)
145 so_notify_writable(struct sonode *so)
167 so_notify_data(struct sonode *so, size_t qlen)
194 so_notify_error(struct sonode *so)
218 so_notify_oobsig(struct sonode *so)
231 so_notify_oobdata(struct sonode *so, boolean_t oob_inline
    [all...]
sockcommon.c 58 * Instead of accessing the sonode switch directly (i.e., SOP_xxx()),
63 * Try to create a new sonode of the requested <family, type, protocol>.
66 struct sonode *
70 struct sonode *so;
128 struct sonode *
129 socket_newconn(struct sonode *parent, sock_lower_handle_t lh,
132 struct sonode *so;
171 socket_bind(struct sonode *so, struct sockaddr *name, socklen_t namelen,
181 socket_listen(struct sonode *so, int backlog, cred_t *cr)
210 socket_accept(struct sonode *lso, int fflag, cred_t *cr, struct sonode **nsop
    [all...]
sockcommon_sops.c 68 so_accept_notsupp(struct sonode *lso, int fflag,
69 struct cred *cr, struct sonode **nsop)
76 so_listen_notsupp(struct sonode *so, int backlog, struct cred *cr)
83 so_getsockname_notsupp(struct sonode *so, struct sockaddr *sa,
91 so_getpeername_notsupp(struct sonode *so, struct sockaddr *addr,
99 so_shutdown_notsupp(struct sonode *so, int how, struct cred *cr)
106 so_sendmblk_notsupp(struct sonode *so, struct msghdr *msg, int fflag,
118 so_init(struct sonode *so, struct sonode *pso, struct cred *cr, int flags)
124 so_bind(struct sonode *so, struct sockaddr *name, socklen_t namelen
    [all...]
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);
137 struct sonode *so;
173 struct sonode *so = VTOSO(vp);
187 struct sonode *so = VTOSO(vp);
208 struct sonode *so = VTOSO(vp);
224 struct sonode *so = VTOSO(vp);
267 * Here we use the access and modified times recorded in the sonode.
282 struct sonode *so
    [all...]
sockcommon_subr.c 63 so_acceptq_enqueue_locked(struct sonode *so, struct sonode *nso)
79 * int so_acceptq_enqueue(struct sonode *so, struct sonode *nso)
91 so_acceptq_enqueue(struct sonode *so, struct sonode *nso)
103 so_acceptq_dequeue_locked(struct sonode *so, boolean_t dontblock,
104 struct sonode **nsop)
106 struct sonode *nso = NULL;
145 * int so_acceptq_dequeue(struct sonode *, boolean_t, struct sonode **
    [all...]
sockssl.c 62 struct sonode *so = VTOSO(vp);
102 struct sonode *so = VTOSO(vp);
sockstr.c 111 static int do_tcapability(struct sonode *so, t_uscalar_t cap_bits1);
112 static void so_removehooks(struct sonode *so);
128 so_sock2stream(struct sonode *so)
299 so_stream2sock(struct sonode *so)
355 so_installhooks(struct sonode *so)
368 so_removehooks(struct sonode *so)
381 so_basic_strinit(struct sonode *so)
416 so_strinit(struct sonode *so, struct sonode *tso)
478 copy_tinfo(struct sonode *so, struct T_info_ack *tia
    [all...]
sodirect.c 61 * If I/OAT is enabled on this sonode, initialize the uioa state machine
65 sod_rcv_init(struct sonode *so, int flags, struct uio **uiopp)
117 sod_rcv_done(struct sonode *so, struct uio *suiop, struct uio *uiop)
257 sod_uioa_so_init(struct sonode *so, struct sodirect_s *sodp, struct uio *uiop)
313 * We get here only once to process the sonode dump area
358 sod_sock_init(struct sonode *so)
380 sod_sock_fini(struct sonode *so)
404 sod_uioa_mblk(struct sonode *so, mblk_t *mp)
socktpi.c 178 static void sotpi_destroy(struct sonode *);
179 static struct sonode *sotpi_create(struct sockparams *, int, int, int, int,
182 static boolean_t sotpi_info_create(struct sonode *, int);
183 static void sotpi_info_init(struct sonode *);
184 static void sotpi_info_fini(struct sonode *);
185 static void sotpi_info_destroy(struct sonode *);
207 static int sotpi_unbind(struct sonode *, int);
209 /* TPI sockfs sonode operations */
210 int sotpi_init(struct sonode *, struct sonode *, struct cred *
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/sys/
socketvar.h 102 typedef struct sonode sonode_t;
107 * The sonode represents a socket. A sonode never exist in the file system
113 * sonode. It is expected that the underlying transport protocol serializes
118 * calls to operate on the same sonode concurrently. The SOREADLOCKED flag is
120 * sonode. This is needed to ensure atomic operation for things like
133 struct sonode { struct
134 struct vnode *so_vnode; /* vnode associated with this sonode */
136 sonodeops_t *so_ops; /* operations vector for this sonode */
137 void *so_priv; /* sonode private data *
    [all...]
  /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/genunix/
net.h 51 extern int sonode(uintptr_t, uint_t, int, const mdb_arg_t *);
  /onnv/onnv-gate/usr/src/uts/common/io/ksocket/
ksocket_impl.h 30 #define KSTOSO(ks) ((struct sonode *)(ks))

Completed in 840 milliseconds

1 2