A single captured packet can carry several protocols. On the Linux desktop, Wireshark's Protocol Hierarchy shows which protocols occur in a capture and how they are nested.
A frame carrying HTTP over TCP counts toward both rows in the Packets column, so adding the percentages across layers can give more than 100%. The Bytes column farther to the right shows how much data Wireshark attributes to each row.
An active display filter limits the hierarchy to matching packets. The label below the tree shows the filter in use, which can explain why a protocol is missing or its count is lower than expected.
Steps to view protocol hierarchy in Wireshark:
Start with your saved capture open in Wireshark. The example uses web-traffic.pcapng, which contains HTTP over TCP, with an empty display filter bar.
- Open the Statistics menu above the packet list.

- Choose Protocol Hierarchy from the Statistics menu.

- Confirm that your protocol has the expected Packets count under its carrier in the tree.
In web-traffic.pcapng, Hypertext Transfer Protocol appears under Transmission Control Protocol with 70 in the Packets column.