pipewire/src
Christian F.K. Schaller ef4ff8cfd0 test: add AVB protocol test suite with loopback transport
Add a test suite for the AVB (Audio Video Bridging) protocol stack that
runs entirely in software, requiring no hardware, root privileges, or
running PipeWire daemon.

The loopback transport (avb-transport-loopback.h) replaces raw AF_PACKET
sockets with in-memory packet capture, using a synthetic MAC address and
eventfd for protocol handlers that need a valid fd.

Test utilities (test-avb-utils.h) provide helpers for creating test
servers, injecting packets, advancing time, and building ADP packets.

Tests cover:
- ADP entity available/departing/discover/timeout
- MRP attribute lifecycle (create, begin, join)
- Milan v1.2 mode server creation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 07:43:19 +00:00
..
daemon docs: remove support for absolute paths from docs 2026-04-06 14:47:21 +02:00
examples impl-node: accept more node.passive values 2026-03-12 17:25:36 +01:00
gst pipewiresrc: fix wait_negotiated from change_state 2026-03-16 17:08:44 +00:00
modules test: add AVB protocol test suite with loopback transport 2026-04-09 07:43:19 +00:00
pipewire port: improve parsing of passive modes 2026-04-08 14:07:57 +02:00
tests stream: return -EIO when doing get_time in != STREAMING 2026-02-12 12:26:33 +01:00
tools tools: clean up the preset filter code 2026-04-08 15:01:11 +02:00
meson.build meson.build: fix compile with -Dexamples=disabled 2023-11-28 10:18:25 +00:00