diff --git a/bpf__helpers_8h_source.html b/bpf__helpers_8h_source.html index d3b15baac9..2371b193b3 100644 --- a/bpf__helpers_8h_source.html +++ b/bpf__helpers_8h_source.html @@ -108,7 +108,7 @@
49 #endif
50 
51 #if !defined(__doxygen)
-
52 #define EBPF_HELPER(return_type, name, args) typedef return_type(*name##_t) args
+
52 #define EBPF_HELPER(return_type, name, args) typedef return_type(*const name##_t) args
53 #endif
54 
55 #include "bpf_helper_defs.h"
diff --git a/ebpf__nethooks_8h_source.html b/ebpf__nethooks_8h_source.html index 2e83091fb0..a8defd516c 100644 --- a/ebpf__nethooks_8h_source.html +++ b/ebpf__nethooks_8h_source.html @@ -103,7 +103,7 @@
42 #define XDP_EXT_HELPER_FN_BASE 0xFFFF
43 
44 #ifndef __doxygen
-
45 #define EBPF_HELPER(return_type, name, args) typedef return_type(*name##_t) args
+
45 #define EBPF_HELPER(return_type, name, args) typedef return_type(*const name##_t) args
46 #endif
47 
48 typedef enum