feat(client): log TAP frame movement
The relay and gateway already emit structured frame logs, but the Windows client only exposed aggregate counters. During the MVP end-to-end test that left a blind spot between TAP reads/writes and the relay datagram path. Add client-side frame log lines for accepted TAP-to-relay sends, relay-to-TAP writes, and local TAP-frame drops before relay send. The logs use the shared FrameLog vocabulary with TapToRelay and RelayToTap directions so the client, relay, and gateway logs can be correlated during DHCP, ARP, ping, and LAN-game discovery checks. Test Plan: - cargo test -p lanparty-client-win formats_client_frame_log_lines - cargo test -p lanparty-client-win - cargo fmt --check - cargo test --workspace - cargo clippy --workspace --all-targets -- -D warnings - git diff --check - git diff --cached --check Refs: MVP Windows client diagnostics
This commit is contained in:
@@ -246,6 +246,8 @@ Client health:
|
||||
```text
|
||||
Relay RTT: 23 ms
|
||||
Broadcast traffic flowing
|
||||
client frame direction=TapToRelay ... action=Forwarded drop_reason=-
|
||||
client frame direction=RelayToTap ... action=Forwarded drop_reason=-
|
||||
```
|
||||
|
||||
Drops that can be normal during testing:
|
||||
|
||||
Reference in New Issue
Block a user