All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] TCC parse error.
@ 2003-12-09 18:38 Artūras Šlajus
  2003-12-09 19:01 ` Artūras Šlajus
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Artūras Šlajus @ 2003-12-09 18:38 UTC (permalink / raw)
  To: lartc

<stdin>:59: invalid type conversion (expected size in bytes instead of rate) near ")"
line 59:
$monika = class ( rate 8kbps, ceil 240kbps, burst 6kBps ) { sfq ( perturb 10sec ); };

any ideas?
-- 
Sincerely, Artūras 'arturaz' Šlajus
You can find me at:
irc.freenode.org: nick arturaz
irc.data.lt: nick arturaz
ICQ: 157929934
Jabber: arturaz@akl.lt

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LARTC] TCC parse error.
  2003-12-09 18:38 [LARTC] TCC parse error Artūras Šlajus
@ 2003-12-09 19:01 ` Artūras Šlajus
  2003-12-09 19:06 ` Martin A. Brown
  2003-12-09 19:34 ` Martin A. Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Artūras Šlajus @ 2003-12-09 19:01 UTC (permalink / raw)
  To: lartc

Artūras Šlajus wrote:

> $monika = class ( rate 8kbps, ceil 240kbps, burst 6kBps ) { sfq ( 
> perturb 10sec ); };
Oh, you need to use kB kb or whatever... :/
-- 
Sincerely, Artūras 'arturaz' Šlajus
You can find me at:
irc.freenode.org: nick arturaz
irc.data.lt: nick arturaz
ICQ: 157929934
Jabber: arturaz@akl.lt

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LARTC] TCC parse error.
  2003-12-09 18:38 [LARTC] TCC parse error Artūras Šlajus
  2003-12-09 19:01 ` Artūras Šlajus
@ 2003-12-09 19:06 ` Martin A. Brown
  2003-12-09 19:34 ` Martin A. Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Martin A. Brown @ 2003-12-09 19:06 UTC (permalink / raw)
  To: lartc

Arturaz,

To me, the error is clearly reported and identified, but perhaps you
overlooked it.

 : <stdin>:59: invalid type conversion \
 :        (expected size in bytes instead of rate) near ")"
                      ^^^^^^^^^^^^^^^^^^^^^
 : line 59:
 : $monika = class ( rate 8kbps, ceil 240kbps, burst 6kBps )
 :                                         { sfq ( perturb 10sec ); };

Try this instead:

 $monika = class ( rate 8kbps, ceil 240kbps, burst 6kB )
                                           { sfq ( perturb 10sec ); };

burst is a bucket size in bits (b) or bytes (B).

-Martin

-- 
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LARTC] TCC parse error.
  2003-12-09 18:38 [LARTC] TCC parse error Artūras Šlajus
  2003-12-09 19:01 ` Artūras Šlajus
  2003-12-09 19:06 ` Martin A. Brown
@ 2003-12-09 19:34 ` Martin A. Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Martin A. Brown @ 2003-12-09 19:34 UTC (permalink / raw)
  To: lartc

Arturaz,

 : > $monika = class ( rate 8kbps, ceil 240kbps, burst 6kBps ) { sfq (
 : > perturb 10sec ); };
 : Oh, you need to use kB kb or whatever... :/

Yes.  People on this list will be quite happy to help you in a variety of
ways.  Please do us all a courtesy of reading the error messages and
making an effort to read the docs [0] and the LARTC FAQ [1] before sending
a message to the list.

Thank you,

-Martin

 [0] http://linux-ip.net/gl/tcng/
 [1] http://www.docum.org/stef.coene/qos/faq/cache/

-- 
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-12-09 19:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-09 18:38 [LARTC] TCC parse error Artūras Šlajus
2003-12-09 19:01 ` Artūras Šlajus
2003-12-09 19:06 ` Martin A. Brown
2003-12-09 19:34 ` Martin A. Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.