Displaying 2 results from an estimated 2 matches for "red_max".
2009 Mar 02
0
[PATCH 5 of 13] exploiting the new interface in vnc.c
...buffer byte per pixel */
int has_resize;
int has_hextile;
int has_pointer_type_change;
@@ -214,10 +217,7 @@
/* current output mode information */
VncWritePixels *write_pixels;
VncSendHextileTile *send_hextile_tile;
- int pix_bpp, pix_big_endian;
- int red_shift, red_max, red_shift1, red_max1;
- int green_shift, green_max, green_shift1, green_max1;
- int blue_shift, blue_max, blue_shift1, blue_max1;
+ DisplaySurface clientds, serverds;
VncReadEvent *read_handler;
size_t read_handler_expect;
@@ -351,10 +351,10 @@
{
VncState *vs = ds->op...
2004 Jun 13
1
[Help] IMQ download traffic is duplicated !?
...rent 1:2 classid 1:99 htb rate $[D_LIMIT-$VOIP]kbit prio 5
# all get Enchanced Stochastic Fairness (depending on dst ip), excet the default class (red):
tc qdisc add dev $TC_D_INT parent 1:20 handle 20: esfq perturb 10 hash dst
# Red setting /5 to make latency 200ms
RED_MAX=$[($D_LIMIT*1000/8)/5]
RED_MIN=$[$RED_MAX/3]
RED_LIMIT=$[$RED_MAX*8]
RED_AVPKT=1000
tc qdisc add dev $TC_D_INT parent 1:99 handle 99: red bandwidth ${D_LIMIT} \
probability 0.02 limit ${RED_LIMIT} min ${RED_MIN} max ${RED_MAX} \
avpkt...