Activation of element handlers in ToDevice element

Jakub Dudek <[email protected]> Fri, 30 Aug 2013 12:33:59 +0200
Newsgroups gmane.network.routing.click
Message-ID <CAAVMy+JK6nAV1CjQ50N0WX1u5deFb7G-_ktAv8W=Za+FvRHncQ@mail.gmail.com>
Hi All,

I want to activate optional handlers in ToDevice element by uncomment above
lines:

#define CLICK_DEVICE_CYCLES 1
#define CLICK_DEVICE_PRFCTR 1

During compilation I get errors:

...todevice.cc: In member function 'virtual void Todevice::add_handlers()'

...tidevuce.cc:613: error: no matching function for call to
'ToDevice::add_read_handler(const char [12], Handler:DeprecatedFlags,
click_cycles_t*)'

..element.hh:161: note: canditates are: void Element:add_read_handler(const
String&, String (*)(Element*, void*),int, uint32_t)

Do you have any ideas how to solve this issue?

Or is there some other way to measure inactivity of NIC link?

Thanks!
Kuba