Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removed duplicated definitions

  • Loading branch information...
commit 9bc6ad910b90d9091e3c2522b2522e7f91454878 1 parent 35d4f93
suz authored
Showing with 0 additions and 20 deletions.
  1. +0 −10 freebsd4/sys/netinet/ip.h
  2. +0 −10 freebsd5/sys/netinet/ip.h
View
10 freebsd4/sys/netinet/ip.h
@@ -118,16 +118,6 @@ struct ip {
#define IPTOS_ECN_MASK 0x03 /* ECN field mask */
/*
- * ECN (Explicit Congestion Notification) codepoints in RFC3168
- * mapped to the lower 2 bits of the TOS field.
- */
-#define IPTOS_ECN_NOTECT 0x00 /* not-ECT */
-#define IPTOS_ECN_ECT1 0x01 /* ECN-capable transport (1) */
-#define IPTOS_ECN_ECT0 0x02 /* ECN-capable transport (0) */
-#define IPTOS_ECN_CE 0x03 /* congestion experienced */
-#define IPTOS_ECN_MASK 0x03 /* ECN field mask */
-
-/*
* Definitions for options.
*/
#define IPOPT_COPIED(o) ((o)&0x80)
View
10 freebsd5/sys/netinet/ip.h
@@ -111,16 +111,6 @@ CTASSERT(sizeof (struct ip) == 20);
#define IPTOS_ECN_MASK 0x03 /* ECN field mask */
/*
- * ECN (Explicit Congestion Notification) codepoints in RFC3168
- * mapped to the lower 2 bits of the TOS field.
- */
-#define IPTOS_ECN_NOTECT 0x00 /* not-ECT */
-#define IPTOS_ECN_ECT1 0x01 /* ECN-capable transport (1) */
-#define IPTOS_ECN_ECT0 0x02 /* ECN-capable transport (0) */
-#define IPTOS_ECN_CE 0x03 /* congestion experienced */
-#define IPTOS_ECN_MASK 0x03 /* ECN field mask */
-
-/*
* Definitions for options.
*/
#define IPOPT_COPIED(o) ((o)&0x80)
Please sign in to comment.
Something went wrong with that request. Please try again.