Skip to content
  • Beniamino Galvani's avatar
    build: allow disabling eBPF support in n-acd · 691c71a7
    Beniamino Galvani authored
    Add a configure option to disable eBPF support in n-acd.
    
    Note that, even if eBPF is not supported, n-acd requires a kernel >
    3.19, which means that the setsockopt(..., SO_ATTACH_BPF) option must
    be defined. To allow building on older kernels without modifying the
    n-acd code, we inject the SO_ATTACH_BPF value as a preprocessor define
    in the compiler the command line.
    691c71a7