socketvar.h (2112) | socketvar.h (2165) |
---|---|
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.1 (Berkeley) 6/2/93 | 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.1 (Berkeley) 6/2/93 |
34 * $Id: socketvar.h,v 1.2 1994/08/02 07:53:36 davidg Exp $ | 34 * $Id: socketvar.h,v 1.3 1994/08/18 22:35:45 wollman Exp $ |
35 */ 36 | 35 */ 36 |
37#ifndef _SYS_SOCKETVAR_H_ 38#define _SYS_SOCKETVAR_H_ 39 |
|
37#include <sys/select.h> /* for struct selinfo */ 38 39/* 40 * Kernel structure per socket. 41 * Contains send and receive buffer queues, 42 * handle on protocol and pointer to protocol 43 * private data and error information. 44 */ --- 156 unchanged lines hidden (view full) --- 201 * File operations on sockets. 202 */ 203int soo_read __P((struct file *fp, struct uio *uio, struct ucred *cred)); 204int soo_write __P((struct file *fp, struct uio *uio, struct ucred *cred)); 205int soo_ioctl __P((struct file *fp, int com, caddr_t data, struct proc *p)); 206int soo_select __P((struct file *fp, int which, struct proc *p)); 207int soo_close __P((struct file *fp, struct proc *p)); 208#endif | 40#include <sys/select.h> /* for struct selinfo */ 41 42/* 43 * Kernel structure per socket. 44 * Contains send and receive buffer queues, 45 * handle on protocol and pointer to protocol 46 * private data and error information. 47 */ --- 156 unchanged lines hidden (view full) --- 204 * File operations on sockets. 205 */ 206int soo_read __P((struct file *fp, struct uio *uio, struct ucred *cred)); 207int soo_write __P((struct file *fp, struct uio *uio, struct ucred *cred)); 208int soo_ioctl __P((struct file *fp, int com, caddr_t data, struct proc *p)); 209int soo_select __P((struct file *fp, int which, struct proc *p)); 210int soo_close __P((struct file *fp, struct proc *p)); 211#endif |
212 213#endif |
|