NETMAP macro is broken: not working as expected

I am working on a network packet capture application at line rate. I have developed a sample application which is working but it seems NETMAP_BUF and other macros don't work as expected. When I do a manual calculation of a buffer address it's different than the one calculated by the macro. Any suggestions?

Thanks,
hm
 
Back
Top