1 | initial version |
Basically, the statistics is only counting the packet bytes associated with each layer and not the payload of each layer.
To understand the implementation better, it may help to go back to Bug 1885. I disagreed with the implementation back then (as noted in Comment 4), and I still disagree with it today.