ip.h (169466) | ip.h (172800) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1993 3 * The Regents of the University of California. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 14 unchanged lines hidden (view full) --- 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * 30 * @(#)ip.h 8.2 (Berkeley) 6/1/94 | 1/*- 2 * Copyright (c) 1982, 1986, 1993 3 * The Regents of the University of California. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 14 unchanged lines hidden (view full) --- 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * 30 * @(#)ip.h 8.2 (Berkeley) 6/1/94 |
31 * $FreeBSD: head/sys/netinet/ip.h 169466 2007-05-11 11:00:48Z rwatson $ | 31 * $FreeBSD: head/sys/netinet/ip.h 172800 2007-10-19 12:46:15Z rpaulo $ |
32 */ 33 34#ifndef _NETINET_IP_H_ 35#define _NETINET_IP_H_ 36 37#include <sys/cdefs.h> 38 39/* --- 37 unchanged lines hidden (view full) --- 77 78/* 79 * Definitions for IP type of service (ip_tos). 80 */ 81#define IPTOS_LOWDELAY 0x10 82#define IPTOS_THROUGHPUT 0x08 83#define IPTOS_RELIABILITY 0x04 84#define IPTOS_MINCOST 0x02 | 32 */ 33 34#ifndef _NETINET_IP_H_ 35#define _NETINET_IP_H_ 36 37#include <sys/cdefs.h> 38 39/* --- 37 unchanged lines hidden (view full) --- 77 78/* 79 * Definitions for IP type of service (ip_tos). 80 */ 81#define IPTOS_LOWDELAY 0x10 82#define IPTOS_THROUGHPUT 0x08 83#define IPTOS_RELIABILITY 0x04 84#define IPTOS_MINCOST 0x02 |
85#if 1 86/* ECN RFC3168 obsoletes RFC2481, and these will be deprecated soon. */ 87#define IPTOS_CE 0x01 88#define IPTOS_ECT 0x02 89#endif | |
90 91/* 92 * Definitions for IP precedence (also in ip_tos) (hopefully unused). 93 */ 94#define IPTOS_PREC_NETCONTROL 0xe0 95#define IPTOS_PREC_INTERNETCONTROL 0xc0 96#define IPTOS_PREC_CRITIC_ECP 0xa0 97#define IPTOS_PREC_FLASHOVERRIDE 0x80 --- 108 unchanged lines hidden --- | 85 86/* 87 * Definitions for IP precedence (also in ip_tos) (hopefully unused). 88 */ 89#define IPTOS_PREC_NETCONTROL 0xe0 90#define IPTOS_PREC_INTERNETCONTROL 0xc0 91#define IPTOS_PREC_CRITIC_ECP 0xa0 92#define IPTOS_PREC_FLASHOVERRIDE 0x80 --- 108 unchanged lines hidden --- |