From: "Stas Oskin" Date: Mon, 18 Jun 2007 18:10:52 +0000 Subject: [LARTC] Fwd: police burst is mandatory? Message-Id: <77938bc20706181110ne4a3a76hd26a5bcdb404ab11@mail.gmail.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============1209282024==" List-Id: To: lartc@vger.kernel.org --===============1209282024== Content-Type: multipart/alternative; boundary="----=_Part_75579_29685962.1182190252834" ------=_Part_75579_29685962.1182190252834 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi. I'm using the following filter from lartc "ultimate PPP" example: tc filter add dev $DEV parent ffff: protocol ip prio 50 u32 match ip src \ 0.0.0.0/0 police rate ${DOWNLINK}kbit burst 10k drop flowid :1 It works fine, but when I remove the "burst 10k", I receive the following error: "burst" requires "rate". Illegal "police" AFAIK, burst is how many bytes can be transferred over "rate" up to "ceil" and is an optional parameter, but here it is mandatory? Also, shouldn't the "ceil" parameter absence make this parameter useless? Thanks, Stas. ------=_Part_75579_29685962.1182190252834 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi.

I'm using the following filter from lartc "ultimate PPP" example:
tc filter add dev $DEV parent ffff: protocol ip prio 50 u32 match ip src \


0.0.0.0/0 police rate ${DOWNLINK}kbit burst 10k drop flowid :1
It works fine, but when I remove the "burst 10k", I receive the following error:

"burst" requires "rate".
Illegal "police"

AFAIK, burst is how many bytes can be transferred over "rate" up to "ceil" and is an optional parameter, but here it is mandatory? Also, shouldn't the "ceil" parameter absence make this parameter useless?

Thanks,
Stas.
------=_Part_75579_29685962.1182190252834-- --===============1209282024== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============1209282024==--