Deleted Added
full compact
socket.h (72510) socket.h (72554)
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 * $FreeBSD: head/sys/sys/socket.h 72510 2001-02-15 10:35:55Z ume $
34 * $FreeBSD: head/sys/sys/socket.h 72554 2001-02-17 03:49:24Z bde $
35 */
36
37#ifndef _SYS_SOCKET_H_
38#define _SYS_SOCKET_H_
39
35 */
36
37#ifndef _SYS_SOCKET_H_
38#define _SYS_SOCKET_H_
39
40#include <machine/ansi.h>
40#define _NO_NAMESPACE_POLLUTION
41#include <machine/param.h>
42#undef _NO_NAMESPACE_POLLUTION
43
44/*
45 * Definitions related to sockets: types, address families, options.
46 */
47
48/*
49 * Data types.
50 */
41#define _NO_NAMESPACE_POLLUTION
42#include <machine/param.h>
43#undef _NO_NAMESPACE_POLLUTION
44
45/*
46 * Definitions related to sockets: types, address families, options.
47 */
48
49/*
50 * Data types.
51 */
51#include <machine/ansi.h>
52
53typedef u_char sa_family_t;
54#ifdef _BSD_SOCKLEN_T_
55typedef _BSD_SOCKLEN_T_ socklen_t;
56#undef _BSD_SOCKLEN_T_
57#endif
58
59/*
60 * Types

--- 397 unchanged lines hidden ---
52typedef u_char sa_family_t;
53#ifdef _BSD_SOCKLEN_T_
54typedef _BSD_SOCKLEN_T_ socklen_t;
55#undef _BSD_SOCKLEN_T_
56#endif
57
58/*
59 * Types

--- 397 unchanged lines hidden ---