Deleted Added
full compact
socket.h (220742) socket.h (231505)
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

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

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)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

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

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)socket.h 8.4 (Berkeley) 2/21/94
30 * $FreeBSD: head/sys/sys/socket.h 220742 2011-04-17 16:04:39Z jilles $
30 * $FreeBSD: head/sys/sys/socket.h 231505 2012-02-11 06:02:16Z bz $
31 */
32
33#ifndef _SYS_SOCKET_H_
34#define _SYS_SOCKET_H_
35
36#include <sys/cdefs.h>
37#include <sys/_types.h>
38#include <sys/_iovec.h>

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

391 * Fourth: address family, 0 is wildcard
392 * Fifth: type of info, defined below
393 * Sixth: flag(s) to mask with for NET_RT_FLAGS
394 */
395#define NET_RT_DUMP 1 /* dump; may limit to a.f. */
396#define NET_RT_FLAGS 2 /* by flags, e.g. RESOLVING */
397#define NET_RT_IFLIST 3 /* survey interface list */
398#define NET_RT_IFMALIST 4 /* return multicast address list */
31 */
32
33#ifndef _SYS_SOCKET_H_
34#define _SYS_SOCKET_H_
35
36#include <sys/cdefs.h>
37#include <sys/_types.h>
38#include <sys/_iovec.h>

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

391 * Fourth: address family, 0 is wildcard
392 * Fifth: type of info, defined below
393 * Sixth: flag(s) to mask with for NET_RT_FLAGS
394 */
395#define NET_RT_DUMP 1 /* dump; may limit to a.f. */
396#define NET_RT_FLAGS 2 /* by flags, e.g. RESOLVING */
397#define NET_RT_IFLIST 3 /* survey interface list */
398#define NET_RT_IFMALIST 4 /* return multicast address list */
399#define NET_RT_MAXID 5
399#define NET_RT_IFLISTL 5 /* Survey interface list, using 'l'en
400 * versions of msghdr structs. */
401#define NET_RT_MAXID 6
400
401#define CTL_NET_RT_NAMES { \
402 { 0, 0 }, \
403 { "dump", CTLTYPE_STRUCT }, \
404 { "flags", CTLTYPE_STRUCT }, \
405 { "iflist", CTLTYPE_STRUCT }, \
406 { "ifmalist", CTLTYPE_STRUCT }, \
402
403#define CTL_NET_RT_NAMES { \
404 { 0, 0 }, \
405 { "dump", CTLTYPE_STRUCT }, \
406 { "flags", CTLTYPE_STRUCT }, \
407 { "iflist", CTLTYPE_STRUCT }, \
408 { "ifmalist", CTLTYPE_STRUCT }, \
409 { "iflist2", CTLTYPE_STRUCT }, \
407}
408#endif /* __BSD_VISIBLE */
409
410/*
411 * Maximum queue length specifiable by listen.
412 */
413#define SOMAXCONN 128
414

--- 257 unchanged lines hidden ---
410}
411#endif /* __BSD_VISIBLE */
412
413/*
414 * Maximum queue length specifiable by listen.
415 */
416#define SOMAXCONN 128
417

--- 257 unchanged lines hidden ---