Lines Matching refs:socket
74 #include <sys/socket.h>
102 extern int soo_stat(struct socket *, void *, int);
119 struct socket *so;
125 int (*fsoreceive)(struct socket *so2, struct sockaddr **paddr,
129 if ((so = (struct socket *)fp->f_fglob->fg_data) == NULL) {
152 struct socket *so;
154 int (*fsosend)(struct socket *so2, struct sockaddr *addr,
163 if ((so = (struct socket *)fp->f_fglob->fg_data) == NULL) {
169 /* JMM - have to fetch the socket's remote addr */
179 /* Generation of SIGPIPE can be controlled per socket */
188 soioctl(struct socket *so, u_long cmd, caddr_t data, struct proc *p)
200 /* Call the socket filter's ioctl handler for most ioctls */
267 * Set socket level options here and then call protocol
270 struct socket *cloned_so = NULL;
282 /* Always set socket non-blocking for OT */
337 * different entry since a socket's unnecessary
363 struct socket *so;
367 if ((so = (struct socket *)fp->f_fglob->fg_data) == NULL) {
383 struct socket *so = (struct socket *)fp->f_fglob->fg_data;
387 if (so == NULL || so == (struct socket *)-1)
438 soo_stat(struct socket *so, void *ub, int isstat64)
493 struct socket *sp;
495 sp = (struct socket *)fg->fg_data;
508 struct socket *so = (struct socket *)fp->f_fglob->fg_data;