Switched packet handler switching code class