Lines Matching defs:sonode

135 struct sonode {  struct
136 struct vnode *so_vnode; /* vnode associated with this sonode */ argument
138 sonodeops_t *so_ops; /* operations vector for this sonode */ argument
139 void *so_priv; /* sonode private data */ argument
142 kmutex_t so_lock; /* protects sonode fields */ argument
144 kcondvar_t so_state_cv; /* synchronize state changes */
145 kcondvar_t so_single_cv; /* wait due to SOLOCKED */
146 kcondvar_t so_read_cv; /* wait due to SOREADLOCKED */
150 uint_t so_state; /* internal state flags SS_*, below */
174 struct sonode *so_listener; /* parent socket */ argument
177 short so_options; /* From socket call, see socket.h */
178 struct linger so_linger; /* SO_LINGER value */
187 int so_xpg_rcvbuf; /* SO_RCVBUF value for XPG4 socket */
188 clock_t so_sndtimeo; /* send timeout */
189 clock_t so_rcvtimeo; /* recv timeout */
191 mblk_t *so_oobmsg; /* outofline oob data */
192 ssize_t so_oobmark; /* offset of the oob data */
194 pid_t so_pgrp; /* pgrp for signals */
196 cred_t *so_peercred; /* connected socket peer cred */
197 pid_t so_cpid; /* connected socket peer cached pid */
198 zoneid_t so_zoneid; /* opener's zoneid */
200 struct pollhead so_poll_list; /* common pollhead */
201 short so_pollev; /* events that should be generated */
204 unsigned int so_rcv_queued; /* # bytes on both rcv lists */
205 mblk_t *so_rcv_q_head; /* processing/copyout rcv queue */
206 mblk_t *so_rcv_q_last_head;
207 mblk_t *so_rcv_head; /* protocol prequeue */
208 mblk_t *so_rcv_last_head; /* last mblk in b_next chain */
209 kcondvar_t so_rcv_cv; /* wait for data */
210 uint_t so_rcv_wanted; /* # of bytes wanted by app */
211 timeout_id_t so_rcv_timer_tid;
216 kcondvar_t so_snd_cv; /* wait for snd buffers */
218 so_snd_qfull: 1, /* Transmit full */
219 so_rcv_wakeup: 1,
220 so_snd_wakeup: 1,
221 so_not_str: 1, /* B_TRUE if not streams based socket */
222 so_pad_to_bit_31: 28;
225 sock_lower_handle_t so_proto_handle;
226 sock_downcalls_t *so_downcalls;
228 struct sock_proto_props so_proto_props; /* protocol settings */
229 boolean_t so_flowctrld; /* Flow controlled */
230 uint_t so_copyflag; /* Copy related flag */
231 kcondvar_t so_copy_cv; /* Copy cond variable */
234 ksocket_callbacks_t so_ksock_callbacks;
235 void *so_ksock_cb_arg; /* callback argument */
236 kcondvar_t so_closing_cv;
239 struct sodirect_s *so_direct;
242 uint_t so_filter_active; /* # of active fil */
243 uint_t so_filter_tx; /* pending tx ops */
244 struct sof_instance *so_filter_top; /* top of stack */
245 struct sof_instance *so_filter_bottom; /* bottom of stack */
246 clock_t so_filter_defertime; /* time when deferred */