e65831686c
Gateway traffic now contributes to the shared TunnelStats model. The gateway counts Ethernet frames sent to the relay, Ethernet frames received from the relay, incoming relay datagrams, dropped datagrams, and malformed frames. Expose a gateway stats snapshot and send it to the relay over the same reliable post-handshake Stats control stream used by clients. The Linux bridge loop sends periodic stats snapshots as diagnostics; send failures are logged instead of bringing down the bridge because stats are observational. The gateway relay-session test now has the server decode a Stats event before shutdown, so the stats control path is covered without a close race. Test Plan: - cargo fmt --check - cargo test -p lanparty-gateway \ connects_to_relay_control_stream_as_gateway -- --nocapture - cargo test -p lanparty-gateway - cargo clippy -p lanparty-gateway --all-targets -- -D warnings - cargo test --workspace - cargo clippy --workspace --all-targets -- -D warnings - git diff --check Refs: PLAN.md