[PATCH 2/9] detstats(): use new struct pkt_hdr