gionnico wrote:
 
>> My router lets me use the ToS.
>> I have to set a number from 0 to 63 to which give a higher priority.
>> What are the "numbers" used by gtk-gnutella?

On 27 Dec 2007, [EMAIL PROTECTED] wrote:

> I don't know whether your router's "ToS" refers to IP
> Type-Of-Service but there are only 6 defined TOS values for
> IP. gtk-gnutella uses 0x00 (normal), 0x08 (throughput), 0x10 (low
> delay).

There are two types of "ToS" [not really there is only one in the
pedantic sense].  There is the traditional bit fields that are named
"Type-Of-Service".  The router in question might be referring to DSCP
which is differentiated services code points.  These are documented in
a new (circa 1999) standard (RFC 2474).

 http://www.ietf.org/rfc/rfc2474.txt

The DSCP uses six of the eight TOS bits and uses the other two to
discriminate between a traditional field and the new one.  Some kernels
support this and will map the traditional TOS fields to the DSCP bits
(which the router in question seems to want).

This page may also be helpful,

 http://gtk-gnutella.sourceforge.net/manual/linux_traffic_shaping.html

Here is the relevant text,

    Uploads use "maximum throughput", Downloads use "low-delay" and
    other traffic is normal service.

There are definitely modules that will map these values to the DSCP
values (in kernel) and the router in question can use these values.
On Linux, there is probably a /proc/net entry that will switch from
traditional to DSCP values.

hth,
Bill Pringlemeir.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gtk-gnutella-devel mailing list
gtk-gnutella-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to