* feat: add tcx and bpf token tutorials
* docs: auto-generate documentation
* docs: rewrite tcx and bpf_token tutorials with richer content and consistent style
Rewrote all 4 README files (EN/ZH for both tutorials) to match the
existing tutorial style with detailed background, full code listings,
step-by-step explanations, comparison tables, and proper references.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* style: replace em dashes with colons, commas, and parentheses
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs: auto-generate documentation
* ci: add tcx and bpf_token builds to CI; simplify execl in token_userns_demo
- Add make targets for src/50-tcx and src/features/bpf_token to the
test-libbpf CI workflow.
- Replace four separate execl() calls with a single execv() using a
dynamically built argv array, reducing complexity and eliminating
CodeFactor command-injection false positives.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* ci: fix mkdocs path in trigger-sync workflow
Use .venv/bin/mkdocs instead of bare mkdocs, since make install
puts it inside a virtualenv.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: LinuxDev9002 <linuxdev8883@example.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
- Implement BPF program for TC ingress using dynptrs to safely parse packet headers and manage variable-length ringbuf records.
- Create user-space loader for the BPF program, allowing configuration of blocked ports and snapshot lengths for TCP payloads.
- Define necessary data structures and constants in header file for both BPF and user-space contexts.
- Add a comprehensive test script to validate functionality, including basic packet capture and port blocking tests.
- Created SUMMARY.md.template and SUMMARY.zh.md.template for eBPF tutorial.
- Updated generate_toc.py to generate table of contents for English and Chinese versions.
- Added configuration files for new eBPF examples, categorizing them by level and type.
- Updated SUMMARY.md and SUMMARY.zh.md to reflect new lessons and reorganized sections.
- Introduced new features related to GPU and tracing in the tutorial.