Setting up packets.