[Click] AutoRateFallback element

Amita Ekbote amita.ekbote at gmail.com
Sun Feb 21 18:12:53 EST 2010


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


More information about the click mailing list