login
Header Space

 
 

Re: setting dscp or tos bits

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Newman <dnewman@...>
Cc: OpenBSD <misc@...>
Date: Tuesday, August 21, 2007 - 10:31 pm

On a related note, I work with some equipment that uses TOS values and
some that uses DSCP.

When you see a TOS value in tcpdump (0x68 for instance) just divide by 4
to get the DSCP (and throw away any remainder.)  The DSCP value uses the same
field in the IP packet as TOS, but ignores the last bits.  So, DSCP to TOS
is simply multiply by 4 (and convert to hex)

David Newman [dnewman@networktest.com] wrote:

-- 
"I'm a conservative liberal - and not afraid of calling myself one either.
Both parties can take their anti-constitutional activity and shove it up my
fat american ass." - Be More Social (kuro5hin.org troll)
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
setting dscp or tos bits, David Newman, (Tue Aug 21, 3:33 pm)
Re: setting dscp or tos bits, Henning Brauer, (Wed Aug 22, 8:22 am)
Re: setting dscp or tos bits, David Newman, (Wed Aug 22, 7:24 pm)
Re: setting dscp or tos bits, Henning Brauer, (Thu Aug 23, 4:26 am)
Re: setting dscp or tos bits, David Newman, (Thu Aug 23, 1:38 pm)
Re: setting dscp or tos bits, Henning Brauer, (Thu Aug 23, 2:53 pm)
Re: setting dscp or tos bits , Theo de Raadt, (Thu Aug 23, 1:59 pm)
Re: setting dscp or tos bits, Stuart Henderson, (Thu Aug 23, 2:33 pm)
Re: setting dscp or tos bits, Stuart Henderson, (Thu Aug 23, 5:27 am)
Re: setting dscp or tos bits, Nick Guenther, (Wed Aug 22, 8:51 pm)
Re: setting dscp or tos bits, Henning Brauer, (Thu Aug 23, 4:28 am)
Re: setting dscp or tos bits, Chris Cappuccio, (Tue Aug 21, 10:31 pm)
Re: setting dscp or tos bits, David Newman, (Wed Aug 22, 7:12 pm)
speck-geostationary