uBPF
Loading...
Searching...
No Matches
Data Fields
ubpf_safe_helper_descriptor Struct Reference

Safe-profile metadata describing a helper and the shape of its return value. More...

#include <ubpf.h>

Data Fields

unsigned int index
 
const char * name
 
external_function_t fn
 
enum ubpf_safe_helper_result_kind result_kind
 
uint32_t region_id
 
uint64_t region_size
 

Detailed Description

Safe-profile metadata describing a helper and the shape of its return value.

Pointer and handle results must identify the region they belong to. For pointer results, region_size describes the dereferenceable window starting at the returned address.

Field Documentation

◆ fn

external_function_t ubpf_safe_helper_descriptor::fn

◆ index

unsigned int ubpf_safe_helper_descriptor::index

◆ name

const char* ubpf_safe_helper_descriptor::name

◆ region_id

uint32_t ubpf_safe_helper_descriptor::region_id

◆ region_size

uint64_t ubpf_safe_helper_descriptor::region_size

◆ result_kind

enum ubpf_safe_helper_result_kind ubpf_safe_helper_descriptor::result_kind

The documentation for this struct was generated from the following file: