[Click] Newbie question with regards to modifying bandwidth limits

Eddie Kohler kohler at cs.ucla.edu
Fri Jul 8 17:21:38 EDT 2011


Hi mcd,

Much later... I imagine you figured out how to access elements' handlers via 
the /click file system.  /click/NAMEOFELEMENT/NAMEOFHANDLER.  For example, if 
you have a BandwidthShaper element named "shape", you could say

    echo 2Mbps > /click/shape/rate

to change its rate to 2Mbps.

Eddie


On 9/2/09 9:28 AM, blues man wrote:
> Hello,
>
> What's the best way to dynamically access and modify bandwidth usage, packet
> drops etc. on bandwidth limiting elements running in kernel mode (e.g.
> BandwidthShaper)? It's through a socket, IIRC. I'm pretty sure I saw it
> somewhere in the documentation, but I can't seem to find it now. It's got to
> work in kernel mode.
>
> Thanks,
> mcd
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list