Removed determinePacketType

No longer in use.