[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEf4BzYP4BDMLRkGDRKukq7-P4SKdJpx6gGfw4mPUQcQ77Ts+A@mail.gmail.com>
Date: Fri, 8 May 2020 12:48:22 -0700
From: Andrii Nakryiko <andrii.nakryiko@...il.com>
To: Yonghong Song <yhs@...com>
Cc: Andrii Nakryiko <andriin@...com>, bpf <bpf@...r.kernel.org>,
Martin KaFai Lau <kafai@...com>,
Networking <netdev@...r.kernel.org>,
Alexei Starovoitov <ast@...com>,
Daniel Borkmann <daniel@...earbox.net>,
Kernel Team <kernel-team@...com>
Subject: Re: [PATCH bpf-next v3 17/21] tools/libpf: add offsetof/container_of
macro in bpf_helpers.h
On Wed, May 6, 2020 at 10:40 PM Yonghong Song <yhs@...com> wrote:
>
> These two helpers will be used later in bpf_iter bpf program
> bpf_iter_netlink.c. Put them in bpf_helpers.h since they could
> be useful in other cases.
>
> Signed-off-by: Yonghong Song <yhs@...com>
> ---
Not sure #ifndef/#endif guards are needed, but won't hurt either.
Acked-by: Andrii Nakryiko <andriin@...com>
> tools/lib/bpf/bpf_helpers.h | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
[...]
Powered by blists - more mailing lists