Displaying 1 result from an estimated 1 matches for "pc_user_r".
Did you mean:
cpu_user_r
2004 Jun 28
0
fairnat with squid + Squid with ZPH
...o-port
3128
$BIN_IPT -t mangle -A PREROUTING -p tcp -d 192.69.221.130 -j
TOS --set-tos Minimize-Delay
$BIN_IPT -t mangle -A PREROUTING -p tcp -s 192.69.221.130 -j
TOS --set-tos Minimize-Delay
[...snip...]
}
[...snip...]
function parent_class_default
{
PC_DEV=$1
PC_RATE=$2
PC_USER_RATE=$3
PC_USER_CEIL=$4
PC_LOCAL_RATE=$5
PC_LOCAL_CEIL=$6
# Root QDisc:
$BIN_TC qdisc add dev $PC_DEV root handle 1: htb default 3
# Main (fat) device class:
$BIN_TC class add dev $PC_DEV parent 1: classid 1:2 \
htb rate $(($PC_RATE))bps ceil $(($PC_RAT...