Exit if packet type is unknown.