pellegre / libcrafter

A high level C++ network packet sniffing and crafting library.
298 stars 88 forks source link

added FreeBSD Compatibility #60

Open DaVieS007 opened 2 years ago

DaVieS007 commented 2 years ago

Minor adjustments to comply with FreeBSD clang. Requirements: autoconf + clang

FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe)
Target: x86_64-unknown-freebsd13.0
Thread model: posix

Untested yet but compiles fine. Use of BPF same as Apple - which is very similar to FreeBSD - looks fine for me.