summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip.h
diff options
context:
space:
mode:
authorshin <shin@FreeBSD.org>1999-12-22 19:13:38 +0000
committershin <shin@FreeBSD.org>1999-12-22 19:13:38 +0000
commit50ba589c666f7d356304339b9cfc7fc9d173ad8d (patch)
tree46d6ae7c9680a93ce1c3a13378cef283df9f6544 /sys/netinet/ip.h
parente396740391e7e60805bda6799ac3397d1fc8c539 (diff)
downloadFreeBSD-src-50ba589c666f7d356304339b9cfc7fc9d173ad8d.zip
FreeBSD-src-50ba589c666f7d356304339b9cfc7fc9d173ad8d.tar.gz
IPSEC support in the kernel.
pr_input() routines prototype is also changed to support IPSEC and IPV6 chained protocol headers. Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
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