netdev
[Top] [All Lists]

Re: IPTOS_LOWDELAY in netinet/ip.h is incorrect??

To: greearb@xxxxxxxxxxxxxxx
Subject: Re: IPTOS_LOWDELAY in netinet/ip.h is incorrect??
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Mon, 13 Aug 2001 08:46:38 -0700 (PDT)
Cc: linux-net@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <3B77F5B8.B43EA7CD@xxxxxxxxxxxxxxx>
References: <3B7748B0.C897121A@xxxxxxxxxxxxxxx> <20010813.071436.74751236.davem@xxxxxxxxxx> <3B77F5B8.B43EA7CD@xxxxxxxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
   From: Ben Greear <greearb@xxxxxxxxxxxxxxx>
   Date: Mon, 13 Aug 2001 08:43:52 -0700

   I wasn't passing values to setsockopt in network byte order, but
   it doesn't look like I should:  Do you agree?

Ummm... "byte order" doesn't matter when you're passing in
just a byte. :-)

As for examples of programs which set a specific TOS, you might
want to look into the sources of obscure unknown programs such
as telnet et al.

Later,
David S. Miller
davem@xxxxxxxxxx

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