Displaying 1 result from an estimated 1 matches for "tos_zero".
Did you mean:
is_zero
2004 Sep 06
0
example/dsmark+policing => tcsim outputs are different
...----------
>>> ---------- start of dsmark+policing.tcsim file: ----------
/*
* dsmark+policing - Dsmark with tcindex and policing
*
* Packets with non-zero TOS/DS field are marked with TOS 0xb8 (EF DSCP).
* If they exceed the rate limit, they''re dropped.
*/
#define TOS_ZERO UDP_HDR($ip_tos=0)
#define TOS_NONZERO UDP_HDR($ip_tos=1)
#define PAYLOAD 0 x 980 /* 1000-sizeof(iphdr) = 980 bytes */
dev eth0 10000 { /* 10 Mbps */
#include "dsmark+policing.tc"
}
every 0.005s send TOS_ZERO PAYLOAD /* 1.6 Mbps */
every 0.005s send TOS_NONZERO PAYLOAD /* 1.6 Mbps...