From mboxrd@z Thu Jan 1 00:00:00 1970 From: Donald Gordon Date: Tue, 31 Dec 2002 06:07:54 +0000 Subject: [LARTC] [tcng] More complex example? Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hi I'm completely stuck with the tcng language - I assume there must be some way to arrange queues hierachically like eth1 | TBF | PRIO / \ class class but my attempt (below) produces a "inferno.tc:8: qdisc "tbf" has no classes near "prio"" when run through tcc. dev eth1 { egress { tbf (rate 128kbps, burst 64kb, limit 64kb, mtu 1510B) { prio (bands 2) { $ssh_fast = SLB(cir 32kbps, cbs 3kB); class if ((tcp_sport = 22 || tcp_dport = 22) && SLB_ok($ssh_fast)); class if 1; } } } } Are there any examples of tcng scripts that do something slightly more complex than those in the tcng tarball? don _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/