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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andi Kleen wrote:
> 
> On Mon, Aug 13, 2001 at 08:43:52AM -0700, Ben Greear wrote:
> > Also, from doing a google search on setsockopt and IP_TOS, I was able
> > to find exactly zero pieces of source code that do this, so I may be
> > the first one to every try it :)
> 
> A search for IP_TOS on http://www.codecatalog.com will give you 54hits,
> and it is missing a lot of stuff. For example sshd has a long standing
> bug where it enables high priority TOS when $DISPLAY is set, which causes
> rsync over ssh to kill your lines badly when run from X.

Ahh, found an example in the mysql code:

http://www.codecatalog.com/showFile.html?project=mysql&version=3.23.21-beta&fileid=193180&startline=264&endline=284&line=274

They use an integer instead of a byte and no htonl, so my code should
be close to correct (or broken in the same manner, at least!)...

Thanks for the search site...

Ben

> 
> -Andi

-- 
Ben Greear <greearb@candelatech.com>          <Ben_Greear@excite.com>
President of Candela Technologies Inc      http://www.candelatech.com
ScryMUD:  http://scry.wanfear.com     http://scry.wanfear.com/~greear
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux