packet-interface

Route Ethernet packets across interfaces with VLAN and PCP priority handling.

2|Updated Sep 15, 2023
One-click install
npx skills add https://github.com/open-watt/openwatt --skill packet-interface
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: packet-interface
Source: https://github.com/open-watt/openwatt/tree/main/.claude/skills/packet-interface
Command: npx skills add https://github.com/open-watt/openwatt --skill packet-interface

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Defines a modular packet routing architecture to standardize how interfaces, bridges, and VLANs handle Ethernet frames, separating the abstract API from concrete implementations.

Core Features & Use Cases

  • BaseInterface abstraction for forward/dispatch, asynchronous lifecycle, and subscriber model.
  • Packet model with VLAN PCP/DEI priority support and a pluggable header layout for protocol stacking.
  • PriorityPacketQueue for 802.1p-based scheduling and in-flight tracking to ensure deterministic delivery across diverse networks.
  • Use cases include building Zigbee, Modbus, or Ethernet interface layers that require layered packaging, priority handling, and reliable transport.

Quick Start

Create your own interface by implementing a BaseInterface and wire it to a PriorityPacketQueue to begin routing packets.

Frequently Asked Questions about packet-interface

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does VLAN-aware packet routing handle priority scheduling?

PriorityPacketQueue uses 802.1p PCP and DEI fields to schedule Ethernet frames, ensuring deterministic packet delivery across bridges and stacked network interfaces.

How do I build a custom network interface for layered protocol stacking?

Implement the BaseInterface abstraction for asynchronous forward and dispatch operations, then wire it to a PriorityPacketQueue to route packets with async lifecycle management.

Can I use this packet interface architecture for Zigbee or Modbus networks?

Yes, this architecture supports building Zigbee, Modbus, or Ethernet interface layers requiring layered packaging, priority handling, and reliable transport across diverse networks.

What is the best way to separate abstract packet routing APIs from concrete implementations?

Use a modular packet routing architecture with a BaseInterface abstraction to separate the abstract API from concrete implementations, standardizing how interfaces and bridges handle Ethernet frames.

How does the pluggable header layout support protocol stacking for network packets?

The Packet model uses a pluggable header layout to support protocol stacking, modularly encapsulating VLAN PCP/DEI priority data within diverse Ethernet frame structures.

When do I need asynchronous lifecycle management for packet routing?

Asynchronous lifecycle management is required in multi-layered interface stacking scenarios where deterministic delivery, priority handling, and reliable transport must be maintained across bridges.