summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/ip.h')
-rw-r--r--sys/netinet/ip.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/netinet/ip.h b/sys/netinet/ip.h
index 0b6f1b6..7f92ba7 100644
--- a/sys/netinet/ip.h
+++ b/sys/netinet/ip.h
@@ -89,6 +89,10 @@ struct ip {
#define IPTOS_THROUGHPUT 0x08
#define IPTOS_RELIABILITY 0x04
#define IPTOS_MINCOST 0x02
+/* ECN bits proposed by Sally Floyd */
+#define IPTOS_CE 0x01 /* congestion experienced */
+#define IPTOS_ECT 0x02 /* ECN-capable transport */
+
/*
* Definitions for IP precedence (also in ip_tos) (hopefully unused)
OpenPOWER on IntegriCloud