Displaying 1 result from an estimated 1 matches for "stop_inbound_tc".
2006 Aug 15
5
howto reduce the ping?
...$INBOUND_DEV parent 1:0 protocol ip prio 3 handle 3 fw
classid 1:30
#default
tc class add dev $INBOUND_DEV parent 1:1 classid 1:90 htb rate 30kbps ceil
30kbps prio 4
#fetch all incoming stuff and redirect it to imq0
iptables -t mangle -A PREROUTING -i ppp0 -j IMQ --todev 0
}
stop_inbound_tc()
{
echo "Stopping inbound tc"
tc qdisc del dev $INBOUND_DEV root 2> /dev/null > /dev/null
tc qdisc del dev $INBOUND_DEV ingress 2> /dev/null > /dev/null
}
stop_inbound_iptables()
{
echo "Stopping inbound iptables"
#css
iptables -t mangle...