Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement Real-time Network Traffic Visualization in Console
- Introduced a Tokio task for processing incoming PacketInfo using a HashMap. - Implemented periodic display updates using prettytable-rs and crossterm. - Shared PacketInfo table between tasks with Arc<Mutex> for thread safety. - Adjusted display logic to show top 10 entries with IpProtocol, source and destination addresses/ports, and count. - Sorted PacketInfo entries by frequency for effective visualization.
- Loading branch information