updated packet_header2 by using tcm_type rather than code_type and mod_type