Deleted Added
full compact
socket.h (260804) socket.h (262489)
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 260804 2014-01-17 05:13:08Z adrian $
30 * $FreeBSD: head/sys/sys/socket.h 262489 2014-02-25 18:44:33Z jhb $
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>

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

371#define PF_MAX AF_MAX
372
373/*
374 * Definitions for network related sysctl, CTL_NET.
375 *
376 * Second level is protocol family.
377 * Third level is protocol number.
378 *
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>

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

371#define PF_MAX AF_MAX
372
373/*
374 * Definitions for network related sysctl, CTL_NET.
375 *
376 * Second level is protocol family.
377 * Third level is protocol number.
378 *
379 * Further levels are defined by the individual families below.
379 * Further levels are defined by the individual families.
380 */
380 */
381#define NET_MAXID AF_MAX
382
383/*
384 * PF_ROUTE - Routing table
385 *
386 * Three additional levels are defined:
387 * Fourth: address family, 0 is wildcard
388 * Fifth: type of info, defined below
389 * Sixth: flag(s) to mask with for NET_RT_FLAGS
390 */
391#define NET_RT_DUMP 1 /* dump; may limit to a.f. */
392#define NET_RT_FLAGS 2 /* by flags, e.g. RESOLVING */
393#define NET_RT_IFLIST 3 /* survey interface list */
394#define NET_RT_IFMALIST 4 /* return multicast address list */
395#define NET_RT_IFLISTL 5 /* Survey interface list, using 'l'en
396 * versions of msghdr structs. */
381
382/*
383 * PF_ROUTE - Routing table
384 *
385 * Three additional levels are defined:
386 * Fourth: address family, 0 is wildcard
387 * Fifth: type of info, defined below
388 * Sixth: flag(s) to mask with for NET_RT_FLAGS
389 */
390#define NET_RT_DUMP 1 /* dump; may limit to a.f. */
391#define NET_RT_FLAGS 2 /* by flags, e.g. RESOLVING */
392#define NET_RT_IFLIST 3 /* survey interface list */
393#define NET_RT_IFMALIST 4 /* return multicast address list */
394#define NET_RT_IFLISTL 5 /* Survey interface list, using 'l'en
395 * versions of msghdr structs. */
397#define NET_RT_MAXID 6
398
399#endif /* __BSD_VISIBLE */
400
401/*
402 * Maximum queue length specifiable by listen.
403 */
404#define SOMAXCONN 128
405
406/*

--- 285 unchanged lines hidden ---
396#endif /* __BSD_VISIBLE */
397
398/*
399 * Maximum queue length specifiable by listen.
400 */
401#define SOMAXCONN 128
402
403/*

--- 285 unchanged lines hidden ---