Added a structure for the packets