trema/trema — Issue #162: show_stats packet octet count inconsistent with send_packet
Author: nickkaranatsios
Created: 2012-02-21 23:54:22+00:00
State: open
Labels: Bug

The show_stats does not take into account the Ethernet header when counting packet bytes. For example although send_packet by default sends a packet of size 64 bytes the show_stats's n_octets field shows only 50 bytes.

Example:
ip_dst,tp_dst,ip_src,tp_src,n_pkts,n_octets
192.168.0.2,1,192.168.0.1,1,1,50