adding parser code for all packet types for calculating utilization and throughput