[Click] Activation of element handlers in ToDevice element
Jakub Dudek
qubu88 at gmail.com
Fri Aug 30 06:33:59 EDT 2013
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
More information about the click
mailing list