[Click] AutoRateFallback element
Yongheng Qi
jetever at gmail.com
Sun Feb 21 19:21:36 EST 2010
Thanks ,I want to use the AutoRate element too, could you help me?
Where get this element src, thanks.
On 2/22/10, Amita Ekbote <amita.ekbote at gmail.com> wrote:
> Hey,
>
> I have been trying to get this element to work and have not been successful
> so far, the click script is written below..
>
> src :: ICMPPingSource( ... )
>
> rates::AvailableRates(<mac addrss> 2 11 12 22 48 72 108)
>
> arf :: AutoRateFallback(OFFSET 4, RT rates, ACTIVE true )
>
> FromDevice(ath0, OUTBOUND true) -> [1] arf
>
> src ->
> EtherEncap( 0x0800 , <src mac> , <recvr mac>)
> -> WifiEncap(2, <src mac> )
> -> AthdescEncap()
> -> Queue()
> -> [0] arf
> -> ToDevice(ath0)
>
> I get the following error,
> rates: lookup called with NULL eth!
> click: ../include/click/vector.hh: 55: T& Vector<T>::operator[](int) [with T
> = int]: Assertion `(unsigned) i < (unsigned) _n' failed.
> Aborted
>
> I am not sure where to set the EtherAddress. Any help/suggestions/examples
> would be really helpful .
>
> Thanks!
>
>
>
>
>
> --
> Amita Ekbote
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
--
Sent from my mobile device
Yongheng Qi
Mobile: +86 1390 119 7481
More information about the click
mailing list