[PATCH 1/7] refactor struct pkt_hdr initialization