eBPF for Windows
Loading...
Searching...
No Matches
Data Fields
_ebpf_verifier_map_info Struct Reference

Per-instruction map annotation from the verifier. For map helper calls where the verifier can prove which map is being used, this carries the map identity and type information. More...

#include <ebpf_api.h>

Data Fields

uint32_t instruction_offset
 BPF program counter of the CALL instruction.
 
int32_t helper_id
 Helper function ID (e.g., BPF_FUNC_map_lookup_elem).
 
const char * map_name
 Map name from ELF (NULL if ambiguous).
 
uint32_t map_type
 Map type (e.g., BPF_MAP_TYPE_ARRAY).
 
uint32_t value_size
 Map value size in bytes.
 
uint32_t max_entries
 Map maximum entries.
 
bool is_inner_map_template
 True if this map is only an inner map template.
 

Detailed Description

Per-instruction map annotation from the verifier. For map helper calls where the verifier can prove which map is being used, this carries the map identity and type information.

Field Documentation

◆ helper_id

int32_t _ebpf_verifier_map_info::helper_id

Helper function ID (e.g., BPF_FUNC_map_lookup_elem).

◆ instruction_offset

uint32_t _ebpf_verifier_map_info::instruction_offset

BPF program counter of the CALL instruction.

◆ is_inner_map_template

bool _ebpf_verifier_map_info::is_inner_map_template

True if this map is only an inner map template.

◆ map_name

const char* _ebpf_verifier_map_info::map_name

Map name from ELF (NULL if ambiguous).

◆ map_type

uint32_t _ebpf_verifier_map_info::map_type

Map type (e.g., BPF_MAP_TYPE_ARRAY).

◆ max_entries

uint32_t _ebpf_verifier_map_info::max_entries

Map maximum entries.

◆ value_size

uint32_t _ebpf_verifier_map_info::value_size

Map value size in bytes.


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