ebpf-packet-parser

Community

Generate eBPF packet parsing logic

Authorcassamajor
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the generation of verifier-safe eBPF code for parsing network packets, simplifying the development of network functions in CNFs.

Core Features & Use Cases

  • Protocol Parsing: Handles Ethernet, IPv4, IPv6, TCP, UDP, and ICMP protocols.
  • Bounds Checking: Ensures all memory accesses are safe and compliant with eBPF verifier rules.
  • Data Extraction: Extracts key fields like IPs, ports, and flags.
  • Use Case: When developing a CNF that needs to inspect or classify network traffic at high speeds, use this Skill to generate the necessary eBPF parsing logic.

Quick Start

Use the ebpf-packet-parser skill to generate eBPF C code for parsing IPv4 and TCP headers from an XDP context.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ebpf-packet-parser
Download link: https://github.com/cassamajor/xcnf/archive/main.zip#ebpf-packet-parser

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.