https://github.com/h0x0er/ebpf-snippets
Code-snippets for developing eBPF programs
https://github.com/h0x0er/ebpf-snippets
ebpf ebpf-programs snippets-collection vscode-snippets
Last synced: 8 months ago
JSON representation
Code-snippets for developing eBPF programs
- Host: GitHub
- URL: https://github.com/h0x0er/ebpf-snippets
- Owner: h0x0er
- License: mit
- Created: 2025-08-15T12:50:45.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-08-15T15:24:04.000Z (8 months ago)
- Last Synced: 2025-08-15T15:35:22.215Z (8 months ago)
- Topics: ebpf, ebpf-programs, snippets-collection, vscode-snippets
- Homepage:
- Size: 75.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eBPF Snippets
Code-snippets for developing eBPF programs

# Install
## Within vscode
- Search for `@category:"snippets" ebpf-snippets` in extensions and click `install`
OR
- Install using `ext install`

## From github-release
1. GOTO latest [release](https://github.com/h0x0er/ebpf-snippets/releases) and download the `vsix` file.

2. In vscode, hit `ctrl+shift+p`,
1. type `install from vsix` hit-enter, then
2. choose the downloaded `vsix file`

**Enjoy :)**
## References
- https://docs.ebpf.io/
- https://docs.kernel.org/bpf/libbpf/program_types.html
## Contribution
Improvements to **eBPF-snippets** are always welcome !
If you’d like to contribute, feel free to open an issue or submit a pull request.