Re: [PATCH bpf-next 1/2] libbpf: add support for using AF_XDP sockets
From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2018-12-12 00:48:40
From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2018-12-12 00:48:40
On 12/10/2018 04:34 PM, Magnus Karlsson wrote: [...]
diff --git a/tools/lib/bpf/libbpf.map b/tools/lib/bpf/libbpf.map index cd02cd4..0dc79c8 100644 --- a/tools/lib/bpf/libbpf.map +++ b/tools/lib/bpf/libbpf.map@@ -124,3 +124,15 @@ LIBBPF_0.0.1 { local: *; }; +LIBBPF_0.0.2 { + global: + xsk_peek_cons; + xsk_release_cons; + xsk_reserve_prod; + xsk_submit_prod; + xsk_get_data; + xsk_create_umem; + xsk_create_xdp_socket; + xsk_delete_umem; + xsk_delete_xdp_socket; +} LIBBPF_0.0.1;\ No newline at end of file
Given there was no kernel released with libbpf.map, we could just place it under 0.0.1 as well.