david415 / HoneyBadger

Quantum Insert detector/recorder
GNU General Public License v3.0
305 stars 39 forks source link

improve optional compile ethernet sniffer coding style #76

Closed david415 closed 9 years ago

david415 commented 9 years ago

Last night, I explained to Mischief that I had to write dummy ethernet sniffers to get honeybadger to build because I have sniffers that only build on certain architectures...

Instead we should have a map specify which ethernet sniffer instances to instantiate in which architecture/platform... That way... if you build on say, FreeBSD... we will not need a dummy AF_PACKET sniffer. AF_PACKET is Linux only... and is only imported when building on Linux.