[INET_ECN]: Add INET_ECN_* enumeration from 2.6.x

Linux Kernel Mailing List <[email protected]>
Newsgroups gmane.linux.kernel.commits.2-4
Message-ID <[email protected]>
ChangeSet 1.1562, 2005/01/14 14:28:20-08:00, [email protected]

	[INET_ECN]: Add INET_ECN_* enumeration from 2.6.x
	
	Signed-off-by: David S. Miller <[email protected]>



 inet_ecn.h |    8 ++++++++
 1 files changed, 8 insertions(+)


diff -Nru a/include/net/inet_ecn.h b/include/net/inet_ecn.h
--- a/include/net/inet_ecn.h	2005-01-15 07:06:46 -08:00
+++ b/include/net/inet_ecn.h	2005-01-15 07:06:46 -08:00
@@ -1,6 +1,14 @@
 #ifndef _INET_ECN_H_
 #define _INET_ECN_H_
 
+enum {
+	INET_ECN_NOT_ECT = 0,
+	INET_ECN_ECT_1 = 1,
+	INET_ECN_ECT_0 = 2,
+	INET_ECN_CE = 3,
+	INET_ECN_MASK = 3,
+};
+
 static inline int INET_ECN_is_ce(__u8 dsfield)
 {
 	return (dsfield&3) == 3;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.