Deleted Added
full compact
ip.h (50477) ip.h (55009)
1/*
2 * Copyright (c) 1982, 1986, 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

--- 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 * @(#)ip.h 8.2 (Berkeley) 6/1/94
1/*
2 * Copyright (c) 1982, 1986, 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

--- 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 * @(#)ip.h 8.2 (Berkeley) 6/1/94
34 * $FreeBSD: head/sys/netinet/ip.h 50477 1999-08-28 01:08:13Z peter $
34 * $FreeBSD: head/sys/netinet/ip.h 55009 1999-12-22 19:13:38Z shin $
35 */
36
37#ifndef _NETINET_IP_H_
38#define _NETINET_IP_H_
39
40/*
41 * Definitions for internet protocol version 4.
42 * Per RFC 791, September 1981.

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

84
85/*
86 * Definitions for IP type of service (ip_tos)
87 */
88#define IPTOS_LOWDELAY 0x10
89#define IPTOS_THROUGHPUT 0x08
90#define IPTOS_RELIABILITY 0x04
91#define IPTOS_MINCOST 0x02
35 */
36
37#ifndef _NETINET_IP_H_
38#define _NETINET_IP_H_
39
40/*
41 * Definitions for internet protocol version 4.
42 * Per RFC 791, September 1981.

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

84
85/*
86 * Definitions for IP type of service (ip_tos)
87 */
88#define IPTOS_LOWDELAY 0x10
89#define IPTOS_THROUGHPUT 0x08
90#define IPTOS_RELIABILITY 0x04
91#define IPTOS_MINCOST 0x02
92/* ECN bits proposed by Sally Floyd */
93#define IPTOS_CE 0x01 /* congestion experienced */
94#define IPTOS_ECT 0x02 /* ECN-capable transport */
92
95
96
93/*
94 * Definitions for IP precedence (also in ip_tos) (hopefully unused)
95 */
96#define IPTOS_PREC_NETCONTROL 0xe0
97#define IPTOS_PREC_INTERNETCONTROL 0xc0
98#define IPTOS_PREC_CRITIC_ECP 0xa0
99#define IPTOS_PREC_FLASHOVERRIDE 0x80
100#define IPTOS_PREC_FLASH 0x60

--- 84 unchanged lines hidden ---
97/*
98 * Definitions for IP precedence (also in ip_tos) (hopefully unused)
99 */
100#define IPTOS_PREC_NETCONTROL 0xe0
101#define IPTOS_PREC_INTERNETCONTROL 0xc0
102#define IPTOS_PREC_CRITIC_ECP 0xa0
103#define IPTOS_PREC_FLASHOVERRIDE 0x80
104#define IPTOS_PREC_FLASH 0x60

--- 84 unchanged lines hidden ---