zephyr-netbuf
CommunityMaster Zephyr's net_buf subsystem for efficient data handling.
Software Engineering#networking#embedded#zephyr#fragmentation#buffer management#protocol parsing#net_buf
Authorksachdeva
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Facilitates comprehensive understanding and effective utilization of Zephyr's net_buf memory management library to optimize networking, Bluetooth, and USB data handling.
Core Features & Use Cases
- Pool Management: Guides creation and configuration of buffer pools with fixed or variable sizes for different application scenarios.
- Buffer Lifecycle: Details allocation, reference counting, resetting, and freeing of net_buf structures to ensure proper memory management.
- Data Operations: Explains methods for adding, removing, pushing, and pulling data within buffers, handling endian conversions, and managing fragment chains.
- Fragmentation Handling: Covers chain creation, traversal, linearization, and chain manipulation for large or segmented packets.
- Application Examples: Demonstrates constructing network packets, reassembling received fragments, and protocol parsing strategies.
Quick Start
Learn how to allocate buffers, manipulate data efficiently, and manage fragmented data structures within Zephyr's net_buf framework.
Dependency Matrix
Required Modules
None requiredComponents
references/api.mdreferences/fragmentation.mdreferences/operations.md
💻 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: zephyr-netbuf Download link: https://github.com/ksachdeva/zephyr-rtos-ai/archive/main.zip#zephyr-netbuf Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.