Tariq,

You simply need to copy the source code to your click/elements/standard
directory and recompile.

This is a sample script that shows how the element can be used.

src :: RatedSource(\<0800>, LENGTH 1500, RATE 8333, LIMIT 100000, ACTIVE
true)
    -> ctr1 :: AverageCounter    
    -> lq :: LinkUnqueue(LATENCY 5ms, BANDWIDTH 100Mbps, BER 1e-5)
    -> ctr2 :: AverageCounter
    -> Discard;

Roman

On 7:00 am 04/08/10 Rameez Tariq <[email protected]> wrote:
> Hi Roman,
> 
> I am very intrigued by your LinkUnqueue element but I am relatively new
> to Click as I come from a power engineering background. Therefore I
> just have a brief question, how do I add this element onto click so I
> can use it when coding?
> 
> Thanks,
> 
> Tariq
> 
> ________________________________________
> From: [email protected] [[email protected]]
On Behalf Of [email protected] [[email protected]]
>  Sent: 08 April 2010 01:15
> To: [email protected]
> Subject: [Click] LinkUnqueue BER parameter
> 
> Hello,
> 
> I modified the LinkUnqueue element to use a BER parameter.  The element
> now looks at the size of the incoming packet and computes the drop
> probability in case of at least a single bit corruption.
> 
> LinkUnqueue(10ms, 10Mbps, 1e-5)
> 
> This will now create a link that adds 10ms delay, shapes the bandwidth
> to 10Mbps, and on average corrupts one bit out of 1e5 bits.  Larger
> packets will experience higher drop rates than smaller packets as there
> is a higher chance of a bit corruption.
> 
> I am sure some people might find this useful, so I am posting this to
> the list.
> 
> Roman

_______________________________________________
click mailing list
[email protected]
https://amsterdam.lcs.mit.edu/mailman/listinfo/click

Reply via email to