summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip.h
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-05-05 14:36:38 +0000
committerache <ache@FreeBSD.org>1995-05-05 14:36:38 +0000
commitd9ea51f5f015648aa36844e91f7f13f93851c419 (patch)
tree3e9af8c45bf526e450089e53256e0eeae33df11c /sys/netinet/ip.h
parent794606466078eb131cee5f176f9d0d8bef1562c0 (diff)
downloadFreeBSD-src-d9ea51f5f015648aa36844e91f7f13f93851c419.zip
FreeBSD-src-d9ea51f5f015648aa36844e91f7f13f93851c419.tar.gz
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>
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 1ecb448..d3e3517 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.
OpenPOWER on IntegriCloud