Expand description
Program loading and execution APIs.
This module contains the core logic for eBPF program execution. A lot of
unsafe code is used - be careful when making changes here.
Structs§
- Dummy
Program Event Listener - No-op event listener implementation.
- Global
Env - Global runtime environment for signal handlers.
- Helper
Scope - Context passed to helpers while a program is executing.
- Invoke
Scope - Per-invocation storage for helper state during a program run.
- Mutable
User Memory - A validated mutable view into user memory.
- Program
- A program pinned to a specific thread and ready to execute.
- Program
Loader - Prepares helper tables and loads eBPF programs.
- Thread
Env - Per-thread runtime environment for preemption handling.
- Timeslice
Config - Time limits used to yield or throttle execution.
- Unbound
Program - A loaded program that is not yet pinned to a thread.
Traits§
- Program
Event Listener - Hooks for observing program execution events.
- Timeslicer
- Async runtime integration for yielding and sleeping.
Type Aliases§
- Async
Task Output - The callback produced by a helper async task when it resumes.
- Pending
Async Task - A pending async task spawned by a helper.