On 6/22/06, James Morris <[EMAIL PROTECTED]> wrote:
On Thu, 22 Jun 2006, Kelly Daly wrote:

> +     switch (bp->netchan_buf_proto) {
> +     case __constant_htons(ETH_P_IP): {

__constant_htons and friends should not be used in runtime code, only for
data being initialized at compile time.

... because they generate the same code, so, to make source code less
cluttered  ... :-)

- Arnaldo
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to