Deleted Added
full compact
socket.h (74660) socket.h (75458)
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 74660 2001-03-22 20:43:13Z alfred $
34 * $FreeBSD: head/sys/sys/socket.h 75458 2001-04-13 03:50:37Z alfred $
35 */
36
37#ifndef _SYS_SOCKET_H_
38#define _SYS_SOCKET_H_
39
40#include <machine/ansi.h>
41#define _NO_NAMESPACE_POLLUTION
42#include <machine/param.h>

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

296 { "dump", CTLTYPE_STRUCT }, \
297 { "flags", CTLTYPE_STRUCT }, \
298 { "iflist", CTLTYPE_STRUCT }, \
299}
300
301/*
302 * Maximum queue length specifiable by listen.
303 */
35 */
36
37#ifndef _SYS_SOCKET_H_
38#define _SYS_SOCKET_H_
39
40#include <machine/ansi.h>
41#define _NO_NAMESPACE_POLLUTION
42#include <machine/param.h>

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

296 { "dump", CTLTYPE_STRUCT }, \
297 { "flags", CTLTYPE_STRUCT }, \
298 { "iflist", CTLTYPE_STRUCT }, \
299}
300
301/*
302 * Maximum queue length specifiable by listen.
303 */
304#ifndef SOMAXCONN
304#define SOMAXCONN 128
305#define SOMAXCONN 128
306#endif
305
306/*
307 * Message header for recvmsg and sendmsg calls.
308 * Used value-result for recvmsg, value only for sendmsg.
309 */
310struct msghdr {
311 void *msg_name; /* optional address */
312 socklen_t msg_namelen; /* size of address */

--- 144 unchanged lines hidden ---
307
308/*
309 * Message header for recvmsg and sendmsg calls.
310 * Used value-result for recvmsg, value only for sendmsg.
311 */
312struct msghdr {
313 void *msg_name; /* optional address */
314 socklen_t msg_namelen; /* size of address */

--- 144 unchanged lines hidden ---