- To: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: [SLUG] Priority of network traffic
- From: James Morris <jmorris@xxxxxxxxxxxxxxxx>
- Date: Thu Jul 13 14:40:50 2000
- Cc: "Marshall, Joshua" <MarshallJ@xxxxxxxxxxxxxxx>, slug@xxxxxxxxxxx
On Thu, 13 Jul 2000, Herbert Xu wrote:
> On Thu, Jul 13, 2000 at 01:56:40PM +1000, Marshall, Joshua wrote:
> >
> > Is there a list of TOS flags that I can set it to?
>
> /usr/include/linux/ip.h:
>
> #define IPTOS_LOWDELAY 0x10
> #define IPTOS_THROUGHPUT 0x08
> #define IPTOS_RELIABILITY 0x04
> #define IPTOS_MINCOST 0x02
The easiest way to do this is as per the IPchains HOWTO, see the section
'Manipulating the Type of Service' at
http://www.linux.org.au/LDP/HOWTO/IPCHAINS-HOWTO-4.html
- James
--
James Morris
<jmorris@xxxxxxxxxxxxxxxx>