Deleted Added
full compact
socket.h (24083) socket.h (25311)
1/*
2 * Copyright (c) 1982, 1985, 1986, 1988, 1993, 1994
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 * @(#)socket.h 8.4 (Berkeley) 2/21/94
1/*
2 * Copyright (c) 1982, 1985, 1986, 1988, 1993, 1994
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 * @(#)socket.h 8.4 (Berkeley) 2/21/94
34 * $Id: socket.h,v 1.17 1997/02/22 09:45:55 peter Exp $
34 * $Id: socket.h,v 1.18 1997/03/21 16:11:57 wpaul Exp $
35 */
36
37#ifndef _SYS_SOCKET_H_
38#define _SYS_SOCKET_H_
39
40/*
41 * Definitions related to sockets: types, address families, options.
42 */

--- 28 unchanged lines hidden (view full) ---

71#define SO_SNDBUF 0x1001 /* send buffer size */
72#define SO_RCVBUF 0x1002 /* receive buffer size */
73#define SO_SNDLOWAT 0x1003 /* send low-water mark */
74#define SO_RCVLOWAT 0x1004 /* receive low-water mark */
75#define SO_SNDTIMEO 0x1005 /* send timeout */
76#define SO_RCVTIMEO 0x1006 /* receive timeout */
77#define SO_ERROR 0x1007 /* get error status and clear */
78#define SO_TYPE 0x1008 /* get socket type */
35 */
36
37#ifndef _SYS_SOCKET_H_
38#define _SYS_SOCKET_H_
39
40/*
41 * Definitions related to sockets: types, address families, options.
42 */

--- 28 unchanged lines hidden (view full) ---

71#define SO_SNDBUF 0x1001 /* send buffer size */
72#define SO_RCVBUF 0x1002 /* receive buffer size */
73#define SO_SNDLOWAT 0x1003 /* send low-water mark */
74#define SO_RCVLOWAT 0x1004 /* receive low-water mark */
75#define SO_SNDTIMEO 0x1005 /* send timeout */
76#define SO_RCVTIMEO 0x1006 /* receive timeout */
77#define SO_ERROR 0x1007 /* get error status and clear */
78#define SO_TYPE 0x1008 /* get socket type */
79#define SO_PRIVSTATE 0x1009 /* get/deny privileged state */
79/*efine SO_PRIVSTATE 0x1009 get/deny privileged state */
80
81/*
82 * Structure used for manipulating linger option.
83 */
84struct linger {
85 int l_onoff; /* option on/off */
86 int l_linger; /* linger time */
87};

--- 293 unchanged lines hidden ---
80
81/*
82 * Structure used for manipulating linger option.
83 */
84struct linger {
85 int l_onoff; /* option on/off */
86 int l_linger; /* linger time */
87};

--- 293 unchanged lines hidden ---