Prefix packet types with code, and move them to an enum