netdev
[Top] [All Lists]

Re: [INET] Create enum of ECN bits

To: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [INET] Create enum of ECN bits
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Thu, 22 Jul 2004 12:22:38 -0700
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20040722120021.GA18293@gondor.apana.org.au>
References: <20040722120021.GA18293@gondor.apana.org.au>
Sender: netdev-bounce@xxxxxxxxxxx
On Thu, 22 Jul 2004 22:00:21 +1000
Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:

> This patch is a preparation for an update of the ECN encap/decap
> code with respect to RFC3168.
> 
> It creates an enum of the four code-points defined by RFC3168
> and uses them throughout the inet_ecn.h file.
> 
> The only non-trivial bit is in IP_ECN_set_ce/IP6_ECN_set_ce where
> the patch uses INET_ECN_CE instead of 1.  This is OK as those
> functions assume that the ECT bit is already set.

Looks great, applied.

<Prev in Thread] Current Thread [Next in Thread>