How microsoft/etl2pcapng works
etl2pcapng is a Windows command-line converter that turns ETL packet captures from ndiscap or pktmon into pcapng for Wireshark and other analysis tools. The user supplies an ETL file and output path; the converter interprets events, tracks capture interfaces, and writes packet and provider-event data. Documented output capabilities include interface metadata, packet identifiers and drop verdicts, and systemd journal export blocks. The single large source file is only partially excerpted, so internal dispatch and call relationships not shown there are omitted or left unverified.
Main entry points: main.c CLI converter
Components 12
Conversion
- CLI converter
src/main.c - Interface tracking
src/main.c
Event decoding
- Event decoding
src/main.c - pktmon events
src/main.c - RAS events
src/main.c
Output
- Interface blocks
src/main.c - Packet blocks
src/main.c - Provider events
src/main.c
Other components
- Engineer
- ETL capture
- pcapng file
- Wireshark
Connections 13
- Engineer → CLI converter: runs
README.md - ETL capture → CLI converter: converts
README.md - CLI converter → Event decoding: processes events
src/main.c - Event decoding → pktmon events: decodes
src/main.c - Event decoding → RAS events: decodes
src/main.c - Event decoding → Interface tracking: tracks interfaces
src/main.c - CLI converter → Interface blocks: writes interfaces
README.md - CLI converter → Packet blocks: writes packets
README.md - CLI converter → Provider events: writes events
README.md - Interface blocks → pcapng file: adds blocks
- Packet blocks → pcapng file: adds blocks
- Provider events → pcapng file: adds blocks
- pcapng file → Wireshark: opens
README.md