Re: [PATCH] tools include: Add __sum16 and __wsum definitions.

2021-03-08 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 08, 2021 at 02:37:32PM +0100, Daniel Borkmann escreveu: > On 3/7/21 11:30 PM, Ian Rogers wrote: > > This adds definitions available in the uapi version. > > > > Explanation: > > In the kernel include of types.h the uapi version is included. > > In tools the uapi/linux/types.h and linux

Re: [PATCH] tools include: Add __sum16 and __wsum definitions.

2021-03-08 Thread Daniel Borkmann
On 3/7/21 11:30 PM, Ian Rogers wrote: This adds definitions available in the uapi version. Explanation: In the kernel include of types.h the uapi version is included. In tools the uapi/linux/types.h and linux/types.h are distinct. For BPF programs a definition of __wsum is needed by the generate