+
+/*
+ * Operations on sockets.
+ */
+struct file;
+int soo_read __P(( /* read a socket into a uio structure */
+ struct file *fp,
+ struct uio *uio,
+ struct ucred *cred));
+int soo_write __P(( /* write socket from a uio structure */
+ struct file *fp,
+ struct uio *uio,
+ struct ucred *cred));
+int soo_ioctl __P(( /* do an ioctl operation on a socket */
+ struct file *fp,
+ int com,
+ caddr_t data,
+ struct proc *p));
+int soo_select __P(( /* do a select operation on a socket */
+ struct file *fp,
+ int which,
+ struct proc *p));
+int soo_close __P(( /* close socket */
+ struct file *fp,
+ struct proc *p));