get_protocol_hierarchy
Analyze protocol distribution in a packet capture to see breakdown by packet count and bytes, similar to Wireshark's protocol hierarchy view.
Instructions
Analyze protocol distribution in a packet capture.
Use this tool to see the breakdown of protocols by packet count and bytes. Similar to Wireshark's protocol hierarchy view.
Args: file_path: Path to the pcap or pcapng file max_packets: Maximum packets to analyze (default: 100000)
Returns: Protocol hierarchy with packet counts, bytes, and percentages
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| max_packets | No |