https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121420
--- Comment #1 from Sam James <sjames at gcc dot gnu.org> --- The header does: #ifdef __clang__ #define ___bpf_field_ref1(field) (field) #define ___bpf_field_ref2(type, field) (___bpf_typeof(type)->field) #else #define ___bpf_field_ref1(field) (&(field)) #define ___bpf_field_ref2(type, field) (&(___bpf_typeof(type)->field)) #endif which comes from https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=12bbcf8e840f40b82b02981e96e0a5fbb0703ea9