]> git.ipfire.org Git - thirdparty/suricata.git/commit
source-xf-xdp: update for deprecated function in libbpf
authorJason Ish <jason.ish@oisf.net>
Wed, 22 Mar 2023 21:13:46 +0000 (15:13 -0600)
committerVictor Julien <vjulien@oisf.net>
Fri, 24 Mar 2023 05:28:54 +0000 (06:28 +0100)
commit744759b0c9582fb88a785e621693c903e714c633
treec552736f365fda27f1e046ce6c02a525273a70ac
parentd4418034d1c30c0bdc9d267895a3d95cac7a1951
source-xf-xdp: update for deprecated function in libbpf

libbpf 0.8 deprecates bpf_get_link_xpd_id, and 1.0 removes it. Add
./configure check to see if this method is available and use it if so,
otherwise use the deprecated method which is not available on older
but still supported Linux distributions.

Ticket: #5924
configure.ac
src/source-af-xdp.c