Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/BtfResolvedFunctions.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,9 @@ typedef struct _btf_resolved_function_data
} btf_resolved_function_data_t;

// Proposed extension to include/bpf2c.h program_runtime_context_t.
// The existing header field is omitted here for brevity.
typedef struct _program_runtime_context
{
ebpf_native_module_header_t header;
helper_function_data_t* helper_data;
map_data_t* map_data;
global_variable_section_data_t* global_variable_section_data;
Expand Down
1 change: 1 addition & 0 deletions docs/MultipleLoadNativeModule.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ The `program_runtime_context_t` must include BTF-resolved function addresses:
```c
typedef struct _program_runtime_context
{
ebpf_native_module_header_t header;
helper_function_data_t* helper_data;
map_data_t* map_data;
global_variable_section_data_t* global_variable_section_data;
Expand Down
2 changes: 2 additions & 0 deletions docs/NativeCodeGeneration.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ typedef struct _global_variable_section_data

typedef struct _program_runtime_context
{
ebpf_native_module_header_t header;
helper_function_data_t* helper_data;
map_data_t* map_data;
global_variable_section_data_t* global_variable_section_data;
Expand Down Expand Up @@ -258,6 +259,7 @@ typedef struct _btf_resolved_function_data

typedef struct _program_runtime_context
{
ebpf_native_module_header_t header;
helper_function_data_t* helper_data;
map_data_t* map_data;
global_variable_section_data_t* global_variable_section_data;
Expand Down
Loading