home/categories/framework-internals/cassamajor-xcnf-claude-skills-ebpf-attach-hook-skill-md
framework-internalsdevelopment

ebpf-attach-hook

Implement eBPF program attachment logic for various hooks (XDP, TC/tcx, netkit, kprobe, tracepoint, cgroup) with proper error handling, cleanup, and link management. Includes Go code using cilium/ebpf library. Use when attaching CNF programs to kernel hooks.

cassamajor
maintainer
cassamajor
更新於 11/24/2025
星標
1
分支
0
quick start

Installation and usage

Implement eBPF program attachment logic for various hooks (XDP, TC/tcx, netkit, kprobe, tracepoint, cgroup) with proper error handling, cleanup, and link management. Includes Go code using cilium/ebpf library. Use when attaching CNF programs to kernel hooks.

安裝
$ install --globalskills.sh
使用

安裝後,您可以通過在終端運行以下命令來使用此技能:

skills use ebpf-attach-hook