Created a parser to parse a tcpdump packet into a packet struct.