Deleted Added
full compact
in.h (139823) in.h (142215)
1/*-
2 * Copyright (c) 1982, 1986, 1990, 1993
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 * @(#)in.h 8.3 (Berkeley) 1/3/94
1/*-
2 * Copyright (c) 1982, 1986, 1990, 1993
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 * @(#)in.h 8.3 (Berkeley) 1/3/94
30 * $FreeBSD: head/sys/netinet/in.h 139823 2005-01-07 01:45:51Z imp $
30 * $FreeBSD: head/sys/netinet/in.h 142215 2005-02-22 13:04:05Z glebius $
31 */
32
33#ifndef _NETINET_IN_H_
34#define _NETINET_IN_H_
35
36#include <sys/cdefs.h>
37#include <sys/_types.h>
38#include <machine/endian.h>

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

225#define IPPROTO_SCCSP 96 /* Semaphore Comm. security */
226#define IPPROTO_ETHERIP 97 /* Ethernet IP encapsulation */
227#define IPPROTO_ENCAP 98 /* encapsulation header */
228#define IPPROTO_APES 99 /* any private encr. scheme */
229#define IPPROTO_GMTP 100 /* GMTP*/
230#define IPPROTO_IPCOMP 108 /* payload compression (IPComp) */
231/* 101-254: Partly Unassigned */
232#define IPPROTO_PIM 103 /* Protocol Independent Mcast */
31 */
32
33#ifndef _NETINET_IN_H_
34#define _NETINET_IN_H_
35
36#include <sys/cdefs.h>
37#include <sys/_types.h>
38#include <machine/endian.h>

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

225#define IPPROTO_SCCSP 96 /* Semaphore Comm. security */
226#define IPPROTO_ETHERIP 97 /* Ethernet IP encapsulation */
227#define IPPROTO_ENCAP 98 /* encapsulation header */
228#define IPPROTO_APES 99 /* any private encr. scheme */
229#define IPPROTO_GMTP 100 /* GMTP*/
230#define IPPROTO_IPCOMP 108 /* payload compression (IPComp) */
231/* 101-254: Partly Unassigned */
232#define IPPROTO_PIM 103 /* Protocol Independent Mcast */
233#define IPPROTO_CARP 112 /* CARP */
233#define IPPROTO_PGM 113 /* PGM */
234#define IPPROTO_PFSYNC 240 /* PFSYNC */
235/* 255: Reserved */
236/* BSD Private, local use, namespace incursion, no longer used */
237#define IPPROTO_OLD_DIVERT 254 /* OLD divert pseudo-proto */
238#define IPPROTO_MAX 256
239
240/* last return value of *_input(), meaning "all job for this pkt is done". */

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

352#define INADDR_LOOPBACK (u_int32_t)0x7f000001
353#ifndef _KERNEL
354#define INADDR_NONE 0xffffffff /* -1 return */
355#endif
356
357#define INADDR_UNSPEC_GROUP (u_int32_t)0xe0000000 /* 224.0.0.0 */
358#define INADDR_ALLHOSTS_GROUP (u_int32_t)0xe0000001 /* 224.0.0.1 */
359#define INADDR_ALLRTRS_GROUP (u_int32_t)0xe0000002 /* 224.0.0.2 */
234#define IPPROTO_PGM 113 /* PGM */
235#define IPPROTO_PFSYNC 240 /* PFSYNC */
236/* 255: Reserved */
237/* BSD Private, local use, namespace incursion, no longer used */
238#define IPPROTO_OLD_DIVERT 254 /* OLD divert pseudo-proto */
239#define IPPROTO_MAX 256
240
241/* last return value of *_input(), meaning "all job for this pkt is done". */

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

353#define INADDR_LOOPBACK (u_int32_t)0x7f000001
354#ifndef _KERNEL
355#define INADDR_NONE 0xffffffff /* -1 return */
356#endif
357
358#define INADDR_UNSPEC_GROUP (u_int32_t)0xe0000000 /* 224.0.0.0 */
359#define INADDR_ALLHOSTS_GROUP (u_int32_t)0xe0000001 /* 224.0.0.1 */
360#define INADDR_ALLRTRS_GROUP (u_int32_t)0xe0000002 /* 224.0.0.2 */
361#define INADDR_CARP_GROUP (u_int32_t)0xe0000012 /* 224.0.0.18 */
360#define INADDR_PFSYNC_GROUP (u_int32_t)0xe00000f0 /* 224.0.0.240 */
361#define INADDR_ALLMDNS_GROUP (u_int32_t)0xe00000fb /* 224.0.0.251 */
362#define INADDR_MAX_LOCAL_GROUP (u_int32_t)0xe00000ff /* 224.0.0.255 */
363
364#define IN_LOOPBACKNET 127 /* official! */
365
366/*
367 * Options for use with [gs]etsockopt at the IP level.

--- 222 unchanged lines hidden ---
362#define INADDR_PFSYNC_GROUP (u_int32_t)0xe00000f0 /* 224.0.0.240 */
363#define INADDR_ALLMDNS_GROUP (u_int32_t)0xe00000fb /* 224.0.0.251 */
364#define INADDR_MAX_LOCAL_GROUP (u_int32_t)0xe00000ff /* 224.0.0.255 */
365
366#define IN_LOOPBACKNET 127 /* official! */
367
368/*
369 * Options for use with [gs]etsockopt at the IP level.

--- 222 unchanged lines hidden ---