diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-10-20 14:59:44 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-10-20 14:59:44 -0700 |
commit | 6e284bd2bc5690f48bee83435f75200ef1e71a6f (patch) | |
tree | b7efac2826f175523a617607cedc105dc6a61d3f /optimize.c | |
parent | 164dcd92b32a9de7f07973136303cb49445b5bf8 (diff) |
Work around Linuxes with net/bpf.h differently.
Make sure net/bpf.h not only exists but defines BIOCSETIF.
This way, if some system has Linux packet sockets *and* BPF, we still
choose BPF. Some systems might offer Linux packet sockets for
compatibility.
This also handles non-Linux systems that have net/bpf.h but don't have
BPF as a capture mechanism.
Diffstat (limited to 'optimize.c')
0 files changed, 0 insertions, 0 deletions