socketvar.h (43512) | socketvar.h (45311) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)socketvar.h 8.3 (Berkeley) 2/19/95 | 1/*- 2 * Copyright (c) 1982, 1986, 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)socketvar.h 8.3 (Berkeley) 2/19/95 |
34 * $Id: socketvar.h,v 1.35 1999/01/31 09:40:14 bde Exp $ | 34 * $Id: socketvar.h,v 1.36 1999/02/01 21:16:31 newton Exp $ |
35 */ 36 37#ifndef _SYS_SOCKETVAR_H_ 38#define _SYS_SOCKETVAR_H_ 39 40#include <sys/queue.h> /* for TAILQ macros */ 41#include <sys/select.h> /* for struct selinfo */ 42 --- 239 unchanged lines hidden (view full) --- 282struct sockaddr; 283struct stat; 284struct ucred; 285struct uio; 286 287/* 288 * File operations on sockets. 289 */ | 35 */ 36 37#ifndef _SYS_SOCKETVAR_H_ 38#define _SYS_SOCKETVAR_H_ 39 40#include <sys/queue.h> /* for TAILQ macros */ 41#include <sys/select.h> /* for struct selinfo */ 42 --- 239 unchanged lines hidden (view full) --- 282struct sockaddr; 283struct stat; 284struct ucred; 285struct uio; 286 287/* 288 * File operations on sockets. 289 */ |
290int soo_read __P((struct file *fp, struct uio *uio, struct ucred *cred)); 291int soo_write __P((struct file *fp, struct uio *uio, struct ucred *cred)); | 290int soo_read __P((struct file *fp, struct uio *uio, struct ucred *cred, 291 int flags)); 292int soo_write __P((struct file *fp, struct uio *uio, struct ucred *cred, 293 int flags)); |
292int soo_close __P((struct file *fp, struct proc *p)); 293int soo_ioctl __P((struct file *fp, u_long cmd, caddr_t data, 294 struct proc *p)); 295int soo_poll __P((struct file *fp, int events, struct ucred *cred, 296 struct proc *p)); 297int soo_stat __P((struct socket *so, struct stat *ub)); 298 299/* --- 71 unchanged lines hidden --- | 294int soo_close __P((struct file *fp, struct proc *p)); 295int soo_ioctl __P((struct file *fp, u_long cmd, caddr_t data, 296 struct proc *p)); 297int soo_poll __P((struct file *fp, int events, struct ucred *cred, 298 struct proc *p)); 299int soo_stat __P((struct socket *so, struct stat *ub)); 300 301/* --- 71 unchanged lines hidden --- |