LibtraceTeam / libtrace

C Library for working with network packet traces
GNU Lesser General Public License v3.0
155 stars 50 forks source link

libbpf deprecated methods for XDP #204

Closed salcock closed 1 year ago

salcock commented 2 years ago

libbpf 0.7 has deprecated a whole bunch of XDP-related API methods -- these APIs are now implemented by libxdp (https://github.com/xdp-project/xdp-tools).

To account for this, we will need to:

Ideally, by the time we get around to this, there will be examples of other projects who have dealt with this -- at the time of writing, this is not the case :(

Reference: https://lore.kernel.org/bpf/87mtms86e9.fsf@toke.dk/T/

salcock commented 2 years ago

Update: the deprecated APIs have now become removed APIs with the release of libbpf 1.0.

Best approach now is most likely:

salcock commented 1 year ago

I think this is resolved now.