Deleted Added
full compact
socket.h (39114) socket.h (39271)
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.24 1998/02/01 22:44:16 alex Exp $
34 * $Id: socket.h,v 1.25 1998/09/12 21:14:25 wollman 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 */

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

122#define AF_IPX 23 /* Novell Internet Protocol */
123#define AF_SIP 24 /* Simple Internet Protocol */
124#define pseudo_AF_PIP 25 /* Help Identify PIP packets */
125#define AF_ISDN 26 /* Integrated Services Digital Network*/
126#define AF_E164 AF_ISDN /* CCITT E.164 recommendation */
127#define pseudo_AF_KEY 27 /* Internal key-management function */
128#define AF_INET6 28 /* IPv6 */
129#define AF_NATM 29 /* native ATM access */
35 */
36
37#ifndef _SYS_SOCKET_H_
38#define _SYS_SOCKET_H_
39
40/*
41 * Definitions related to sockets: types, address families, options.
42 */

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

122#define AF_IPX 23 /* Novell Internet Protocol */
123#define AF_SIP 24 /* Simple Internet Protocol */
124#define pseudo_AF_PIP 25 /* Help Identify PIP packets */
125#define AF_ISDN 26 /* Integrated Services Digital Network*/
126#define AF_E164 AF_ISDN /* CCITT E.164 recommendation */
127#define pseudo_AF_KEY 27 /* Internal key-management function */
128#define AF_INET6 28 /* IPv6 */
129#define AF_NATM 29 /* native ATM access */
130#define AF_ATM 30 /* ATM */
130
131
131#define AF_MAX 30
132#define AF_MAX 31
132
133/*
134 * Structure used by kernel to store most
135 * addresses.
136 */
137struct sockaddr {
138 u_char sa_len; /* total length */
139 u_char sa_family; /* address family */

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

180#define PF_SIP AF_SIP
181#define PF_IPX AF_IPX /* same format as AF_NS */
182#define PF_RTIP pseudo_AF_RTIP /* same format as AF_INET */
183#define PF_PIP pseudo_AF_PIP
184#define PF_ISDN AF_ISDN
185#define PF_KEY pseudo_AF_KEY
186#define PF_INET6 AF_INET6
187#define PF_NATM AF_NATM
133
134/*
135 * Structure used by kernel to store most
136 * addresses.
137 */
138struct sockaddr {
139 u_char sa_len; /* total length */
140 u_char sa_family; /* address family */

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

181#define PF_SIP AF_SIP
182#define PF_IPX AF_IPX /* same format as AF_NS */
183#define PF_RTIP pseudo_AF_RTIP /* same format as AF_INET */
184#define PF_PIP pseudo_AF_PIP
185#define PF_ISDN AF_ISDN
186#define PF_KEY pseudo_AF_KEY
187#define PF_INET6 AF_INET6
188#define PF_NATM AF_NATM
189#define PF_ATM AF_ATM
188
189#define PF_MAX AF_MAX
190
191/*
192 * Definitions for network related sysctl, CTL_NET.
193 *
194 * Second level is protocol family.
195 * Third level is protocol number.

--- 196 unchanged lines hidden ---
190
191#define PF_MAX AF_MAX
192
193/*
194 * Definitions for network related sysctl, CTL_NET.
195 *
196 * Second level is protocol family.
197 * Third level is protocol number.

--- 196 unchanged lines hidden ---