traffic for port reported too low

Author: rchen9012Created Apr 2, 2019Updated Jun 25, 2019

Hi, I was playing youtube video to check port traffic output, but I found the traffic is too low for video streaming compare to that iptraf has reported. I checked source code the buffer is in []byte and which means addTraffic is also in byte. Is this correct? does it have anything to do with addTraffic int and trafficStats int64?

Source: shadowsocks/shadowsocks-go