Displaying 2 results from an estimated 2 matches for "adsl_high".
2004 Oct 04
0
building module with tcng
...module?
i did it as shown below ... module gets built but i cannot load it.
thanks
charles
ps -- sorry, don''t know c++ :-)
[root]# cat /etc/tcng.test
#define LAN "eth0"
#define LAN_INGRESS 750000
#define LAN_EGRESS 750000
dev LAN {
egress {
class ( <$adsl_high> ) if 1;
htb ( ) { class ( rate LAN_EGRESS kbps, ceil LAN_EGRESS kbps ) {
$adsl_high = class ( prio 1, rate LAN_EGRESS kbps, burst
6kB, ceil LAN_EGRESS kbps )
{ sfq ( perturb 10 sec ); };
}
}
}
}
[root]# tcc -t c < /etc/tc...
2004 Aug 02
2
tcng + NAT
Does anybody know how to you use tcng with packet marking. I''m masquerading my connection so to shape outbound traffic I need to mark packets with iptables. But how to you make tcng to recognize marked packets?
Thanks for your help.