aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/ip.h
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1995-05-05 14:36:38 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1995-05-05 14:36:38 +0000
commit2ee32961f505c04c62d352ced1ce8a4159303b50 (patch)
tree3e9af8c45bf526e450089e53256e0eeae33df11c /sys/netinet/ip.h
parent884a677900834a62040d3d7922d6d21e0bd800ea (diff)
downloadsrc-2ee32961f505c04c62d352ced1ce8a4159303b50.tar.gz
src-2ee32961f505c04c62d352ced1ce8a4159303b50.zip
Add IPTOS_MINCOST according to RFC 1349
Change IPTOS_PREC_ROUTINE to 0 (was conflict with IPTOS_LOWDELAY) according to RFC 791 (unchanged since it) and BSDI 2.0 style Submitted by: Igor Sviridov <siac@ua.net>
Notes
Notes: svn path=/head/; revision=8293
Diffstat (limited to 'sys/netinet/ip.h')
-rw-r--r--sys/netinet/ip.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet/ip.h b/sys/netinet/ip.h
index 1ecb4483d2b7..d3e3517633e1 100644
--- a/sys/netinet/ip.h
+++ b/sys/netinet/ip.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ip.h 8.1 (Berkeley) 6/10/93
- * $Id: ip.h,v 1.2 1994/08/02 07:48:30 davidg Exp $
+ * $Id: ip.h,v 1.3 1994/08/21 05:27:30 paul Exp $
*/
#ifndef _NETINET_IP_H_
@@ -80,6 +80,7 @@ struct ip {
#define IPTOS_LOWDELAY 0x10
#define IPTOS_THROUGHPUT 0x08
#define IPTOS_RELIABILITY 0x04
+#define IPTOS_MINCOST 0x02
/*
* Definitions for IP precedence (also in ip_tos) (hopefully unused)
@@ -91,7 +92,7 @@ struct ip {
#define IPTOS_PREC_FLASH 0x60
#define IPTOS_PREC_IMMEDIATE 0x40
#define IPTOS_PREC_PRIORITY 0x20
-#define IPTOS_PREC_ROUTINE 0x10
+#define IPTOS_PREC_ROUTINE 0x00
/*
* Definitions for options.