Restructuring of packet protocol